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

(jdeps) use @jdk.Exported to determine supported vs JDK internal API

    XMLWordPrintable

    Details

    • Type: Enhancement
    • Status: Resolved
    • Priority: P4
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 9
    • Component/s: tools
    • Labels:
      None
    • Resolved In Build:
      b23

      Backports

        Description

        The current implementation of jdeps reads ct.sym to determine if it is supported or JDK internal API. ct.sym is only generated for rt.jar and for the image build. This doesn't cover the APIs in tools.jar nor other classes not in rt.jar.

        In JDK 9, jigsaw will modularize the platform and declare exported APIs in the module metadata. The enhancement in jdeps should take that into account.

          Attachments

            Issue Links

              Activity

                People

                Assignee:
                mchung Mandy Chung
                Reporter:
                mchung Mandy Chung
                Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                  Dates

                  Created:
                  Updated:
                  Resolved: