JDK-8165644 : jar tool can not build a modular multi-release jar with new public classes in concealed packages
  • Type: Sub-task
  • Component: core-libs
  • Affected Version: 9
  • Priority: P3
  • Status: Closed
  • Resolution: Duplicate
  • Submitted: 2016-09-07
  • Updated: 2016-09-28
  • Resolved: 2016-09-28
Related Reports
Duplicate :  
Description
jar tool can not build the following legal modular multi-release jar file because the validator won't validate the new public class q.Bar found in the versions/9 directory without a class with the same name in the base directory.  The package q is a concealed package.

META-INF/
META-INF/MANIFEST.MF
module-info.class
META-INF/versions/9/module-info.class
p/
p/Foo.class
p/Main.class
META-INF/versions/9/
META-INF/versions/9/p/
META-INF/versions/9/p/Foo.class
META-INF/versions/9/q/
META-INF/versions/9/q/Bar.class