Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8181149 Fix lint warnings in JAXP repo
  3. JDK-8191356

Release Note: java.xml APIs With Raw Types and Type Parameters

XMLWordPrintable

    • Icon: Sub-task Sub-task
    • Resolution: Delivered
    • Icon: P4 P4
    • 10
    • 10
    • xml
    • Verified

      A number of `java.xml` APIs containing method declarations with raw types have been updated to add a type parameter. The updated methods are:

      * `javax.xml.namespace.NamespaceContext`

      >`Iterator<String> getPrefixes(String namespaceURI);`

      * `javax.xml.xpath.XPathFunction`

      >`public Object evaluate(List<?> args)`

      * `org.xml.sax.helpers.NamespaceSupport`

      >`public Enumeration<String> getPrefixes ()`
      >`public Enumeration<String> getPrefixes (String uri)`
      >`public Enumeration<String> getDeclaredPrefixes ()`

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

              Created:
              Updated:
              Resolved: