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

MR jar API validator doesn't detect new public/protected inner classes.

    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 classes, compile and put them in base and v10 directories respectively
      public class C {
         public void m(){}
      }

      public class C {
         public class Inner{ public void k(){} }
         public void m(){}
      }

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

      jar tool exits successfully.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                psandoz Paul Sandoz
                Reporter:
                anazarov Andrey Nazarov
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated: