RFR: 8305990: Stripping debug info of ASM 9.5 fails [v2]
Adam Sotona
asotona at openjdk.org
Wed Apr 19 13:06:20 UTC 2023
> Classfile API didn't handle transformations of class files version 50 and below correctly.
>
> Proposed fix have two parts:
> 1. Inflation of branch targets does not depend on StackMapTable attribute presence for class file version 50 and below. Alternative fallback implementation is provided.
> 2. StackMapTable attribute is not generated for class file versions below 50.
>
> StackMapsTest is also extended to test this patch.
>
> Please review.
>
> Thanks,
> Adam
Adam Sotona has updated the pull request incrementally with one additional commit since the last revision:
DiscontinuedInstruction implementation + test
-------------
Changes:
- all: https://git.openjdk.org/jdk/pull/13478/files
- new: https://git.openjdk.org/jdk/pull/13478/files/b47bc7e5..78be462a
Webrevs:
- full: https://webrevs.openjdk.org/?repo=jdk&pr=13478&range=01
- incr: https://webrevs.openjdk.org/?repo=jdk&pr=13478&range=00-01
Stats: 363 lines in 10 files changed: 328 ins; 14 del; 21 mod
Patch: https://git.openjdk.org/jdk/pull/13478.diff
Fetch: git fetch https://git.openjdk.org/jdk.git pull/13478/head:pull/13478
PR: https://git.openjdk.org/jdk/pull/13478
More information about the core-libs-dev
mailing list