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

Christian Tornqvist christian.tornqvist at oracle.com
Wed Feb 12 17:10:47 UTC 2014


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/38149efe/attachment.html 


More information about the hotspot-runtime-dev mailing list