Skip to content

Commit b717a76

Browse files
committed
endpoints - Provided test reproducing issue on annotation processing error when using a parameterized class in annotations value
1 parent 0e201fd commit b717a76

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

restx-samplest/src/main/java/samplest/annotations/MyAnnotation.java

+1
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@
1616
// Complex types
1717
String aString();
1818
Class aClass();
19+
Class<? extends Number> aParameterizedTypeClass();
1920
MyEnum anEnum();
2021

2122
// Another annotation

restx-samplest/src/main/java/samplest/core/CoreResource.java

+1
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,7 @@ public String deleteHello(String who) {
7373
// Complex types
7474
aString="AAA{\\\"'$AA",
7575
aClass=CoreResource.class,
76+
aParameterizedTypeClass=Long.class,
7677
anEnum=MyEnum.A,
7778

7879
// Another annotation

0 commit comments

Comments
 (0)