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 2017/01/07 05:14:58 UTC
[jira] [Commented] (CALCITE-1567) JDK9 support for Avatica
[ https://issues.apache.org/jira/browse/CALCITE-1567?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15806823#comment-15806823 ]
Julian Hyde commented on CALCITE-1567:
--------------------------------------
Work in progress: https://github.com/julianhyde/calcite/tree/1567-avatica-jdk9.
Requires jdk9-ea+150 or higher.
There are some remaining problems with Mockito in MetricsSystemLoaderTest:
{noformat}
testSingleInstance(org.apache.calcite.avatica.metrics.MetricsSystemLoaderTest) Time elapsed: 0.057 sec <<< ERROR!
java.lang.ExceptionInInitializerError
at org.apache.calcite.avatica.metrics.MetricsSystemLoaderTest.testSingleInstance(MetricsSystemLoaderTest.java:39)
Caused by: java.lang.reflect.InaccessibleObjectException: Unable to make protected final java.lang.Class java.lang.ClassLoader.defineClass(java.lang.String,byte[],int,int,java.security.ProtectionDomain) throws java.lang.ClassFormatError accessible: module java.base does not "opens java.lang" to unnamed module @4ddced80
at org.apache.calcite.avatica.metrics.MetricsSystemLoaderTest.testSingleInstance(MetricsSystemLoaderTest.java:39)
{noformat}
> JDK9 support for Avatica
> ------------------------
>
> Key: CALCITE-1567
> URL: https://issues.apache.org/jira/browse/CALCITE-1567
> Project: Calcite
> Issue Type: Bug
> Components: avatica
> Reporter: Julian Hyde
> Assignee: Julian Hyde
>
> Make sure Avatica can build, run tests, and generate javadoc in JDK9.
> The corresponding issue for Calcite is CALCITE-1258.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)