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

Serguei Spitsyn sspitsyn at openjdk.org
Wed Mar 13 23:43:38 UTC 2024


On Wed, 13 Mar 2024 23:25:55 GMT, Alex Menkov <amenkov at openjdk.org> wrote:

> But we have an issue here. if PreserveAllAnnotations is enabled and class has only RuntimeInvisibleAnnotations (no RuntimeVisibleAnnotations), the class constant pool does not contain "RuntimeVisibleAnnotations" and JvmtiClassFileReconstituter fails. I'll file a separate issue for this.

Nice catch. I felt there is something fishy there.

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

PR Comment: https://git.openjdk.org/jdk/pull/18161#issuecomment-1996100546


More information about the serviceability-dev mailing list