Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8183519 XMLInputFactory.newFactory() is marked as deprecated
  3. JDK-8183953

Release Note: XMLInputFactory.newFactory incorrectly deprecated

    XMLWordPrintable

    Details

    • Type: Sub-task
    • Status: Closed
    • Priority: P3
    • Resolution: Delivered
    • Affects Version/s: 9
    • Fix Version/s: 9
    • Component/s: xml
    • Verification:
      Verified

      Description

      The `@Deprecated` annotation was incorrectly added to the `newFactory()` method in `javax.xml.stream.XMLInputFactory`. The method should not be deprecated. The `newInstance()` method can be used to avoid the deprecation warning. A future release will correct this.

        Attachments

          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: