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

Vladimir Kozlov vladimir.kozlov at oracle.com
Fri Mar 4 17:09:19 UTC 2016

Looks good.


On 3/4/16 8:34 AM, Pavel Punegov wrote:
> Hi,
> 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/
> bug: https://bugs.openjdk.java.net/browse/JDK-8150955
> — Thanks,
> Pavel Punegov

More information about the hotspot-compiler-dev mailing list