Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.8.0
    • Fix Version/s: 1.8.1
    • Component/s: None
    • Labels:
      None

      Description

      For this code:

      class Foo {
          static interface A{}
          static interface B{} // (1)
          static class Inner<X> {}
          static Inner<A> method() {} // (2)
      }
      
      println new Foo()
      

      This error is received:

      java.lang.ClassFormatError: Duplicate entry in InnerClasses in class file Foo
      

      Removing either the declaration of B at (1) or the Generics attribute <A> on the type Inner at (2) will avoid the error.

        Attachments

          Activity

            People

            • Assignee:
              paulk Paul King
              Reporter:
              paulk Paul King
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: