This is a JDK bug - https://bugs.openjdk.java.net/browse/JDK-8172158 Should be fixed in upcoming versions. Up until then, we should keep this issue open and build with older JDK versions.