summaryrefslogtreecommitdiffstats
path: root/recipes-core/xml-commons/xom-1.2.10/04_remove_sun_import.patch
diff options
context:
space:
mode:
Diffstat (limited to 'recipes-core/xml-commons/xom-1.2.10/04_remove_sun_import.patch')
-rw-r--r--recipes-core/xml-commons/xom-1.2.10/04_remove_sun_import.patch27
1 files changed, 27 insertions, 0 deletions
diff --git a/recipes-core/xml-commons/xom-1.2.10/04_remove_sun_import.patch b/recipes-core/xml-commons/xom-1.2.10/04_remove_sun_import.patch
new file mode 100644
index 0000000..71f659d
--- /dev/null
+++ b/recipes-core/xml-commons/xom-1.2.10/04_remove_sun_import.patch
@@ -0,0 +1,27 @@
1diff -Nur xom-1.1/src15/nu/xom/JDK15XML1_0Parser.java xom-1.1.new/src15/nu/xom/JDK15XML1_0Parser.java
2--- xom-1.1/src15/nu/xom/JDK15XML1_0Parser.java 2004-08-17 19:18:30.000000000 +0530
3+++ xom-1.1.new/src15/nu/xom/JDK15XML1_0Parser.java 2007-11-13 15:25:08.000000000 +0530
4@@ -24,9 +24,9 @@
5
6 import org.xml.sax.SAXException;
7
8-import com.sun.org.apache.xerces.internal.parsers.SAXParser;
9-import com.sun.org.apache.xerces.internal.parsers.DTDConfiguration;
10-import com.sun.org.apache.xerces.internal.impl.Constants
11+import org.apache.xerces.parsers.SAXParser;
12+import org.apache.xerces.parsers.DTDConfiguration;
13+import org.apache.xerces.impl.Constants
14 ;
15 /**
16 * <p>
17@@ -47,8 +47,8 @@
18
19 super(new DTDConfiguration());
20 // workaround for Java 1.5 beta 2 bugs
21- com.sun.org.apache.xerces.internal.util.SecurityManager manager
22- = new com.sun.org.apache.xerces.internal.util.SecurityManager();
23+ org.apache.xerces.util.SecurityManager manager
24+ = new org.apache.xerces.util.SecurityManager();
25 setProperty(Constants.XERCES_PROPERTY_PREFIX + Constants.SECURITY_MANAGER_PROPERTY, manager);
26
27 }