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

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

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: P3 P3
    • tbd
    • 9
    • tools
    • jar

      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.

            psandoz Paul Sandoz
            anazarov Andrey Nazarov (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated: