The purpose of the changeset for JDK-8181150 was to fix rawtypes warnings in the java.xml module. Any changes to the public APIs were not intended and shall be reversed. The affected APIs are as follows:
src/java.xml/share/classes/javax/xml/namespace/NamespaceContext.java
- Iterator getPrefixes(String namespaceURI);
+ Iterator<String> getPrefixes(String namespaceURI);
src/java.xml/share/classes/javax/xml/xpath/XPathFunction.java
- public Object evaluate(List args)
+ public Object evaluate(List<Object> args)
src/java.xml/share/classes/org/xml/sax/helpers/NamespaceSupport.java
- public Enumeration getPrefixes ()
+ public Enumeration<String> getPrefixes ()
- public Enumeration getPrefixes (String uri)
+ public Enumeration<String> getPrefixes (String uri)
- public Enumeration getDeclaredPrefixes ()
+ public Enumeration<String> getDeclaredPrefixes ()