Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8190986

Rawtypes cleanup inadvertently changed public APIs

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P3
    • Resolution: Won't Fix
    • Affects Version/s: 10
    • Fix Version/s: None
    • Component/s: xml
    • Labels:
      None
    • Subcomponent:
    • Introduced In Build:
      b28

      Description

      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 ()

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                joehw Joe Wang
                Reporter:
                joehw Joe Wang
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: