RFR: 8364655: Loading class with nested annotations causes stack overflow in VM
Chen Liang
liach at openjdk.org
Tue Dec 16 15:48:03 UTC 2025
On Fri, 5 Dec 2025 07:39:00 GMT, Johan Sjölen <jsjolen at openjdk.org> wrote:
> The reason that the JVM parses these annotations is to gain access to a select few JDK-internal annotations
Apparently not so: the JVM parses `@Deprecated` and `@Deprecated(forRemoval=true)` from user class files for use by JFR. We should check whether JFR is ok with dropping some of these annotations.
-------------
PR Comment: https://git.openjdk.org/jdk/pull/28674#issuecomment-3661203773
More information about the hotspot-runtime-dev
mailing list