[lworld] RFR: 8274800: [lworld] Primitive classes can't be retransformed

Frederic Parain fparain at openjdk.java.net
Tue Dec 7 19:44:30 UTC 2021


On Sat, 4 Dec 2021 00:30:11 GMT, Alex Menkov <amenkov at openjdk.org> wrote:

> Fix for java.lang.instrument.Instrumentation.retransformClasses()
>
> Cases for retransformation primitive to identity (and identity to primitive) classes and changing primitive class fields (so default_value becomes invalid) are handled by existing code and spec changes are not required.
>
> Also added serviceability test to hotspot_valhalla group

Looks good to me.
Thank you for writing the test.

Fred

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

Marked as reviewed by fparain (Committer).

PR: https://git.openjdk.java.net/valhalla/pull/588




More information about the valhalla-dev mailing list