[
https://issues.apache.org/jira/browse/CAY-2253?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Nikita Timofeev reassigned CAY-2253:
------------------------------------
Assignee: Nikita Timofeev
> 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
> Assignee: Nikita Timofeev
> Fix For: 4.0.B3, 4.1.M1
>
>
> # 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)