RFR: 8333749: Consolidate ConstantDesc conversion in java.base [v5]

Chen Liang liach at openjdk.org
Fri Jun 7 12:35:37 UTC 2024


> In java.base, especially in bytecode generators, we have many different methods converting known valid Class and MethodType into ClassDesc and MethodTypeDesc. These conversions should be consolidated into the same utility method for the ease of future maintenance.

Chen Liang has updated the pull request incrementally with one additional commit since the last revision:

  One other place can use wrapperClassDescriptor

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

Changes:
  - all: https://git.openjdk.org/jdk/pull/19585/files
  - new: https://git.openjdk.org/jdk/pull/19585/files/69af091a..e9ddc398

Webrevs:
 - full: https://webrevs.openjdk.org/?repo=jdk&pr=19585&range=04
 - incr: https://webrevs.openjdk.org/?repo=jdk&pr=19585&range=03-04

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

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


More information about the core-libs-dev mailing list