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
2 files changed +4
-10
lines changed Original file line number Diff line number Diff line change @@ -281,7 +281,7 @@ public Object[][] getContents()
281
281
+ "To enable extension functions, set ''jdk.xml.enableExtensionFunctions'' to ''true''." },
282
282
283
283
{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 "
285
285
+ "functions are disabled by the secure processing feature or "
286
286
+ "the property ''jdk.xml.enableExtensionFunctions''. "
287
287
+ "To enable extension functions, set ''jdk.xml.enableExtensionFunctions'' to ''true''." },
Original file line number Diff line number Diff line change 61
61
* This is an interface provide basic support for JAXP functional test.
62
62
*/
63
63
public 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" );
73
67
/**
74
68
* Prefix for error message.
75
69
*/
You can’t perform that action at this time.
0 commit comments