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

javac improperly extends superclass's scope to implements clause

    XMLWordPrintable

Details

    • hopper
    • generic
    • solaris_7
    • Verified

    Description

      frog$ newjavac T.java
      + /net/frog/gafter/gjc-neal/build/solaris-sparc/bin/java -Xbootclasspath/p:/net/frog/gafter/gjc-neal/gjclasses2 -classpath /net/frog/gafter/gjc-neal/gjclasses2:/net/frog/gafter/gjc-neal/make/tools/javac/gjc.jar:/net/frog/gafter/gjc-neal/make/tools/javac/gjcmain.jar com.sun.tools.javac.Main T.java
      frog$
      frog$
      frog$ cat -n T.java
           1 class P {
           2 interface I {}
           3 }
           4
           5 class T extends P implements I { // error: no I in scope
           6 }
      frog$ javac1.4 T.java
      + /usr/local/java/jdk1.4.0/solsparc/bin/javac T.java
      frog$

      Attachments

        Activity

          People

            gafter Neal Gafter
            gafter Neal Gafter
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: