Get rid of trivial allowFlexible replacing

As the type is anyway replaced with not-nullable version
explicitly, the only thing that changes is what type is loaded
for String[][].class:
- before it would be Array<Array<String?>?>
- now it's Array<(out) Array<(out) String!>!>

It's both a minor change and new behaviour can be considered
as correct
This commit is contained in:
Denis Zharkov
2017-06-06 17:42:14 +03:00
parent 58442e7b8b
commit a0268d23bb
3 changed files with 3 additions and 3 deletions

View File

@@ -5,6 +5,6 @@ public class ClassObjectArrayInParam {
Class<?>[] value();
}
@Anno({ClassObjectArrayInParam.class, Nested.class, String.class})
@Anno({ClassObjectArrayInParam.class, Nested.class, String.class, java.util.List.class, String[][].class, int[][].class})
public static class Nested {}
}