RFR(XXS): [TESTBUG] runtime/ClassFileUnsupportedClassFileVersion.java unable to find or load main class

Staffan Larsen staffan.larsen at oracle.com
Wed Feb 12 17:20:58 UTC 2014

Looks good!


On 12 feb 2014, at 18:10, Christian Tornqvist <christian.tornqvist at oracle.com> wrote:

> Small fix for an issue with the UnsupportedClassFileVersion test that was recently added. Turns out that the new option in ProcessTools to pass on VM options didn’t quite work as it should on Linux. The “test.vm.opts” will be empty when running without any extra arguments in JTreg which means that we’re passing an empty string to ProcessBuilder and this is a problem on Linux (and possibly other –ixes) but works fine on Windows.
> Thanks to Mikael Gerdin for helping me debug this.
> Webrev:
> http://cr.openjdk.java.net/~ctornqvi/webrev/8034781/webrev.00/
> Bug:
> https://bugs.openjdk.java.net/browse/JDK-8034781
> Ran (and passed) the test on all platforms using JPRT (yes I should’ve done this the first time… )
> Thanks,
> Christian

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.openjdk.java.net/pipermail/hotspot-runtime-dev/attachments/20140212/0ace3b99/attachment.html 

More information about the hotspot-runtime-dev mailing list