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

Alex Menkov amenkov at openjdk.org
Tue Mar 26 20:24:23 UTC 2024


On Tue, 26 Mar 2024 19:10:11 GMT, Coleen Phillimore <coleenp at openjdk.org> wrote:

>> Alex Menkov has updated the pull request incrementally with one additional commit since the last revision:
>> 
>>   added comment
>
> test/jdk/java/lang/instrument/RetransformRecordAnnotation.java line 30:
> 
>> 28:  *
>> 29:  * @library /test/lib
>> 30:  * @run shell MakeJAR.sh retransformAgent
> 
> Does the presence of attributes mean you can't use the simpler RedefineClassHelper that the tests in test/hotspot/jtreg/serviceability/jvmti/RedefineClasses use?

RedefineClassHelper supports only class redefinition, the test needs class retransformation.

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

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


More information about the serviceability-dev mailing list