RFR: JDK-8315575: Retransform of record class with record component annotation fails with CFE [v3]

Alex Menkov amenkov at openjdk.org
Wed Mar 13 19:37:15 UTC 2024


On Wed, 13 Mar 2024 04:29:38 GMT, Serguei Spitsyn <sspitsyn at openjdk.org> wrote:

>> Alex Menkov has updated the pull request incrementally with one additional commit since the last revision:
>> 
>>   removed attributes_count from RecordComponent
>
> test/jdk/java/lang/instrument/RetransformRecordAnnotation.java line 96:
> 
>> 94:         {
>> 95:             log("Test: retransform to null");
>> 96:             retransform(null);
> 
> Q: Could you add a comment why it is needed?

This is the test itself as described in the bug report - without the fix it fails with ClassFormatError

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

PR Review Comment: https://git.openjdk.org/jdk/pull/18161#discussion_r1523819348


More information about the hotspot-runtime-dev mailing list