jBullet compiling issue with JStackAlloc [SOLVED]

So downloaded latest jBullet (Release 20101010) and I’ve been trying to get it to compile but I’m stuck on this error:

[quote]java.lang.IllegalStateException: first parameter of Stack.alloc(Class) must be constant (in class com.bulletphysics.collision.dispatch.ConvexConcaveCollisionAlgorithm, method processCollision)
[/quote]
It occurs during JStackAlloc’s instrumentation phase of the compile, processing this snippet (I assume, that’s the only calls to that method in the named method):


concaveShape.processAllTriangles(
        btConvexTriangleCallback,
        btConvexTriangleCallback.getAabbMin(Stack.alloc(Vector3f.class)),
        btConvexTriangleCallback.getAabbMax(Stack.alloc(Vector3f.class)));

Now it seems to me that the first parameter IS constant and the instrumentation source code is a bit beyond my knowledge so I’m at something of a loss.

Thanks for any help you can give.

EDIT: The problem sort of resolved itself - see the 4th post for detail.