--- old/./build.gradle 2018-04-19 17:00:15.000000000 +0200 +++ new/./build.gradle 2018-04-19 17:00:15.000000000 +0200 @@ -2160,13 +2160,11 @@ } project(":swing") { - // Now that JMX is gone, we can likely uncomment the following as - // a fix for JDK-8195669 - /* should not be built, but needed in JMX + tasks.all { if (!COMPILE_SWING) it.enabled = false } - */ + project.ext.buildModule = COMPILE_SWING project.ext.includeSources = true project.ext.moduleRuntime = true