RFR 8181080/10, Refactor several sun/net shell tests to plain java tests

Alan Bateman Alan.Bateman at oracle.com
Tue Jun 6 08:25:36 UTC 2017



On 06/06/2017 09:15, Chris Hegarty wrote:
> :
>
> OtherResourcesTest.java is not strictly needed. You should be able to
> provide an appropriate @run tag to OtherResources.java directly, like:
>
>    @run main/othervm --limit-modules=java.base OtherResources
>
  As I recall, the reason we created this test a shell test, is because 
jtreg couldn't handle --limit-modules in the @run tag. So I agree we 
should go back to it and ideally just specify it to the @run tag as per 
your mail.

-Alan


More information about the core-libs-dev mailing list