You are viewing a plain text version of this content. The canonical link for it is here.
Posted to j-dev@xerces.apache.org by "Michael Glavassevich (JIRA)" <xe...@xml.apache.org> on 2010/01/25 19:21:34 UTC
[jira] Resolved: (XERCESJ-1413) xerces doesn't build with
diablo-jdk 1.6.0-7 on G/FreeBSD
[ https://issues.apache.org/jira/browse/XERCESJ-1413?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Michael Glavassevich resolved XERCESJ-1413.
-------------------------------------------
Resolution: Fixed
Fix Version/s: 2.10.0
Alexis, thanks for reporting. I've committed a fix. See SVN rev 902904.
> 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
> Components: Build
> 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
> Assignee: Michael Glavassevich
> Priority: Minor
> Fix For: 2.10.0
>
>
> 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: j-dev-unsubscribe@xerces.apache.org
For additional commands, e-mail: j-dev-help@xerces.apache.org