--- old/jaxp/src/java.xml/share/classes/jdk/xml/internal/JdkXmlUtils.java 2017-04-21 03:00:10.853344676 +0300 +++ new/jaxp/src/java.xml/share/classes/jdk/xml/internal/JdkXmlUtils.java 2017-04-21 03:00:10.773343459 +0300 @@ -52,6 +52,12 @@ public final static String CATALOG_RESOLVE = CatalogFeatures.Feature.RESOLVE.getPropertyName(); /** + * Reset SymbolTable feature + * System property name is identical to feature name + */ + public final static String RESET_SYMBOL_TABLE = "jdk.xml.resetSymbolTable"; + + /** * Values for a feature */ public static final String FEATURE_TRUE = "true"; @@ -64,6 +70,13 @@ = SecuritySupport.getJAXPSystemProperty(Boolean.class, SP_USE_CATALOG, "true"); /** + * Default value of RESET_SYMBOL_TABLE. This will read the System property + */ + public static final boolean RESET_SYMBOL_TABLE_DEFAULT + = SecuritySupport.getJAXPSystemProperty(Boolean.class, RESET_SYMBOL_TABLE, "false"); + + + /** * JDK features (will be consolidated in the next major feature revamp */ public final static String CDATA_CHUNK_SIZE = "jdk.xml.cdataChunkSize";