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

Remove deprecated elements from ct.sym?

    Details

    • Type: Enhancement
    • Status: Closed
    • Priority: P3
    • Resolution: Won't Fix
    • Affects Version/s: 7
    • Fix Version/s: 7
    • Component/s: tools
    • Subcomponent:
    • CPU:
      generic
    • OS:
      generic

      Description

      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.

        Attachments

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved:
                Imported:
                Indexed: