Fix primitive types mapping

Use boxed version if type was enhaced to not-nullable
This commit is contained in:
Denis Zharkov
2016-02-05 11:17:39 +03:00
parent 68110f5859
commit c879f83037
7 changed files with 21 additions and 5 deletions

View File

@@ -0,0 +1,7 @@
public class J {
// This test checks that although type '@org.jetbrains.annotations.NotNull Integer' is perceived as simple Int,
// it's correctly mapped to 'Lj.l.Integer' by JVM backend
public static String test(@org.jetbrains.annotations.NotNull Integer x) {
return "OK";
}
}