[ 
http://jira.nuxeo.org/browse/NXP-2827?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=60437#action_60437
 ] 

Julien Carsique commented on NXP-2827:
--------------------------------------

Replacing:
  import com.sun.org.apache.xml.internal.serialize.OutputFormat;
  import com.sun.org.apache.xml.internal.serialize.XMLSerializer;
with:
  import org.apache.xml.serialize.OutputFormat;
  import org.apache.xml.serialize.XMLSerializer;
works fine.

Requires to add:
      <dependency>
        <groupId>xerces</groupId>
        <artifactId>xercesImpl</artifactId>
        <scope>provided</scope>
        <version>2.9.1</version>
      </dependency>


> Don't use JRE-private packages with restricted access
> -----------------------------------------------------
>
>                 Key: NXP-2827
>                 URL: http://jira.nuxeo.org/browse/NXP-2827
>             Project: Nuxeo Enterprise Platform
>          Issue Type: Problem
>            Reporter: Stéphane Lacoin
>            Assignee: Thierry Delprat
>             Fix For: 5.3.x
>
>
> nuxeo-common, nuxeo-runtimes. nuxeo-platform projects make use of the 
> com.sun.org.apache.xml.internal.serialize package that is configured as 
> access restricted. 
> Here is the full list of illegal access uses :
> * com.sun.org.apache.xml.internal.serialize
> * com.sun.jndi.ldap
> * sun.security.acl.GroupImpl, sun.security.acl.PrincipalImpl
> * sun.misc

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://jira.nuxeo.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

       
_______________________________________________
ECM-tickets mailing list
[email protected]
http://lists.nuxeo.com/mailman/listinfo/ecm-tickets

Reply via email to