gentoo/dev-java/xml-xmlbeans/files/xml-xmlbeans-2.6.0-SchemaCompiler.java.patch
Patrice Clement c6510d1c32
dev-java/xml-xmlbeans: Add a patch to get compilation to work with Java 8.
Package-Manager: portage-2.2.20.1
Signed-off-by: Patrice Clement <monsieurp@gentoo.org>
2015-11-11 22:54:30 +00:00

15 lines
802 B
Diff

--- src/xmlcomp/org/apache/xmlbeans/impl/tool/SchemaCompiler.java.orig 2015-11-11 15:58:46.578486000 +0000
+++ src/xmlcomp/org/apache/xmlbeans/impl/tool/SchemaCompiler.java 2015-11-11 15:59:05.351486000 +0000
@@ -217,8 +217,9 @@
boolean debug = (cl.getOpt("debug") != null);
String allowmdef = cl.getOpt("allowmdef");
- Set mdefNamespaces = (allowmdef == null ? Collections.EMPTY_SET :
- new HashSet(Arrays.asList(XmlListImpl.split_list(allowmdef))));
+ Set mdefNamespaces = Collections.EMPTY_SET;
+ // Set mdefNamespaces = (allowmdef == null ? Collections.EMPTY_SET :
+ // new HashSet(Arrays.asList(XmlListImpl.split_list(allowmdef))));
List extensions = new ArrayList();
if (cl.getOpt("extension") != null) {