RFR: 8365060: Historical data for JDK 8 should include the jdk.net package [v2]

Jan Lahoda jlahoda at openjdk.org
Thu Aug 28 14:04:02 UTC 2025


> In JDK 8, the package `jdk.net` was exported and part of `rt.jar`, and hence should have been part of the historical data for `--release`, but it is not. The primary goal of this PR is to add historical data for `jdk.net` for JDK 8.
> 
> The changes herein are based on JDK 8u462. I used the Probe running on JDK 8 to dump the classfiles, along these lines:
> 
> $ java -classpath .../make/langtools/src/classes/ build.tools.symbolgenerator.Probe /tmp/jdk8-classfiles
> 
> 
> and then the up-to-date `CreateSymbols` to generate the `sym.txt` files, along these lines:
> 
> java --add-exports jdk.compiler/com.sun.tools.javac.api=ALL-UNNAMED --add-exports jdk.compiler/com.sun.tools.javac.util=ALL-UNNAMED  CreateSymbols.java build-description-incremental-file .../src/jdk.compiler/share/data/symbols/symbols .../src/jdk.compiler/share/data/symbols/include.list 8 /tmp/jdk8-classfiles '<none>' --normalize-method-flags
> 
> 
> There are a few APIs that have been added for this release, and a few representational changes.
> 
> Most notably - the ordering of "removal" entries (i.e. those that start with `-`) and "add" entries is much more strict in the current `CreateSymbols`, and so there are some changes where the removal entries are moved to the front. I went through those, and they seem OK to me.
> 
> I'll add specific comments to the other updates to the files.

Jan Lahoda has updated the pull request incrementally with one additional commit since the last revision:

  Adjusting formatting as suggested.

-------------

Changes:
  - all: https://git.openjdk.org/jdk/pull/26817/files
  - new: https://git.openjdk.org/jdk/pull/26817/files/2fb1fd8f..8b718cdd

Webrevs:
 - full: https://webrevs.openjdk.org/?repo=jdk&pr=26817&range=01
 - incr: https://webrevs.openjdk.org/?repo=jdk&pr=26817&range=00-01

  Stats: 7 lines in 1 file changed: 2 ins; 4 del; 1 mod
  Patch: https://git.openjdk.org/jdk/pull/26817.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/26817/head:pull/26817

PR: https://git.openjdk.org/jdk/pull/26817


More information about the compiler-dev mailing list