Known Change: Compiler checks for class access on import statement

XMLWordPrintable

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

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

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: