Files
kotlin/compiler/testData/javaModules/jdkModulesFromUnnamed/main/test.kt
Alexander Udalov 2d3888c710 Do not add JDK .jar roots if the JDK is modular (9+)
Files like ant-javafx.jar, deploy.jar, java.jnlp.jar, javafx-swt.jar etc
should not be added to the classpath if JDK home points to a JDK 9
distribution
2017-06-29 15:59:57 +03:00

22 lines
511 B
Kotlin
Vendored

fun main(args: Array<String>) {
// 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
val s: com.sun.net.httpserver.HttpServer? = null
println(s)
// Module oracle.desktop
val a: com.oracle.awt.AWTUtils? = null
println(a)
// No module, this class is declared in $JDK_9/lib/ant-javafx.jar
val x: com.sun.javafx.tools.ant.AntLog? = null
println(x)
}