You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@calcite.apache.org by "Julian Hyde (Jira)" <ji...@apache.org> on 2020/04/02 19:30:00 UTC

[jira] [Assigned] (CALCITE-3814) Support JDK 14 and guava-28.2-jre

     [ https://issues.apache.org/jira/browse/CALCITE-3814?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Julian Hyde reassigned CALCITE-3814:
------------------------------------

    Assignee: Julian Hyde

> Support JDK 14 and guava-28.2-jre
> ---------------------------------
>
>                 Key: CALCITE-3814
>                 URL: https://issues.apache.org/jira/browse/CALCITE-3814
>             Project: Calcite
>          Issue Type: Bug
>            Reporter: Julian Hyde
>            Assignee: Julian Hyde
>            Priority: Major
>             Fix For: 1.23.0
>
>
> JDK 14 will be released on 2020/03/17.
> I tried building Calcite on an early access build and got an error from Gradle:
> {noformat}
> $ java -version
> openjdk version "14" 2020-03-17
> OpenJDK Runtime Environment (build 14+36-1461)
> OpenJDK 64-Bit Server VM (build 14+36-1461, mixed mode, sharing)
> $ ./gradlew build
> Starting a Gradle Daemon, 1 busy and 1 incompatible Daemons could not be reused, use --status for details
> 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)
> ...
> $ ./gradlew clean --stacktrace
> FAILURE: Build failed with an exception.
> * What went wrong:
> Could not initialize class org.codehaus.groovy.runtime.InvokerHelper
> * Try:
> Run with --info or --debug option to get more log output. Run with --scan to get full insights.
> * Exception is:
> java.lang.NoClassDefFoundError: Could not initialize class org.codehaus.groovy.runtime.InvokerHelper
>         at org.gradle.internal.extensibility.DefaultExtraPropertiesExtension.<init>(DefaultExtraPropertiesExtension.java:29)
>         at org.gradle.internal.extensibility.DefaultConvention.<init>(DefaultConvention.java:49)
>         at org.gradle.internal.extensibility.ExtensibleDynamicObject.<init>(ExtensibleDynamicObject.java:60)
> ...
> {noformat}
> Problem appears to be https://github.com/gradle/gradle/issues/10248, which is related to (caused by) GROOVY-9211, and alrso related to NETBEANS-3876.



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