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

Known Change: Compiler checks for class access on import statement

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P3 P3
    • 1.1.7
    • 1.2.0
    • docs
    • None
    • b01
    • generic
    • generic
    • Verified

      Known Change: In JDK 1.1, the javac compiler now checks for access to a class on the import statement, not just the first usage of the class. In JDK 1.1, the compiler only reported access errors on the first usage of the inaccessable class.

      JCT 1.0 Conformance tests affected:
      lang/errors/cant_access_class/class.java
      lang/errors/cant_access_class/interface.java

            asommere Alan Sommerer (Inactive)
            kasmithsunw Kevin Smith (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: