Update tests for Java modules to be compatible with JDK 17

This commit is contained in:
Mikhael Bogdanov
2021-12-07 15:46:59 +01:00
committed by Space
parent 913c7ad956
commit 78597912c0
4 changed files with 12 additions and 12 deletions
@@ -3,11 +3,11 @@ fun main() {
val b: javax.naming.Binding? = null
println(b)
// Module jdk.net
val j: jdk.net.Sockets? = null
// Module java.logging
val j: java.util.logging.Filter? = null
println(j)
// Module jdk.httpserver (this module doesn't depend on it)
val s: com.sun.net.httpserver.HttpServer? = null
// Module java.desktop (this module doesn't depend on it)
val s: javax.swing.JFrame? = null
println(s)
}