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

[TESTBUG] avoid using JDK symbols in ExtraSymbols.symbols.txt

    Details

    • Type: Enhancement
    • Status: Resolved
    • Priority: P4
    • Resolution: Fixed
    • Affects Version/s: 14
    • Fix Version/s: 14
    • Component/s: hotspot
    • Labels:
    • Subcomponent:
    • Resolved In Build:
      b22

      Description

      This file was originally generated by dumping symbols from a running JDK, so it contains many symbols from the JDK:

      http://hg.openjdk.java.net/jdk/jdk/file/94fe833a244b/test/hotspot/jtreg/runtime/cds/appcds/ExtraSymbols.symbols.txt

      This has caused confusions when developers are removing APIs from the JDK, and they are not sure if they should also remove the corresponding symbols in this file.

      (FYI, developers should simply leave this file alone when removing APIs from the JDK).

      There's no need to use actual JDK symbols in this file. So let's remove it and replace with logic in the test to auto-generate a file with a lot of symbols.

        Attachments

          Activity

            People

            • Assignee:
              iklam Ioi Lam
              Reporter:
              iklam Ioi Lam
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: