RFR 8154182: Fix java/lang/Class/getDeclaredField/FieldSetAccessibleTest.java to only use available modules

Alan Bateman Alan.Bateman at oracle.com
Thu Apr 14 14:27:37 UTC 2016


On 13/04/2016 18:29, Alexandre (Shura) Iline wrote:
> Hi,
>
> Could you be so kind to take a look on this fix:
> http://cr.openjdk.java.net/~shurailine/8154182/webrev.00/
>
What would you think of having this test run with `-addmods ALL-SYSTEM` 
instead? Your patch is okay but it will mean that the test won't 
exercise getDeclaredFields on the EE module, at least not when we bring 
the changes in jake to JDK 9. This option can be used with `-limitmods`.

Another test like this is VerifyModuleDelegation. In both cases the 
tests have been changed to run with `-addmods ALL-SYSTEM` in jake.

-Alan


More information about the jigsaw-dev mailing list