You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cayenne.apache.org by "Nikita Timofeev (JIRA)" <ji...@apache.org> on 2017/07/28 15:23:00 UTC

[jira] [Comment Edited] (CAY-2253) Cayenne JDK9 compatibility

    [ https://issues.apache.org/jira/browse/CAY-2253?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16105075#comment-16105075 ] 

Nikita Timofeev edited comment on CAY-2253 at 7/28/17 3:22 PM:
---------------------------------------------------------------

Latest results with {{jdk-9+179}}

Only two problems left for now:
# {{cayenne-client-jetty}} - mysterious missing of dependency {{Could not find artifact org.eclipse.jetty:jetty-alpn-java-client:jar:9.4.6.v20170531}}
# {{cayenne-doc}} - seems like problems with {{maven-javadoc-plugin:2.10.4}}, version {{3.0.0-M1}} fixes this


was (Author: ntimofeev):
Latest results with {{jdk-9+179}}:
Only two problems left for now:
# {{cayenne-client-jetty}} - mysterious missing of dependency {{Could not find artifact org.eclipse.jetty:jetty-alpn-java-client:jar:9.4.6.v20170531}}
# {{cayenne-doc}} - seems like problems with {{maven-javadoc-plugin:2.10.4}} 

> Cayenne JDK9 compatibility
> --------------------------
>
>                 Key: CAY-2253
>                 URL: https://issues.apache.org/jira/browse/CAY-2253
>             Project: Cayenne
>          Issue Type: Task
>    Affects Versions: 4.0.M5
>         Environment: Java build 9-ea+158
>            Reporter: Nikita Timofeev
>
> # All tests that validate di.spi.ModuleProvider presence fail as ServiceLoader loads 2 providers instead of 1.
> # *cayenne-server*
> All tests related to hessian serialization are in error.
> # *cayenne-client*
> All tests related to hessian serialization are in error.
> {quote}Unable to make private java.lang.StackTraceElement() accessible: module java.base does not "opens java.lang" to unnamed module{quote}
> # *cayenne-crypto*
> javax.xml.bind.DatatypeConverter moved to a module that is not loaded by default
>     see http://mail.openjdk.java.net/pipermail/jdk9-dev/2016-May/004309.html
> {quote}
>   Caused by: java.lang.ClassNotFoundException: javax.xml.bind.DatatypeConverter
>   	at java.base/jdk.internal.loader.BuiltinClassLoader.loadClass(BuiltinClassLoader.java:533)
>   	at java.base/jdk.internal.loader.ClassLoaders$AppClassLoader.loadClass(ClassLoaders.java:186)
>   	at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:476)
>   	... 32 more
> {quote}
> # *cayenne-protostuff*
> All tests related to protostuff serialization are in error.
> {quote}Caused by: java.lang.reflect.InaccessibleObjectException: Unable to make field private final java.lang.Object java.util.Collections$SingletonSet.element accessible: module java.base does not "opens java.util" to unnamed module{quote}
> # *cayenne-doc*
> Not really understood why this module is failing
> # *tutorial-rop-server*
> Seems that maven-war-plugin (3.0.0) is not compatible:
> {quote}
> [ERROR] Failed to execute goal org.apache.maven.plugins:maven-war-plugin:3.0.0:war (default-war) on project tutorial-rop-server: Execution default-war of goal org.apache.maven.plugins:maven-war-plugin:3.0.0:war failed: Unable to load the mojo 'war' in the plugin 'org.apache.maven.plugins:maven-war-plugin:3.0.0' due to an API incompatibility: org.codehaus.plexus.component.repository.exception.ComponentLookupException: null
> ...
> [ERROR] -----------------------------------------------------: ExceptionInInitializerError: Unable to make field private final java.util.Comparator java.util.TreeMap.comparator accessible: module java.base does not "opens java.util" to unnamed module @7f51f588
> [ERROR] -> [Help 1]{quote}



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)