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.
This commit is contained in:
Alexander Udalov
2021-01-06 21:49:32 +01:00
parent b8d7b39e2c
commit b8fb1ce83c
3 changed files with 2 additions and 11 deletions
@@ -1,4 +1,4 @@
fun main(args: Array<String>) {
fun main() {
// Module java.naming
val b: javax.naming.Binding? = null
println(b)
@@ -10,8 +10,4 @@ fun main(args: Array<String>) {
// 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)
}