compile: [javac] Compiling 118 source files to /mnt/Dati/Gentoo/tmp/portage/dom4j-1.5/work/dom4j-1.5/build/classes [javac] This version of java does not support the classic compiler; upgrading to modern [javac] /mnt/Dati/Gentoo/tmp/portage/dom4j-1.5/work/dom4j-1.5/build/src/org/dom4j/dom/DOMAttribute.java:26: org.dom4j.dom.DOMAttribute is not abstract and does not override abstract method getSchemaTypeInfo() in org.w3c.dom.Attr [javac] public class DOMAttribute extends DefaultAttribute implements org.w3c.dom.Attr { [javac] ^ [javac] /mnt/Dati/Gentoo/tmp/portage/dom4j-1.5/work/dom4j-1.5/build/src/org/dom4j/dom/DOMElement.java:32: org.dom4j.dom.DOMElement is not abstract and does not override abstract method setIdAttributeNode(org.w3c.dom.Attr,boolean) in org.w3c.dom.Element [javac] public class DOMElement extends DefaultElement implements org.w3c.dom.Element { [javac] ^ [javac] /mnt/Dati/Gentoo/tmp/portage/dom4j-1.5/work/dom4j-1.5/build/src/org/dom4j/dom/DOMCDATA.java:26: org.dom4j.dom.DOMCDATA is not abstract and does not override abstract method replaceWholeText(java.lang.String) in org.w3c.dom.Text [javac] public class DOMCDATA extends DefaultCDATA implements org.w3c.dom.CDATASection { [javac] ^ [javac] /mnt/Dati/Gentoo/tmp/portage/dom4j-1.5/work/dom4j-1.5/build/src/org/dom4j/dom/DOMComment.java:25: org.dom4j.dom.DOMComment is not abstract and does not override abstract method getUserData(java.lang.String) in org.w3c.dom.Node [javac] public class DOMComment extends DefaultComment implements org.w3c.dom.Comment { [javac] ^ [javac] /mnt/Dati/Gentoo/tmp/portage/dom4j-1.5/work/dom4j-1.5/build/src/org/dom4j/dom/DOMDocument.java:27: org.dom4j.dom.DOMDocument is not abstract and does not override abstract method renameNode(org.w3c.dom.Node,java.lang.String,java.lang.String) in org.w3c.dom.Document [javac] public class DOMDocument extends DefaultDocument implements org.w3c.dom.Document { [javac] ^ [javac] /mnt/Dati/Gentoo/tmp/portage/dom4j-1.5/work/dom4j-1.5/build/src/org/dom4j/dom/DOMDocumentFactory.java:33: org.dom4j.dom.DOMDocumentFactory is not abstract and does not override abstract method getFeature(java.lang.String,java.lang.String) in org.w3c.dom.DOMImplementation [javac] public class DOMDocumentFactory extends DocumentFactory implements org.w3c.dom.DOMImplementation { [javac] ^ [javac] /mnt/Dati/Gentoo/tmp/portage/dom4j-1.5/work/dom4j-1.5/build/src/org/dom4j/dom/DOMDocumentType.java:24: org.dom4j.dom.DOMDocumentType is not abstract and does not override abstract method getUserData(java.lang.String) in org.w3c.dom.Node [javac] public class DOMDocumentType extends DefaultDocumentType implements org.w3c.dom.DocumentType { [CUT] i tried the 1.5.2 package (available) same errors :( i started to implement the abstract methods, but they are tooooo many! and i'm not too good with build.xml syntax
Minor random note, since the ebuild will be re-commited to cvs at some point, we should fix DEPEND to include the dependency on dev-java/ant-core
yes, but i have ant-core installed
ok...the problem seems that this app doesn't override some virtually declared methods. so i started to patch manually and add compiler needs. but as i added functions, more and more errors complaining missin overrrides came out. so i got tired and i did a package with jdk 1.4, and merged it. i needed to let eclipse-sdk install and it runs with no problem, infact. runtime seems good so... i tried 1.5.2 (yes...you can bump!!!!) but got similar errors. maybe you can contact the dev team and make them know... i don't close this bug but i thnk you can close it. think about this. a 1.5 patch will never be out..too big... a version bump is needed
the upstream project already knows about this problem, also see: http://sourceforge.net/tracker/index.php?func=detail&aid=906019&group_id=16035&atid=116035
closing this one because all 'not working with jdk 1.5' are now tracked in #79206: http://bugs.gentoo.org/show_bug.cgi?id=79206
Created attachment 80687 [details] dom4j-9999.ebuild CVS ebuild (for 1.6.2 at time of writing) works with sun-jdk-1.5.0.06.