Remove deprecated elements from ct.sym?

XMLWordPrintable

    • Type: Enhancement
    • Resolution: Won't Fix
    • Priority: P3
    • 7
    • Affects Version/s: 7
    • Component/s: tools
    • generic
    • generic

      In JDK 6, by default javac retrieves the bootclasspath information ct.sym instead of rt.jar. The ct.sym file represents a subset of rt.jar; classes just used to implement the JDK itself are hidden from ct.sym. Therefore, such classes are not available at compile time (a possible source incompatabilty), but they remain available at runtime (keeping binary compatability).

      It has been suggested (http://blogs.sun.com/darcy/entry/deprecation_in_the_jdk#comments) that deprecated elements be hidden during compilation but kept at runtime; the same difference currently supported by ct.sym.

      If that policy is provided as an option, ct.sym would be a fine mechanism to support it.

            Assignee:
            Unassigned
            Reporter:
            Joe Darcy
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: