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

javac returns different error code for certain failure(s)

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P3 P3
    • 7
    • 7
    • tools
    • b130
    • generic
    • generic
    • Verified

      Compiling reg test InterfaceInInner.java

      class InterfaceInInner {
          InterfaceInInner() {
              class foo {
                  interface A {
                  }
              }
          }
      }

      fails as expected but as of nightly build of 1/25/11 returns 4 instead of 1.
      This other reg tests which failed like this are
      AnonStaticMember_2.java and QualifiedNew.java

            mcimadamore Maurizio Cimadamore
            ssides Steve Sides
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: