On 2010-09-19 20.07, Niclas Hedhman wrote:
Rickard,I am getting the following Exception when building on the OPS4J server with JDK 1.5.0_22; createClass(org.qi4j.test.ASMTest) Time elapsed: 0.011 sec<<< ERROR! java.lang.ArrayIndexOutOfBoundsException: 1792 at org.objectweb.asm.ClassReader.readLabel(Unknown Source) at org.objectweb.asm.ClassReader.a(Unknown Source) at org.objectweb.asm.ClassReader.accept(Unknown Source) at org.qi4j.test.ASMTest.createClass(ASMTest.java:53) It does not happen on my Mac/JDK1.6. The test seem to be related to QI-256 (its name is used), and the asserts are turned off. Since we are so dependent on ASM, I don't feel comfortable about ignoring this. Please advice.
Hm... this is weird. I tried building Qi4j on my Mac, using 1.5. No problems :-( I would have expected it to crash, if it is related to 1.5 issues. If you have any idea how to reproduce on a Mac, I'm very interested.
As you say, the test failure seems related to QI-256, but only because it uses the mixin from there. Since all other tests run fine, it should be ok. For me, if we can't get this sorted, I'd be ok with changing the reference to the mixin in the test, and go through with the release.
/Rickard _______________________________________________ qi4j-dev mailing list [email protected] http://lists.ops4j.org/mailman/listinfo/qi4j-dev

