On Tue, 18 Nov 2025 16:00:49 GMT, Chen Liang <[email protected]> wrote:

> 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.

This pull request has now been integrated.

Changeset: 7b11bd1b
Author:    Chen Liang <[email protected]>
URL:       
https://git.openjdk.org/jdk/commit/7b11bd1b1d8dbc9bedcd8cf14e78c8f5eb06a71f
Stats:     77 lines in 2 files changed: 52 ins; 10 del; 15 mod

8372047: ClassTransform.transformingMethodBodies andThen composes incorrectly

Reviewed-by: asotona

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

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

Reply via email to