On Tue, 1 Jun 2021 09:30:40 GMT, Jaroslav Tulach <github.com+26887752+jaroslavtul...@openjdk.org> wrote:
> There doesn't seem to be much support for the complete changes in #4245. To > get at least something useful from that endeavor I have extracted the test > for existing behavior of `-XX:+PreserveAllAnnotations` and I am offering it > in this pull request without any changes to the JVM behavior. test/jdk/java/lang/annotation/AnnotationType/AnnotationTypeChangedToRuntimeTest.java line 57: > 55: @AnnB > 56: public @interface AnnA_v2 { > 57: } You meant to write: "An alternative version of AnnA_v1 with RUNTIME retention instead", right? ------------- PR: https://git.openjdk.java.net/jdk/pull/4280