update on macosx build support for mlvm
Stephen Bannasch
stephen.bannasch at deanbrook.org
Sat Mar 3 20:51:41 PST 2012
At 8:14 PM -0800 3/3/12, John Rose wrote:
>On Mar 3, 2012, at 7:48 PM, Stephen Bannasch wrote:
>
>>Trying with the hsx/hotspot-comp forest I don't get nearly as far:
>>
>
>The messages about "unknown node" mean that your "rm -rf" did not succeed, or that in some other way there are stale .hg/patches/status files floating around from previous adventures.
>
>Instead of this:
> rm -rf sources
>
>try this:
> mv sources removed-sources-$$
> rm -rf removed-sources-$$
Yes ... that's a good strategy ...
The build completed now.
When I built with jdk8/tl all the jdk/test/java/lang/invoke/ tests passed.
But building with hsx/hotspot-comp and the mlvm patches only 5 out of 13 tests pass:
$ jtreg -XX:+UnlockExperimentalVMOptions -ignore:quiet -jdk:build/macosx-amd64/j2sdk-bundle/1.8.0.jdk/Contents/Home -v:summary jdk/test/java/lang/invoke/
Passed: java/lang/invoke/6987555/Test6987555.java
Passed: java/lang/invoke/6991596/Test6991596.java
Passed: java/lang/invoke/6998541/Test6998541.java
Passed: java/lang/invoke/CallSiteTest.java
Error: java/lang/invoke/ClassValueTest.java
Passed: java/lang/invoke/InvokeDynamicPrintArgs.java
Error: java/lang/invoke/InvokeGenericTest.java
Error: java/lang/invoke/JavaDocExamplesTest.java
Error: java/lang/invoke/MethodHandlesTest.java
Error: java/lang/invoke/MethodTypeTest.java
Error: java/lang/invoke/PermuteArgsTest.java
Error: java/lang/invoke/RicochetTest.java
Error: java/lang/invoke/ThrowExceptionsTest.java
Test results: passed: 5; error: 8
Let me know if additional info on the test results would be useful.
I'm also not able to run SwingSet2:
$ ./build/macosx-amd64/j2sdk-bundle/1.8.0.jdk/Contents/Home/bin/java -jar /Developer/Extras/Java/JFC/SwingSet2/SwingSet2.jar
Exception in thread "main" java.awt.HeadlessException
at sun.java2d.HeadlessGraphicsEnvironment.getDefaultScreenDevice(HeadlessGraphicsEnvironment.java:77)
at SwingSet2.main(SwingSet2.java:251)
Also, I thought coro used to be included with the guards: "buildable testable"
[sources ]$ ls jdk/test/java/dyn/CoroutineTest.java
ls: jdk/test/java/dyn/CoroutineTest.java: No such file or directory
I'll add "coro" and try again.
More information about the mlvm-dev
mailing list