On Thu, 20 Apr 2023 17:21:49 GMT, Adam Sotona <asot...@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
>
> Adam Sotona has updated the pull request incrementally with one additional 
> commit since the last revision:
> 
>   fixed stack counting of JSR instructions

I would like to separate this fix from follow-up enhancements, so I created new 
RFE [JDK-8306650](https://bugs.openjdk.org/browse/JDK-8306650).
This bug should be now fixed and the fix also covers Java 5 and older class 
files with JSR/RET instructions.

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

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

Reply via email to