xerces doesn't build with diablo-jdk 1.6.0-7 on G/FreeBSD
---------------------------------------------------------
Key: XERCESJ-1413
URL: https://issues.apache.org/jira/browse/XERCESJ-1413
Project: Xerces2-J
Issue Type: Bug
Affects Versions: 2.9.1
Environment: On Gentoo/FreeBSD 7.2, diablo-jdk from the freebsd
foundation ( http://www.freebsdfoundation.org/downloads/java.shtml )
Reporter: Alexis Ballier
Priority: Minor
It seems it uses the JDK classpath for HTML classes and breaks because it
expects some older ones.
Here is a paste of the error:
[xjavac]
/var/tmp/portage/dev-java/xerces-2.9.1/work/xerces-2_9_1/build/src/org/apache/html/dom/HTMLFrameElementImpl.java:28:
org.apache.html.dom.HTMLFrameElementImpl is not abstract and does not override
abstract method getContentDocument() in org.w3c.dom.html.HTMLFrameElement
[xjavac] public class HTMLFrameElementImpl
[xjavac] ^
[xjavac]
/var/tmp/portage/dev-java/xerces-2.9.1/work/xerces-2_9_1/build/src/org/apache/html/dom/HTMLIFrameElementImpl.java:28:
org.apache.html.dom.HTMLIFrameElementImpl is not abstract and does not
override abstract method getContentDocument() in
org.w3c.dom.html.HTMLIFrameElement
[xjavac] public class HTMLIFrameElementImpl
[xjavac] ^
[xjavac]
/var/tmp/portage/dev-java/xerces-2.9.1/work/xerces-2_9_1/build/src/org/apache/html/dom/HTMLObjectElementImpl.java:28:
org.apache.html.dom.HTMLObjectElementImpl is not abstract and does not
override abstract method getContentDocument() in
org.w3c.dom.html.HTMLObjectElement
[xjavac] public class HTMLObjectElementImpl
[xjavac] ^
[xjavac] 3 errors
Simply treating diablo/freebsd foundtation as sun JDK work:
Index: XJavac.java
===================================================================
--- XJavac.java (revision 902390)
+++ XJavac.java (working copy)
@@ -68,7 +68,8 @@
(vendor.indexOf("APPLE") >= 0) ||
(vendor.indexOf("HEWLETT-PACKARD") >= 0) ||
(vendor.indexOf("KAFFE") >= 0) ||
- (vendor.indexOf("SABLE") >= 0)) {
+ (vendor.indexOf("SABLE") >= 0)
+ (vendor.indexOf("THE FREEBSD FOUNDATION") >= 0) ) {
// we're on an SUN 1.4 or higher; fiddle with the
bootclasspath.
// since we can't eviscerate XML-related info here,
// we must use the classpath
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]