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

Support --release within javax.tools.JavaFileManager

    Details

    • Type: Enhancement
    • Status: New
    • Priority: P3
    • Resolution: Unresolved
    • Affects Version/s: 9
    • Fix Version/s: None
    • Component/s: tools

      Description

      See the mail thread beginning here:
      http://mail.openjdk.java.net/pipermail/compiler-dev/2018-March/011736.html

      Right now, the format of the data in ct.sym, used to support --release, is not formally specified, and the data is only available indirectly via the unsupported internal PlatformProvider API, or within a compilation.

      It would generally be useful to other tools to be able to configure a file manager to be able to return the data in ct.sym as the platform or system classes (i.e. StandardLocation.PLATFORM_CLASS_PATH, StandardLocation.SYSTEM)

      This would be in line with the file manager supporting access to multi-release jars as well.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                jjg Jonathan Gibbons
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated: