File tree Expand file tree Collapse file tree 2 files changed +4
-10
lines changed
src/java.xml/share/classes/com/sun/org/apache/xalan/internal/xsltc/runtime
test/jaxp/javax/xml/jaxp/libs/jaxp/library Expand file tree Collapse file tree 2 files changed +4
-10
lines changed Original file line number Diff line number Diff line change @@ -281,7 +281,7 @@ public Object[][] getContents()
281281 + "To enable extension functions, set ''jdk.xml.enableExtensionFunctions'' to ''true''." },
282282
283283 {BasisLibrary .UNALLOWED_EXTENSION_ELEMENT_ERR ,
284- "Use of the extension function ''{0}'' is not allowed when extension "
284+ "Use of the extension element ''{0}'' is not allowed when extension "
285285 + "functions are disabled by the secure processing feature or "
286286 + "the property ''jdk.xml.enableExtensionFunctions''. "
287287 + "To enable extension functions, set ''jdk.xml.enableExtensionFunctions'' to ''true''." },
Original file line number Diff line number Diff line change 6161 * This is an interface provide basic support for JAXP functional test.
6262 */
6363public class JAXPTestUtilities {
64- public static String CLS_DIR = System .getProperty ("test.classes" );
65- public static String SRC_DIR = System .getProperty ("test.src" );
66- public static boolean isWindows = false ;
67- static {
68- if (System .getProperty ("os.name" ).contains ("Windows" )) {
69- isWindows = true ;
70- }
71- };
72-
64+ public static final String CLS_DIR = System .getProperty ("test.classes" );
65+ public static final String SRC_DIR = System .getProperty ("test.src" );
66+ public static final boolean isWindows = System .getProperty ("os.name" ).contains ("Windows" );
7367 /**
7468 * Prefix for error message.
7569 */
You can’t perform that action at this time.
0 commit comments