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

Serguei Spitsyn sspitsyn at openjdk.org
Wed Mar 13 21:02:39 UTC 2024


On Wed, 13 Mar 2024 19:34:17 GMT, Alex Menkov <amenkov at openjdk.org> wrote:

>> 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

Could you add a short comment, please?

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

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


More information about the serviceability-dev mailing list