camel-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Thomas Diesler (JIRA)" <j...@apache.org>
Subject [jira] [Created] (CAMEL-10187) JDK9: Castor attempts to access private class from module java.xml
Date Wed, 27 Jul 2016 09:35:20 GMT
Thomas Diesler created CAMEL-10187:
--------------------------------------

             Summary: JDK9: Castor attempts to access private class from module java.xml
                 Key: CAMEL-10187
                 URL: https://issues.apache.org/jira/browse/CAMEL-10187
             Project: Camel
          Issue Type: Bug
            Reporter: Thomas Diesler


{code}
Caused by: java.lang.RuntimeException: Could not instantiate serializer com.sun.org.apache.xml.internal.serialize.XMLSerializer:
java.lang.IllegalAccessException: class org.exolab.castor.xml.BaseXercesJDK5Serializer cannot
access class com.sun.org.apache.xml.internal.serialize.XMLSerializer (in module java.xml)
because module java.xml does not export com.sun.org.apache.xml.internal.serialize to unnamed
module @49122e40
    at org.exolab.castor.xml.BaseXercesJDK5Serializer.<init>(BaseXercesJDK5Serializer.java:59)
    at org.exolab.castor.xml.XercesJDK5Serializer.<init>(XercesJDK5Serializer.java:29)
    at org.exolab.castor.xml.XercesJDK5XMLSerializerFactory.getSerializer(XercesJDK5XMLSerializerFactory.java:34)
    at org.exolab.castor.xml.util.XMLParserUtils.getSerializer(XMLParserUtils.java:259)
    at org.castor.xml.AbstractInternalContext.getSerializer(AbstractInternalContext.java:370)
    at org.exolab.castor.xml.Marshaller.configureSerializer(Marshaller.java:477)
    at org.exolab.castor.xml.Marshaller.setWriter(Marshaller.java:423)
    at org.apache.camel.dataformat.castor.AbstractCastorDataFormat.marshal(AbstractCastorDataFormat.java:76)
{code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message