K2: add JavaModulesIntegrationTest
#KT-60797
This commit is contained in:
committed by
Space Team
parent
b1fb5bdde1
commit
4e706ba93e
@@ -0,0 +1,7 @@
|
||||
compiler/testData/javaModules/jdkModulesFromNamed/main/test.kt:11:12: error: unresolved reference: javax.swing.JFrame
|
||||
val s: javax.swing.JFrame? = null
|
||||
^
|
||||
compiler/testData/javaModules/jdkModulesFromNamed/main/test.kt:12:5: error: overload resolution ambiguity between candidates: [@InlineOnly() fun println(message: Any?): Unit, @InlineOnly() fun println(message: Boolean): Unit, @InlineOnly() fun println(message: Byte): Unit, ...]
|
||||
println(s)
|
||||
^
|
||||
COMPILATION_ERROR
|
||||
@@ -0,0 +1,4 @@
|
||||
compiler/testData/javaModules/releaseFlag/moduleSwing/foo/Foo.kt:5:12: error: unresolved reference: javax.swing.JFrame
|
||||
val z: javax.swing.JFrame? = null
|
||||
^
|
||||
COMPILATION_ERROR
|
||||
Reference in New Issue
Block a user