kilim/kilim — Issue #9: tests fail with Java 7 preview on Mac
Author: Pyrolistical
Created: 2011-12-28 10:34:38+00:00
State: open

I installed the Java 7 preview from: http://jdk7.java.net/macportpreview/

Then I set `JAVA_HOME='/Library/Java/JavaVirtualMachines/JDK 1.7.0 Developer Preview.jdk/Contents/Home'`

Running:

ant clean all test

Returns
```testwoven:
[echo] Testing Tasks ======================
[java] .E.E.E.E.E.E.E.E.E.E.E.E.E.E.E.E.E.E.E.E.E.E.E.E.E.E.E.E.E.E.E.E
[java] Time: 0.009
[java] There were 32 errors:
[java] 1) testDupsInStack(kilim.test.TestYield)java.lang.VerifyError: Expecting a stackmap frame at branch target 18 in method kilim.Task.pause(Lkilim/PauseReason;Lkilim/Fiber;)V at offset 4
[java]	at kilim.test.TestYield.testDupsInStack(TestYield.java:43)
[java]	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[java]	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
[java]	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
[java] 2) testConstantsInStack(kilim.test.TestYield)java.lang.VerifyError: Expecting a stackmap frame at branch target 18 in method kilim.Task.pause(Lkilim/PauseReason;Lkilim/Fiber;)V at offset 4
[java]	at kilim.test.TestYield.testConstantsInStack(TestYield.java:47)
[java]	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[java]	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
[java]	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
... continue 30 more tests...
```