RFR: 8305990: Stripping debug info of ASM 9.5 fails

Adam Sotona asotona at openjdk.org
Tue Apr 18 08:38:46 UTC 2023


On Fri, 14 Apr 2023 14:02:46 GMT, Adam Sotona <asotona at openjdk.org> wrote:

> 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

Absence of support for jsr and ret is very important point and it is necessary to re-evaluate the fix completely.
Thanks!

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

PR Comment: https://git.openjdk.org/jdk/pull/13478#issuecomment-1512683242


More information about the core-libs-dev mailing list