freemarker-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Daniel Dekany (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (FREEMARKER-105) JDK 11 complains about internal API usage: SunInternalXalanXPathSupport
Date Sun, 21 Oct 2018 15:03:00 GMT

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

Daniel Dekany commented on FREEMARKER-105:
------------------------------------------

Removing these references is not backward compatible, as a lot of installations depend on
using the internal Xalan. If accessing these classes is blocked in your runtime environment,
that's fine, FreeMarker will survive that (it loads the depending classes dynamically, and
expects that to fail). Only if you have XPath queries in the templates, you will need
to add Apache Xalan or Jaxen as dependency.

So, just ignore this warning. (I hope it's just a warning.)

> JDK 11 complains about internal API usage: SunInternalXalanXPathSupport
> -----------------------------------------------------------------------
>
>                 Key: FREEMARKER-105
>                 URL: https://issues.apache.org/jira/browse/FREEMARKER-105
>             Project: Apache Freemarker
>          Issue Type: Bug
>            Reporter: Andrea Aime
>            Priority: Major
>
> Running jdeps on the latest freemarker release:
>  
> {code:java}
> aaime@colossus /tmp $ jdeps --jdk-internals freemarker.jar 
> freemarker.jar -> java.xml
> freemarker.ext.dom.SunInternalXalanXPathSupport -> com.sun.org.apache.xml.internal.utils.PrefixResolver
JDK internal API (java.xml)
> freemarker.ext.dom.SunInternalXalanXPathSupport -> com.sun.org.apache.xpath.internal.XPath
JDK internal API (java.xml)
> freemarker.ext.dom.SunInternalXalanXPathSupport -> com.sun.org.apache.xpath.internal.XPathContext
JDK internal API (java.xml)
> freemarker.ext.dom.SunInternalXalanXPathSupport -> com.sun.org.apache.xpath.internal.objects.XBoolean
JDK internal API (java.xml)
> freemarker.ext.dom.SunInternalXalanXPathSupport -> com.sun.org.apache.xpath.internal.objects.XNodeSet
JDK internal API (java.xml)
> freemarker.ext.dom.SunInternalXalanXPathSupport -> com.sun.org.apache.xpath.internal.objects.XNull
JDK internal API (java.xml)
> freemarker.ext.dom.SunInternalXalanXPathSupport -> com.sun.org.apache.xpath.internal.objects.XNumber
JDK internal API (java.xml)
> freemarker.ext.dom.SunInternalXalanXPathSupport -> com.sun.org.apache.xpath.internal.objects.XObject
JDK internal API (java.xml)
> freemarker.ext.dom.SunInternalXalanXPathSupport -> com.sun.org.apache.xpath.internal.objects.XString
JDK internal API (java.xml)
> freemarker.ext.dom.SunInternalXalanXPathSupport$1 -> com.sun.org.apache.xml.internal.utils.PrefixResolver
JDK internal API (java.xml){code}
>  



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Mime
View raw message