Skip to content

Commit eb21a9e

Browse files
committed
More type fixes wrt #1604 verification
1 parent 536e58d commit eb21a9e

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/test/java/com/fasterxml/jackson/failing/NestedTypes1604Test.java

+4-1
Original file line numberDiff line numberDiff line change
@@ -38,12 +38,15 @@ public DataList(List<T> data) {
3838
}
3939
}
4040

41-
public static class RefinedDataList<T> extends Data<List<T>> {
41+
// And then add one level between types
42+
public static class RefinedDataList<T> extends DataList<T> {
4243
public RefinedDataList(List<T> data) {
4344
super(data);
4445
}
4546
}
4647

48+
// And/or add another type parameter that is not relevant (less common
49+
// but potential concern)
4750
public static class SneakyDataList<BOGUS,T> extends Data<List<T>> {
4851
public SneakyDataList(List<T> data) {
4952
super(data);

0 commit comments

Comments
 (0)