Files
kotlin-fork/compiler/testData/javaModules/jdkModulesFromNamed/main/test.kt
T
Alexander Udalov b8fb1ce83c Fix Java 9 module tests for many JDKs
Module 'oracle.desktop' is not guaranteed to be present in JDK. Also,
its usage in these tests doesn't check anything new that isn't already
checked by usages of jdk.net and jdk.httpserver.
2021-01-11 12:39:03 +01:00

14 lines
302 B
Kotlin
Vendored

fun main() {
// Module java.naming
val b: javax.naming.Binding? = null
println(b)
// Module jdk.net
val j: jdk.net.Sockets? = null
println(j)
// Module jdk.httpserver (this module doesn't depend on it)
val s: com.sun.net.httpserver.HttpServer? = null
println(s)
}