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

XMLInputFactory.newInstance(String factoryId, ...) should fall back to a default implementation

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P4
    • Resolution: Not an Issue
    • Affects Version/s: 8
    • Fix Version/s: None
    • Component/s: xml
    • Labels:
      None

      Description

      In JDK-6756677, a fix was made to treat factoryId as actually the factory ID rather than an implementation class name. The fix replaced the FactoryFinder's newInstance with the find method. However, while it was correct to not fall back to a default implementation when factoryId was assumed to mean classname, it's not when it is determined to represent a factory ID that shall be used to search an implementation. The method should fall back to the default implementation.

        Attachments

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved: