Alex Prokofiev created GOBBLIN-1022:
---------------------------------------

             Summary: Build fails on OpenJDK 13
                 Key: GOBBLIN-1022
                 URL: https://issues.apache.org/jira/browse/GOBBLIN-1022
             Project: Apache Gobblin
          Issue Type: Bug
    Affects Versions: 0.15.0
            Reporter: Alex Prokofiev


The doc states that Java >=1.8 is supported , but when Gradle is used with 
latest OpenJDK 13, the build fails. 

There is a null reference exception in “testCompile (files(((URLClassLoader) 
ToolProvider.getSystemToolClassLoader()).getURLs()))” in 
“gradle/scripts/globalDependencies.gradle” 

[getSystemToolClassLoader was deprecated in Java 
9|https://docs.oracle.com/javase/9/docs/api/javax/tools/ToolProvider.html], so 
that could be the problem.

It would be good to have a fix for that, and also have a CI build on newer JDK 
versions to catch such problems.

The workaround is to force Gradle to use older JDK - 
https://stackoverflow.com/questions/18487406/how-do-i-tell-gradle-to-use-specific-jdk-version




--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to