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

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

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P3
    • tbd
    • 9
    • tools
    • 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

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

              Dates

                Created:
                Updated: