RFR: 8372047: ClassTransform.transformingMethodBodies andThen composes incorrectly [v2]
Chen Liang
liach at openjdk.org
Tue Nov 18 16:39:32 UTC 2025
> ClassMethodTransform and ClassFieldTransform are computing the chaining condition incorrectly - the composed transform should run when any of the component wants to run instead of when all copmonents want to run, and the actual content tranforms can only compose if they apply to the same set of method or fields. So we should restrict this "optimization" to same filters.
Chen Liang has refreshed the contents of this pull request, and previous commits have been removed. The incremental views will show differences compared to the previous content of the PR. The pull request contains one new commit since the last revision:
8372047: ClassTransform.transformingMethodBodies andThen composes incorrectly
-------------
Changes:
- all: https://git.openjdk.org/jdk/pull/28377/files
- new: https://git.openjdk.org/jdk/pull/28377/files/e1c0aad7..b5ac4fcf
Webrevs:
- full: https://webrevs.openjdk.org/?repo=jdk&pr=28377&range=01
- incr: https://webrevs.openjdk.org/?repo=jdk&pr=28377&range=00-01
Stats: 52 lines in 2 files changed: 20 ins; 12 del; 20 mod
Patch: https://git.openjdk.org/jdk/pull/28377.diff
Fetch: git fetch https://git.openjdk.org/jdk.git pull/28377/head:pull/28377
PR: https://git.openjdk.org/jdk/pull/28377
More information about the core-libs-dev
mailing list