mirror of
https://github.com/jlengrand/kotlin.git
synced 2026-03-23 08:31:33 +00:00
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
11 lines
280 B
Java
Vendored
11 lines
280 B
Java
Vendored
package test;
|
|
|
|
public class ClassObjectArrayInParam {
|
|
public @interface Anno {
|
|
Class<?>[] value();
|
|
}
|
|
|
|
@Anno({ClassObjectArrayInParam.class, Nested.class, String.class, java.util.List.class, String[][].class, int[][].class})
|
|
public static class Nested {}
|
|
}
|