mirror of
https://github.com/jlengrand/kotlin.git
synced 2026-05-09 00:21:47 +00:00
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
22 lines
511 B
Kotlin
Vendored
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)
|
|
}
|