Re: RFR(XS) 8184775: tools/launcher/modules/illegalaccess/IllegalAccessTest.java times out on some platforms…

Martin Buchholz martinrb at google.com
Fri Jul 28 21:17:47 UTC 2017


Won't this test fail with any "slow" VM, e.g. fastdebug, -Xint, etc ?


On Fri, Jul 28, 2017 at 2:05 PM, Leonid Mesnik <leonid.mesnik at oracle.com>
wrote:

> Hi
>
> Please review following small fix which excludes test
> tools/launcher/modules/illegalaccess/IllegalAccessTest.java from
> execution in Xcomp mode. Test launches about 100 VMs and fails when -Xcomp
> is used.
>
> Tested locally with and without adding -Xcomp option.
>
> Webrev: http://cr.openjdk.java.net/~lmesnik/8184775/webrev.00/ <
> http://cr.openjdk.java.net/~lmesnik/8184775/webrev.00/>
> Bug: https://bugs.openjdk.java.net/browse/JDK-8184775 <
> https://bugs.openjdk.java.net/browse/JDK-8184775>
> Diff:
> --- old/test/tools/launcher/modules/illegalaccess/IllegalAccessTest.java
>       2017-07-27 17:15:37.000000000 -0700
> +++ new/test/tools/launcher/modules/illegalaccess/IllegalAccessTest.java
>       2017-07-27 17:15:37.000000000 -0700
> @@ -23,6 +23,7 @@
>
>  /**
>   * @test
> + * @requires vm.compMode != "Xcomp"
>   * @modules java.base/jdk.internal.misc
>   *          java.base/sun.security.x509
>   *          java.activation
>
> Leonid


More information about the core-libs-dev mailing list