[
https://issues.apache.org/jira/browse/FLINK-18514?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Chesnay Schepler closed FLINK-18514.
------------------------------------
Fix Version/s: 1.12.0
Resolution: Fixed
master: 9896c9b0d2d76fc445669083abb7dceb7432e8fc
> Building fails with JDK 14 installed
> ------------------------------------
>
> Key: FLINK-18514
> URL: https://issues.apache.org/jira/browse/FLINK-18514
> Project: Flink
> Issue Type: Improvement
> Reporter: Niels Basjes
> Assignee: Niels Basjes
> Priority: Major
> Labels: pull-request-available
> Fix For: 1.12.0
>
>
> On a system with JDK 14 installed the build fails with
> {code}
> [INFO] --- gmavenplus-plugin:1.8.1:execute (merge-categories) @
> flink-end-to-end-tests ---
> [INFO] Using plugin classloader, includes GMavenPlus classpath.
> java.lang.NoClassDefFoundError: Could not initialize class
> org.codehaus.groovy.vmplugin.v7.Java7
> at
> org.codehaus.groovy.vmplugin.VMPluginFactory.<clinit>(VMPluginFactory.java:43)
> at
> org.codehaus.groovy.reflection.GroovyClassValueFactory.<clinit>(GroovyClassValueFactory.java:35)
> at org.codehaus.groovy.reflection.ClassInfo.<clinit>(ClassInfo.java:107)
> at
> org.codehaus.groovy.reflection.ReflectionCache.getCachedClass(ReflectionCache.java:95)
> at
> org.codehaus.groovy.reflection.ReflectionCache.<clinit>(ReflectionCache.java:39)
> {code}
> Which is the same exception as seen here
> https://github.com/gradle/gradle/issues/10248
> This is a known problem in groovy that has been fixed in version 2.5.10:
> https://issues.apache.org/jira/browse/GROOVY-9211
--
This message was sent by Atlassian Jira
(v8.3.4#803005)