RFR: 8359707: Add classfile modification code to RedefineClassHelper [v8]
Coleen Phillimore
coleenp at openjdk.org
Fri Jun 27 11:37:30 UTC 2025
> I copied this code for another test in the Valhalla repo and thought it would be a good utility function. It might be better written using the Classfile API.
> Tested with test.
Coleen Phillimore has updated the pull request incrementally with one additional commit since the last revision:
Rename replaceAllStrings to replaceClassName and add back the byte buffer version of the function.
-------------
Changes:
- all: https://git.openjdk.org/jdk/pull/25857/files
- new: https://git.openjdk.org/jdk/pull/25857/files/21223e37..17b3b77b
Webrevs:
- full: https://webrevs.openjdk.org/?repo=jdk&pr=25857&range=07
- incr: https://webrevs.openjdk.org/?repo=jdk&pr=25857&range=06-07
Stats: 18 lines in 2 files changed: 13 ins; 1 del; 4 mod
Patch: https://git.openjdk.org/jdk/pull/25857.diff
Fetch: git fetch https://git.openjdk.org/jdk.git pull/25857/head:pull/25857
PR: https://git.openjdk.org/jdk/pull/25857
More information about the serviceability-dev
mailing list