[11] RFR(XS) 8206952: java/lang/Class/GetPackageBootLoaderChildLayer.java fails with Graal

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

[11] RFR(XS) 8206952: java/lang/Class/GetPackageBootLoaderChildLayer.java fails with Graal

Vladimir Kozlov
https://bugs.openjdk.java.net/browse/JDK-8206952

Don't run the test with Graal because --limit-modules flag excludes Graal module:

diff -r 1835f9fca157 test/jdk/java/lang/Class/GetPackageBootLoaderChildLayer.java
--- a/test/jdk/java/lang/Class/GetPackageBootLoaderChildLayer.java
+++ b/test/jdk/java/lang/Class/GetPackageBootLoaderChildLayer.java
@@ -23,6 +23,7 @@

  /**
   * @test
+ * @requires !vm.graal.enabled
   * @modules jdk.attach
   * @run main/othervm --limit-modules jdk.attach -Djdk.attach.allowAttachSelf
   *    GetPackageBootLoaderChildLayer

Thanks,
Vladimir
Reply | Threaded
Open this post in threaded view
|

Re: [11] RFR(XS) 8206952: java/lang/Class/GetPackageBootLoaderChildLayer.java fails with Graal

Mandy Chung
+1

Mandy

On 7/9/18 10:04 PM, Vladimir Kozlov wrote:

> https://bugs.openjdk.java.net/browse/JDK-8206952
>
> Don't run the test with Graal because --limit-modules flag excludes
> Graal module:
>
> diff -r 1835f9fca157
> test/jdk/java/lang/Class/GetPackageBootLoaderChildLayer.java
> --- a/test/jdk/java/lang/Class/GetPackageBootLoaderChildLayer.java
> +++ b/test/jdk/java/lang/Class/GetPackageBootLoaderChildLayer.java
> @@ -23,6 +23,7 @@
>
>   /**
>    * @test
> + * @requires !vm.graal.enabled
>    * @modules jdk.attach
>    * @run main/othervm --limit-modules jdk.attach
> -Djdk.attach.allowAttachSelf
>    *    GetPackageBootLoaderChildLayer
>
> Thanks,
> Vladimir
Reply | Threaded
Open this post in threaded view
|

Re: [11] RFR(XS) 8206952: java/lang/Class/GetPackageBootLoaderChildLayer.java fails with Graal

Vladimir Kozlov
In reply to this post by Vladimir Kozlov
Thank you, Katya

Vladimir

On 7/9/18 10:03 PM, Ekaterina Pavlova wrote:

> Good. Thanks for fixing!
>
> -katya
>
> On 7/9/18 10:04 PM, Vladimir Kozlov wrote:
>> https://bugs.openjdk.java.net/browse/JDK-8206952
>>
>> Don't run the test with Graal because --limit-modules flag excludes Graal module:
>>
>> diff -r 1835f9fca157 test/jdk/java/lang/Class/GetPackageBootLoaderChildLayer.java
>> --- a/test/jdk/java/lang/Class/GetPackageBootLoaderChildLayer.java
>> +++ b/test/jdk/java/lang/Class/GetPackageBootLoaderChildLayer.java
>> @@ -23,6 +23,7 @@
>>
>>   /**
>>    * @test
>> + * @requires !vm.graal.enabled
>>    * @modules jdk.attach
>>    * @run main/othervm --limit-modules jdk.attach -Djdk.attach.allowAttachSelf
>>    *    GetPackageBootLoaderChildLayer
>>
>> Thanks,
>> Vladimir
>