javac returns different error code for certain failure(s)

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: P3
    • 7
    • Affects Version/s: 7
    • Component/s: 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

            Assignee:
            Maurizio Cimadamore
            Reporter:
            Steve Sides (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: