RFR: 8310310: Migrate CreateSymbols tool in make/langtools to Classfile API

Chen Liang liach at openjdk.org
Mon Apr 7 21:28:39 UTC 2025


Migrates the CreateSymbols tool to use the ClassFile API, away from com.sun.tools.classfile.

Need the boot jdk `--with-boot-jdk=` to be 24; thus a draft for now; but this is open to reviews.

Together with #24206, the old com.sun.tools.classfile can be removed from the JDK.

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

Commit messages:
 - Merge branch 'master' of https://github.com/openjdk/jdk into feature/migrate-create-symbols
 - Other references to remove
 - Merge branch 'master' of https://github.com/openjdk/jdk into feature/migrate-create-symbols
 - FieldDescription.constantValue uses Integer for byte and short
 - 8310310: Migrate CreateSymbols tool in make/langtools to Classfile API

Changes: https://git.openjdk.org/jdk/pull/24212/files
  Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=24212&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8310310
  Stats: 1057 lines in 5 files changed: 42 ins; 696 del; 319 mod
  Patch: https://git.openjdk.org/jdk/pull/24212.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/24212/head:pull/24212

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


More information about the build-dev mailing list