Add Java17ModulesIntegrationTest tests, fix problem with wrong diagnostic

This commit is contained in:
Mikhael Bogdanov
2021-12-07 15:53:41 +01:00
committed by Space
parent 78597912c0
commit faa2a67180
12 changed files with 92 additions and 26 deletions
@@ -0,0 +1 @@
OK
@@ -0,0 +1,5 @@
package foo;
public class Foo {
val z: java.nio.ByteBuffer? = null
}
@@ -0,0 +1,5 @@
module module17 {
exports foo;
requires kotlin.stdlib;
}
+1
View File
@@ -0,0 +1 @@
OK
@@ -0,0 +1,5 @@
package foo;
public class Foo {
val z: java.nio.ByteBuffer? = null
}
@@ -0,0 +1,5 @@
module module9 {
exports foo;
requires kotlin.stdlib;
}