JDK-8157658 : Examine test coverage for Multi-Release Modular JARs
  • Type: Sub-task
  • Component: core-libs
  • Sub-Component: java.util.jar
  • Affected Version: 9
  • Priority: P4
  • Status: Resolved
  • Resolution: Not an Issue
  • Submitted: 2016-05-24
  • Updated: 2017-02-15
  • Resolved: 2017-02-15
Description
JDK-8156497 added support to the jar tool for creating and updating MRMJARs, and also some basic test coverage.
There are various other issues in progress that will make creating MRMJARs more straight forward; jar tool support 
for --runtime, and javac support. When these pieces are further along, then tools/jar/modularJar/Basic.java should be
re-examined to see if it can be simplified and the coverage extended.

Also, it was noted during the review of JDK-8156497 that the test hard codes the runtime version number to 9. This
should use Runtime.version().major() + 1 instead.
Comments
There are already a sufficient number of tests in the jdk repository for this feature.
15-02-2017

Need to develop tests for the entire tool chain including compiling (javac), packaging (jar tool), linking (jlink), and runtime (java).
07-09-2016