RFR (XXS): 8150955: RandomValidCommandsTest.java fails with UnsatisfiedLinkError: sun.hotspot.WhiteBox.registerNatives

Pavel Punegov pavel.punegov at oracle.com
Fri Mar 4 16:34:31 UTC 2016


please review this small fix to the test bug. 

Issue: test fails to start because WhiteBox options were not specified. Test randomly generated only one command that was skipped. But appropriate VM options are always got from the Command enum together with options specific for a command. In the failing case VM started without any options.

Fix: make test replace invalid commands with a valid one.

webrev: http://cr.openjdk.java.net/~ppunegov/8150955/webrev.00/ <http://cr.openjdk.java.net/~ppunegov/8150955/webrev.00/>
bug:  https://bugs.openjdk.java.net/browse/JDK-8150955 <https://bugs.openjdk.java.net/browse/JDK-8150955>

— Thanks,
Pavel Punegov

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.openjdk.java.net/pipermail/hotspot-compiler-dev/attachments/20160304/f8d03190/attachment.html>

More information about the hotspot-compiler-dev mailing list