Fix StringIndexOutOfBoundsException with Class-File metadata
Prior to this commit, the new `ClassFileAnnotationMetadata` would fail
when reading `Class<T>` annotation attributes when values are primitive
types.
This commit uses `java.lang.constant.ClassDesc` to better parse type
descriptors from the bytecode.
Fixes gh-24882
@ -308,6 +308,14 @@ public abstract class AbstractAnnotationMetadataTests {
@@ -308,6 +308,14 @@ public abstract class AbstractAnnotationMetadataTests {
@ -445,12 +453,19 @@ public abstract class AbstractAnnotationMetadataTests {
@@ -445,12 +453,19 @@ public abstract class AbstractAnnotationMetadataTests {