JDeps Report for wildfly-8.1.0.Final

We are using JDK 8's new jdeps analysis tool to identify usage of JDK-internal APIs. It has been advised not to rely on any JDK-internal API (e.g. sun.* packages) since 1996. The jdeps tool along with a wiki page were created to help you migrate to use the JDK supported APIs.

Your team should plan to eliminate any dependency to JDK-internal APIs. Migrating to use the JDK supported APIs now will give your team adequate time for regression testing before the release of JDK 9. For JDK-internal APIs that your application has to depend on and there is no supported API providing equivalent functionality, we would appreciate an explanation about why and how these particular APIs, if any, are used in your application. jdeps is a static analysis tool and therefore use of JDK-internal APIs via reflection or dynamically generated bytecode are not shown in this report while such dependency should also be replaced.

Development teams can use jdeps directly to identify any use of JDK-internal APIs and update your code or components appropriately. Alternately if many development groups need something changed in the spec, we encourage participation in either OpenJDK or the Java Community Process.

We have analyzed jar files within wildfly-8.1.0.Final and found 26 jar files depend on JDK-Internal-API. Our observations are

APIs that have known replacements:

ID Replace Usage of With Inside
1 org.w3c.dom.xpath.XPathEvaluator Use javax.xml.xpath @since 1.5
  • modules/system/layers/base/org/apache/xalan/main/xalan-2.7.1.jbossorg-1.jar
2 org.w3c.dom.xpath.XPathException Use javax.xml.xpath @since 1.5
  • modules/system/layers/base/org/apache/xalan/main/xalan-2.7.1.jbossorg-1.jar
3 org.w3c.dom.xpath.XPathExpression Use javax.xml.xpath @since 1.5
  • modules/system/layers/base/org/apache/xalan/main/xalan-2.7.1.jbossorg-1.jar
4 org.w3c.dom.xpath.XPathNSResolver Use javax.xml.xpath @since 1.5
  • modules/system/layers/base/org/apache/xalan/main/xalan-2.7.1.jbossorg-1.jar
5 org.w3c.dom.xpath.XPathNamespace Use javax.xml.xpath @since 1.5
  • modules/system/layers/base/org/apache/xalan/main/xalan-2.7.1.jbossorg-1.jar
6 org.w3c.dom.xpath.XPathResult Use javax.xml.xpath @since 1.5
  • modules/system/layers/base/org/apache/xalan/main/xalan-2.7.1.jbossorg-1.jar
7 sun.misc.Cleaner Use java.lang.ref.PhantomReference @since 1.2
  • bin/client/jboss-client.jar
  • modules/system/layers/base/io/netty/main/netty-all-4.0.15.Final.jar

APIs that your team should plan to migrate away and provide us with explanations if necessary:

ID Internal APIs requiring clarification Are used by
1 com.sun.org.apache.xerces.internal.parsers.DTDConfiguration
  • modules/system/layers/base/nu/xom/main/xom-1.2.5.jar
Explanation if necessary...
2 com.sun.org.apache.xerces.internal.parsers.SAXParser
  • modules/system/layers/base/nu/xom/main/xom-1.2.5.jar
Explanation if necessary...
3 com.sun.org.apache.xerces.internal.util.SecurityManager
  • modules/system/layers/base/nu/xom/main/xom-1.2.5.jar
Explanation if necessary...
4 com.sun.org.apache.xerces.internal.xni.parser.XMLParserConfiguration
  • modules/system/layers/base/nu/xom/main/xom-1.2.5.jar
Explanation if necessary...
5 com.sun.org.apache.xml.internal.resolver.Catalog
  • modules/system/layers/base/com/sun/xml/bind/main/jaxb-xjc-2.2.5.jboss-1.jar
Explanation if necessary...
6 com.sun.org.apache.xml.internal.resolver.CatalogManager
  • modules/system/layers/base/com/sun/xml/bind/main/jaxb-xjc-2.2.5.jboss-1.jar
Explanation if necessary...
7 com.sun.org.apache.xml.internal.resolver.tools.CatalogResolver
  • modules/system/layers/base/com/sun/xml/bind/main/jaxb-xjc-2.2.5.jboss-1.jar
Explanation if necessary...
8 org.relaxng.datatype.Datatype
  • modules/system/layers/base/org/codehaus/woodstox/main/woodstox-core-asl-4.2.0.jar
  • modules/system/layers/base/org/kohsuke/rngom/main/rngom-201103.jboss-1.jar
Explanation if necessary...
9 org.relaxng.datatype.DatatypeBuilder
  • modules/system/layers/base/org/kohsuke/rngom/main/rngom-201103.jboss-1.jar
Explanation if necessary...
10 org.relaxng.datatype.DatatypeException
  • modules/system/layers/base/org/dom4j/main/dom4j-1.6.1.jar
  • modules/system/layers/base/org/kohsuke/rngom/main/rngom-201103.jboss-1.jar
Explanation if necessary...
11 org.relaxng.datatype.DatatypeLibrary
  • modules/system/layers/base/org/kohsuke/rngom/main/rngom-201103.jboss-1.jar
Explanation if necessary...
12 org.relaxng.datatype.DatatypeLibraryFactory
  • modules/system/layers/base/org/kohsuke/rngom/main/rngom-201103.jboss-1.jar
Explanation if necessary...
13 org.relaxng.datatype.DatatypeStreamingValidator
  • modules/system/layers/base/org/kohsuke/rngom/main/rngom-201103.jboss-1.jar
Explanation if necessary...
14 org.relaxng.datatype.ValidationContext
  • modules/system/layers/base/com/sun/xsom/main/xsom-20110809.jar
  • modules/system/layers/base/org/dom4j/main/dom4j-1.6.1.jar
  • modules/system/layers/base/org/kohsuke/rngom/main/rngom-201103.jboss-1.jar
Explanation if necessary...
15 org.relaxng.datatype.helpers.DatatypeLibraryLoader
  • modules/system/layers/base/org/kohsuke/rngom/main/rngom-201103.jboss-1.jar
Explanation if necessary...
16 org.relaxng.datatype.helpers.StreamingValidatorImpl
  • modules/system/layers/base/org/kohsuke/rngom/main/rngom-201103.jboss-1.jar
Explanation if necessary...
17 org.w3c.dom.html.HTMLAnchorElement
  • modules/system/layers/base/org/apache/xerces/main/xercesImpl-2.9.1-jbossas-2.jar
Explanation if necessary...
18 org.w3c.dom.html.HTMLAppletElement
  • modules/system/layers/base/org/apache/xerces/main/xercesImpl-2.9.1-jbossas-2.jar
Explanation if necessary...
19 org.w3c.dom.html.HTMLAreaElement
  • modules/system/layers/base/org/apache/xerces/main/xercesImpl-2.9.1-jbossas-2.jar
Explanation if necessary...
20 org.w3c.dom.html.HTMLBRElement
  • modules/system/layers/base/org/apache/xerces/main/xercesImpl-2.9.1-jbossas-2.jar
Explanation if necessary...
21 org.w3c.dom.html.HTMLBaseElement
  • modules/system/layers/base/org/apache/xerces/main/xercesImpl-2.9.1-jbossas-2.jar
Explanation if necessary...
22 org.w3c.dom.html.HTMLBaseFontElement
  • modules/system/layers/base/org/apache/xerces/main/xercesImpl-2.9.1-jbossas-2.jar
Explanation if necessary...
23 org.w3c.dom.html.HTMLBodyElement
  • modules/system/layers/base/org/apache/xerces/main/xercesImpl-2.9.1-jbossas-2.jar
Explanation if necessary...
24 org.w3c.dom.html.HTMLButtonElement
  • modules/system/layers/base/org/apache/xerces/main/xercesImpl-2.9.1-jbossas-2.jar
Explanation if necessary...
25 org.w3c.dom.html.HTMLCollection
  • modules/system/layers/base/org/apache/xerces/main/xercesImpl-2.9.1-jbossas-2.jar
Explanation if necessary...
26 org.w3c.dom.html.HTMLDListElement
  • modules/system/layers/base/org/apache/xerces/main/xercesImpl-2.9.1-jbossas-2.jar
Explanation if necessary...
27 org.w3c.dom.html.HTMLDirectoryElement
  • modules/system/layers/base/org/apache/xerces/main/xercesImpl-2.9.1-jbossas-2.jar
Explanation if necessary...
28 org.w3c.dom.html.HTMLDivElement
  • modules/system/layers/base/org/apache/xerces/main/xercesImpl-2.9.1-jbossas-2.jar
Explanation if necessary...
29 org.w3c.dom.html.HTMLDocument
  • modules/system/layers/base/org/apache/xerces/main/xercesImpl-2.9.1-jbossas-2.jar
Explanation if necessary...
30 org.w3c.dom.html.HTMLElement
  • modules/system/layers/base/org/apache/xerces/main/xercesImpl-2.9.1-jbossas-2.jar
Explanation if necessary...
31 org.w3c.dom.html.HTMLFieldSetElement
  • modules/system/layers/base/org/apache/xerces/main/xercesImpl-2.9.1-jbossas-2.jar
Explanation if necessary...
32 org.w3c.dom.html.HTMLFontElement
  • modules/system/layers/base/org/apache/xerces/main/xercesImpl-2.9.1-jbossas-2.jar
Explanation if necessary...
33 org.w3c.dom.html.HTMLFormElement
  • modules/system/layers/base/org/apache/xerces/main/xercesImpl-2.9.1-jbossas-2.jar
Explanation if necessary...
34 org.w3c.dom.html.HTMLFrameElement
  • modules/system/layers/base/org/apache/xerces/main/xercesImpl-2.9.1-jbossas-2.jar
Explanation if necessary...
35 org.w3c.dom.html.HTMLFrameSetElement
  • modules/system/layers/base/org/apache/xerces/main/xercesImpl-2.9.1-jbossas-2.jar
Explanation if necessary...
36 org.w3c.dom.html.HTMLHRElement
  • modules/system/layers/base/org/apache/xerces/main/xercesImpl-2.9.1-jbossas-2.jar
Explanation if necessary...
37 org.w3c.dom.html.HTMLHeadElement
  • modules/system/layers/base/org/apache/xerces/main/xercesImpl-2.9.1-jbossas-2.jar
Explanation if necessary...
38 org.w3c.dom.html.HTMLHeadingElement
  • modules/system/layers/base/org/apache/xerces/main/xercesImpl-2.9.1-jbossas-2.jar
Explanation if necessary...
39 org.w3c.dom.html.HTMLHtmlElement
  • modules/system/layers/base/org/apache/xerces/main/xercesImpl-2.9.1-jbossas-2.jar
Explanation if necessary...
40 org.w3c.dom.html.HTMLIFrameElement
  • modules/system/layers/base/org/apache/xerces/main/xercesImpl-2.9.1-jbossas-2.jar
Explanation if necessary...
41 org.w3c.dom.html.HTMLImageElement
  • modules/system/layers/base/org/apache/xerces/main/xercesImpl-2.9.1-jbossas-2.jar
Explanation if necessary...
42 org.w3c.dom.html.HTMLInputElement
  • modules/system/layers/base/org/apache/xerces/main/xercesImpl-2.9.1-jbossas-2.jar
Explanation if necessary...
43 org.w3c.dom.html.HTMLIsIndexElement
  • modules/system/layers/base/org/apache/xerces/main/xercesImpl-2.9.1-jbossas-2.jar
Explanation if necessary...
44 org.w3c.dom.html.HTMLLIElement
  • modules/system/layers/base/org/apache/xerces/main/xercesImpl-2.9.1-jbossas-2.jar
Explanation if necessary...
45 org.w3c.dom.html.HTMLLabelElement
  • modules/system/layers/base/org/apache/xerces/main/xercesImpl-2.9.1-jbossas-2.jar
Explanation if necessary...
46 org.w3c.dom.html.HTMLLegendElement
  • modules/system/layers/base/org/apache/xerces/main/xercesImpl-2.9.1-jbossas-2.jar
Explanation if necessary...
47 org.w3c.dom.html.HTMLLinkElement
  • modules/system/layers/base/org/apache/xerces/main/xercesImpl-2.9.1-jbossas-2.jar
Explanation if necessary...
48 org.w3c.dom.html.HTMLMapElement
  • modules/system/layers/base/org/apache/xerces/main/xercesImpl-2.9.1-jbossas-2.jar
Explanation if necessary...
49 org.w3c.dom.html.HTMLMenuElement
  • modules/system/layers/base/org/apache/xerces/main/xercesImpl-2.9.1-jbossas-2.jar
Explanation if necessary...
50 org.w3c.dom.html.HTMLMetaElement
  • modules/system/layers/base/org/apache/xerces/main/xercesImpl-2.9.1-jbossas-2.jar
Explanation if necessary...
51 org.w3c.dom.html.HTMLModElement
  • modules/system/layers/base/org/apache/xerces/main/xercesImpl-2.9.1-jbossas-2.jar
Explanation if necessary...
52 org.w3c.dom.html.HTMLOListElement
  • modules/system/layers/base/org/apache/xerces/main/xercesImpl-2.9.1-jbossas-2.jar
Explanation if necessary...
53 org.w3c.dom.html.HTMLObjectElement
  • modules/system/layers/base/org/apache/xerces/main/xercesImpl-2.9.1-jbossas-2.jar
Explanation if necessary...
54 org.w3c.dom.html.HTMLOptGroupElement
  • modules/system/layers/base/org/apache/xerces/main/xercesImpl-2.9.1-jbossas-2.jar
Explanation if necessary...
55 org.w3c.dom.html.HTMLOptionElement
  • modules/system/layers/base/org/apache/xerces/main/xercesImpl-2.9.1-jbossas-2.jar
Explanation if necessary...
56 org.w3c.dom.html.HTMLParagraphElement
  • modules/system/layers/base/org/apache/xerces/main/xercesImpl-2.9.1-jbossas-2.jar
Explanation if necessary...
57 org.w3c.dom.html.HTMLParamElement
  • modules/system/layers/base/org/apache/xerces/main/xercesImpl-2.9.1-jbossas-2.jar
Explanation if necessary...
58 org.w3c.dom.html.HTMLPreElement
  • modules/system/layers/base/org/apache/xerces/main/xercesImpl-2.9.1-jbossas-2.jar
Explanation if necessary...
59 org.w3c.dom.html.HTMLQuoteElement
  • modules/system/layers/base/org/apache/xerces/main/xercesImpl-2.9.1-jbossas-2.jar
Explanation if necessary...
60 org.w3c.dom.html.HTMLScriptElement
  • modules/system/layers/base/org/apache/xerces/main/xercesImpl-2.9.1-jbossas-2.jar
Explanation if necessary...
61 org.w3c.dom.html.HTMLSelectElement
  • modules/system/layers/base/org/apache/xerces/main/xercesImpl-2.9.1-jbossas-2.jar
Explanation if necessary...
62 org.w3c.dom.html.HTMLStyleElement
  • modules/system/layers/base/org/apache/xerces/main/xercesImpl-2.9.1-jbossas-2.jar
Explanation if necessary...
63 org.w3c.dom.html.HTMLTableCaptionElement
  • modules/system/layers/base/org/apache/xerces/main/xercesImpl-2.9.1-jbossas-2.jar
Explanation if necessary...
64 org.w3c.dom.html.HTMLTableCellElement
  • modules/system/layers/base/org/apache/xerces/main/xercesImpl-2.9.1-jbossas-2.jar
Explanation if necessary...
65 org.w3c.dom.html.HTMLTableColElement
  • modules/system/layers/base/org/apache/xerces/main/xercesImpl-2.9.1-jbossas-2.jar
Explanation if necessary...
66 org.w3c.dom.html.HTMLTableElement
  • modules/system/layers/base/org/apache/xerces/main/xercesImpl-2.9.1-jbossas-2.jar
Explanation if necessary...
67 org.w3c.dom.html.HTMLTableRowElement
  • modules/system/layers/base/org/apache/xerces/main/xercesImpl-2.9.1-jbossas-2.jar
Explanation if necessary...
68 org.w3c.dom.html.HTMLTableSectionElement
  • modules/system/layers/base/org/apache/xerces/main/xercesImpl-2.9.1-jbossas-2.jar
Explanation if necessary...
69 org.w3c.dom.html.HTMLTextAreaElement
  • modules/system/layers/base/org/apache/xerces/main/xercesImpl-2.9.1-jbossas-2.jar
Explanation if necessary...
70 org.w3c.dom.html.HTMLTitleElement
  • modules/system/layers/base/org/apache/xerces/main/xercesImpl-2.9.1-jbossas-2.jar
Explanation if necessary...
71 org.w3c.dom.html.HTMLUListElement
  • modules/system/layers/base/org/apache/xerces/main/xercesImpl-2.9.1-jbossas-2.jar
Explanation if necessary...
72 org.w3c.dom.ranges.DocumentRange
  • modules/system/layers/base/org/apache/xerces/main/xercesImpl-2.9.1-jbossas-2.jar
Explanation if necessary...
73 org.w3c.dom.ranges.Range
  • modules/system/layers/base/org/apache/xerces/main/xercesImpl-2.9.1-jbossas-2.jar
Explanation if necessary...
74 org.w3c.dom.ranges.RangeException
  • modules/system/layers/base/org/apache/xerces/main/xercesImpl-2.9.1-jbossas-2.jar
Explanation if necessary...
75 sun.misc.Signal
  • bin/client/jboss-cli-client.jar
  • modules/system/layers/base/org/jboss/aesh/main/aesh-0.33.11.jar
Explanation if necessary...
76 sun.misc.SignalHandler
  • bin/client/jboss-cli-client.jar
  • modules/system/layers/base/org/jboss/aesh/main/aesh-0.33.11.jar
Explanation if necessary...
77 sun.misc.Unsafe
  • bin/client/jboss-client.jar
  • jboss-modules.jar
  • modules/system/layers/base/com/google/guava/main/guava-16.0.1.jar
  • modules/system/layers/base/io/netty/main/netty-all-4.0.15.Final.jar
  • modules/system/layers/base/io/undertow/core/main/undertow-core-1.0.15.Final.jar
  • modules/system/layers/base/javax/rmi/api/main/jboss-rmi-api_1.0_spec-1.0.4.Final.jar
  • modules/system/layers/base/org/apache/avro/main/avro-1.7.6.jar
  • modules/system/layers/base/org/infinispan/commons/main/infinispan-commons-6.0.2.Final.jar
  • modules/system/layers/base/org/wildfly/mod_cluster/undertow/main/wildfly-mod_cluster-undertow-8.1.0.Final.jar
Explanation if necessary...
78 sun.nio.cs.Surrogate
  • modules/system/layers/base/com/sun/codemodel/main/codemodel-2.6.jar
Explanation if necessary...
79 sun.nio.cs.Surrogate$Parser
  • modules/system/layers/base/com/sun/codemodel/main/codemodel-2.6.jar
Explanation if necessary...
80 sun.reflect.Reflection
  • bin/client/jboss-cli-client.jar
  • modules/system/layers/base/org/wildfly/security/manager/main/wildfly-security-manager-1.0.0.Final.jar
Explanation if necessary...
81 sun.reflect.ReflectionFactory
  • bin/client/jboss-cli-client.jar
  • bin/client/jboss-client.jar
  • modules/system/layers/base/io/undertow/servlet/main/undertow-servlet-1.0.15.Final.jar
  • modules/system/layers/base/javax/rmi/api/main/jboss-rmi-api_1.0_spec-1.0.4.Final.jar
  • modules/system/layers/base/org/jboss/marshalling/main/jboss-marshalling-1.4.6.Final.jar
Explanation if necessary...
82 sun.reflect.ReflectionFactory$GetReflectionFactoryAction
  • bin/client/jboss-cli-client.jar
  • bin/client/jboss-client.jar
  • modules/system/layers/base/javax/rmi/api/main/jboss-rmi-api_1.0_spec-1.0.4.Final.jar
  • modules/system/layers/base/org/jboss/marshalling/main/jboss-marshalling-1.4.6.Final.jar
Explanation if necessary...
83 sun.security.jgss.spi.GSSContextSpi
  • modules/system/layers/base/org/jacorb/main/jacorb-2.3.2-jbossorg-5.jar
Explanation if necessary...
84 sun.security.jgss.spi.GSSCredentialSpi
  • modules/system/layers/base/org/jacorb/main/jacorb-2.3.2-jbossorg-5.jar
Explanation if necessary...
85 sun.security.jgss.spi.GSSNameSpi
  • modules/system/layers/base/org/jacorb/main/jacorb-2.3.2-jbossorg-5.jar
Explanation if necessary...
86 sun.security.jgss.spi.MechanismFactory
  • modules/system/layers/base/org/jacorb/main/jacorb-2.3.2-jbossorg-5.jar
Explanation if necessary...
87 sun.tools.jconsole.Utilities
  • bin/client/jboss-cli-client.jar
  • modules/system/layers/base/org/jboss/as/cli/main/wildfly-cli-8.1.0.Final.jar
Explanation if necessary...

Identify External Replacements

In addition to the above, your application might be using JDK-internal APIs that do not have direct Oracle-provided replacements. These APIs are subject to significant change or removal in JDK 9. Proper fixing may involve identifying a separate third-party library that performs this functionality.

ID Internal API (grouped by package) Used By Identify External Replacement