cxf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Amichai Rothman (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (DOSGI-227) Build fails with JDK 8
Date Sat, 30 Jan 2016 20:13:39 GMT

     [ https://issues.apache.org/jira/browse/DOSGI-227?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Amichai Rothman updated DOSGI-227:
----------------------------------
    Attachment: java8_classloader_fix.diff

Attached an ugly patch to demonstrate the workaround. This one works in Oracle JDK 7/8 (untested
on JDK 6 or non-Oracle JDKs - AIUI this is an implementation-dependent thing).

Perhaps someone with more experience with these XML parser classloader issues can suggest
a proper fix (boot delegation configuration? explicit classloader? something else?)

I hope this is enough to get you started :-)


> Build fails with JDK 8
> ----------------------
>
>                 Key: DOSGI-227
>                 URL: https://issues.apache.org/jira/browse/DOSGI-227
>             Project: CXF Distributed OSGi
>          Issue Type: Bug
>    Affects Versions: 1.7.0
>            Reporter: Amichai Rothman
>         Attachments: java8_classloader_fix.diff
>
>
> The system test failures seem related to classloader changes in the JDK, as explained
at https://bugs.eclipse.org/bugs/show_bug.cgi?id=471551 or https://java.net/jira/browse/GLASSFISH-19579.
> The immediate workaround of setting the context class loader to null temporarily in org.apache.cxf.aegis.type.XMLTypeCreator
and org.apache.cxf.helpers.XPathUtils works for (Oracle) JDK 8, but then it fails on JDK 7.
So we need to investigate further and find a better solution that works on all JDK versions.



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

Mime
View raw message