You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cxf.apache.org by "Christian Schneider (JIRA)" <ji...@apache.org> on 2016/09/14 09:48:20 UTC

[jira] [Comment Edited] (DOSGI-227) Build fails with JDK 8

    [ https://issues.apache.org/jira/browse/DOSGI-227?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15489978#comment-15489978 ] 

Christian Schneider edited comment on DOSGI-227 at 9/14/16 9:48 AM:
--------------------------------------------------------------------

Builds with JDK 8 now work fine. I add the workaround in CXF Aegis.


was (Author: chris@die-schneider.net):
Builds with JDK 8 now work fine.

> 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
>            Assignee: Christian Schneider
>             Fix For: 2.0.0
>
>         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)