cxf-issues mailing list archives

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


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:
>             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 or
> 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

View raw message