Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8173370

MR jar API validator doesn't detect change if module becomes open

    Details

    • Type: Bug
    • Status: Open
    • Priority: P3
    • Resolution: Unresolved
    • Affects Version/s: 9
    • Fix Version/s: tbd
    • Component/s: tools
    • Subcomponent:
      jar

      Description

      Create two modules, compile and put them in base and v10 directories respectively
      module A { }
      open module A { }

      create MR jar
      jar cf file.jar -C base module-info.class,
                      --release 10 -C v10 module-info.class

      jar tool exits successfully.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                psandoz Paul Sandoz (Inactive)
                Reporter:
                anazarov Andrey Nazarov
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated: