[jboss-jira] [JBoss JIRA] (JBEE-191) JAXB API loading default impl fails in Java 9

David Lloyd (JIRA) issues at jboss.org
Fri Mar 30 11:38:00 EDT 2018


     [ https://issues.jboss.org/browse/JBEE-191?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

David Lloyd resolved JBEE-191.
------------------------------
    Resolution: Won't Fix


This doesn't need fixing.  The platform JAXB provider can never be accessible from a non-platform API, so it's going to fail regardless.  The correct fix is to ensure that the implementation is always on the API classpath no matter what.

> JAXB API loading default impl fails in Java 9
> ---------------------------------------------
>
>                 Key: JBEE-191
>                 URL: https://issues.jboss.org/browse/JBEE-191
>             Project: JBoss JavaEE Spec APIs
>          Issue Type: Bug
>          Components: jboss-jaxb-api
>    Affects Versions: jboss-jaxb-api_2.3_spec-1.0.1.Final
>            Reporter: David Lloyd
>            Assignee: David Lloyd
>             Fix For: jboss-jaxb-api_2.3_spec-1.0.2.Final
>
>
> The platform default provider is instantiated with a null class loader, which is not likely to work since the JDK will be linking against the wrong API.  In addition, these classes are private in Java 9+ so even if it did link correctly, the instantiation would fail due to the non-exported package.



--
This message was sent by Atlassian JIRA
(v7.5.0#75005)


More information about the jboss-jira mailing list