(@modules documentation)

Alan Bateman Alan.Bateman at oracle.com
Thu May 26 10:16:43 UTC 2016



On 26/05/2016 10:52, Seán Coffey wrote:
> Was our OpenJDK documentation ever updated to highlight the @modules 
> change for JDK 9 ? Could we edit the developer's guide[1] to highlight 
> the @modules tag [2]. The current doc states that an @bug tag should 
> be supplied. It would help to document why/when an @modules tag would 
> be required also.
>
> [1] http://openjdk.java.net/guide/changePlanning.html
> [2] http://openjdk.java.net/jtreg/tag-spec.html
The tag-spec was updated but I don't think the implications for test 
selection have been documented elsewhere. The main thing is that we want 
to get to the point where you can create a runtime image with jlink and 
then invoke jtreg to execute the tests that are appropriate for that 
runtime. The jtreg command may of course need a -compilejdk as the 
runtime under test may not have the jdk.compiler module. If we get there 
then it means that the unmaintainable test groups in TEST.groups can be 
removed.

-Alan



More information about the core-libs-dev mailing list