summaryrefslogtreecommitdiff
path: root/dev-java/jibx-tools/files/1.1.5-build.patch
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
committerV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
commit4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch)
treeba5f07bf3f9d22d82e54a462313f5d244036c768 /dev-java/jibx-tools/files/1.1.5-build.patch
reinit the tree, so we can have metadata
Diffstat (limited to 'dev-java/jibx-tools/files/1.1.5-build.patch')
-rw-r--r--dev-java/jibx-tools/files/1.1.5-build.patch20
1 files changed, 20 insertions, 0 deletions
diff --git a/dev-java/jibx-tools/files/1.1.5-build.patch b/dev-java/jibx-tools/files/1.1.5-build.patch
new file mode 100644
index 000000000000..7e2354c2cbde
--- /dev/null
+++ b/dev-java/jibx-tools/files/1.1.5-build.patch
@@ -0,0 +1,20 @@
+--- build/src/org/jibx/binding/SchemaGenerator.java 2007-05-23 21:31:14.000000000 +0300
++++ build/src/org/jibx/binding/SchemaGenerator.java 2008-02-21 23:14:06.000000000 +0200
+@@ -178,7 +178,7 @@
+ m_classLocator = new IClassLocator() {
+ public IClass getClassInfo(String name) {
+ try {
+- return new ClassWrapper(ClassCache.getClassFile(name));
++ return new ClassWrapper(m_classLocator, ClassCache.getClassFile(name));
+ } catch (JiBXException e) {
+ throw new IllegalStateException("Class not found " + name);
+ }
+@@ -382,7 +382,7 @@
+
+ // check for reference to a mapped class
+ StructureElement structure = (StructureElement)comp;
+- TemplateElementBase templ = structure.getMapAsMapping();
++ TemplateElementBase templ = structure.getEffectiveMapping();
+ if (! (templ instanceof MappingElement)) {
+
+ // unknown content, leave it to user to fill in details