JDK-8130254 : Cleanup SAXCatalogReader.saxParserClass
  • Type: Bug
  • Component: xml
  • Sub-Component: jaxp
  • Affected Version: 9
  • Priority: P4
  • Status: Closed
  • Resolution: Won't Fix
  • Submitted: 2015-07-01
  • Updated: 2016-05-25
  • Resolved: 2016-05-25
Related Reports
Relates :  
Description
SAXCatalogReader supports two modes: a legacy mode where it is created with a saxParserClass name, and a new mode where it is created with a saxParserFactory.

In the JDK, it appears that the saxParserClass mode is not used (saxParserClass is always null).

SAXCatalogReader  should be cleened up and the protected saxParserClass variable could therefore be removed alongside all the code that deals with it.

Comments
The internal Catalog shall be deprecated as we have introduced a new public API (javax.xml.catalog).
25-05-2016