Fix annotation arrays support in ClassFile metadata
As of gh-33616, Spring now supports metadata reading with the ClassFile
API on JDK 24+ runtimes. This commit fixes a bug where
`ArrayStoreException` were thrown when reading annotation attribute
values for arrays.
Fixes gh-35252
@ -290,11 +290,11 @@ public abstract class AbstractAnnotationMetadataTests {
@@ -290,11 +290,11 @@ public abstract class AbstractAnnotationMetadataTests {
@ -454,13 +454,13 @@ public abstract class AbstractAnnotationMetadataTests {
@@ -454,13 +454,13 @@ public abstract class AbstractAnnotationMetadataTests {
@ -471,9 +471,9 @@ public abstract class AbstractAnnotationMetadataTests {
@@ -471,9 +471,9 @@ public abstract class AbstractAnnotationMetadataTests {
String[]names();
TestEnumcount();
TestEnum[]count();
Class<?>type();
Class<?>[]types();
SubAnnotationsubAnnotation();
}
@ -484,7 +484,15 @@ public abstract class AbstractAnnotationMetadataTests {
@@ -484,7 +484,15 @@ public abstract class AbstractAnnotationMetadataTests {