Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8146486 Modular JARs as multi-release JARs
  3. JDK-8165644

jar tool can not build a modular multi-release jar with new public classes in concealed packages

XMLWordPrintable

    • Icon: Sub-task Sub-task
    • Resolution: Duplicate
    • Icon: P3 P3
    • None
    • 9
    • core-libs
    • None

      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

            sdrach Steve Drach (Inactive)
            sdrach Steve Drach (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: