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 "Svante Schubert (Jira)" <xe...@xml.apache.org> on 2022/10/16 12:03:00 UTC

[jira] [Updated] (XERCESJ-1621) xerces2 doesn't build with Mac OS 10.9 and JDK 1.7

     [ https://issues.apache.org/jira/browse/XERCESJ-1621?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Svante Schubert updated XERCESJ-1621:
-------------------------------------
    Attachment: 0001-Adding-missing-DOM2-API-getContentDocument.patch

> xerces2 doesn't build with Mac OS 10.9 and JDK 1.7
> --------------------------------------------------
>
>                 Key: XERCESJ-1621
>                 URL: https://issues.apache.org/jira/browse/XERCESJ-1621
>             Project: Xerces2-J
>          Issue Type: Bug
>          Components: Build
>    Affects Versions: 2.11.0
>         Environment: Mac OS 10.9; JDK 1.7
>            Reporter: Johnny Wu
>            Priority: Major
>              Labels: Xerces2, jdk1.7, mac
>         Attachments: 0001-Adding-missing-DOM2-API-getContentDocument.patch
>
>
> While compiling Xerces2, I got this error (the same error reported on XERCESJ-1413)
> Xerces-Java Build System
> ------------------------
> Building with classpath /Library/Java/JavaVirtualMachines/jdk1.7.0_21.jdk/Contents/Home/lib/tools.jar:/Library/Java/JavaVirtualMachines/jdk1.7.0_21.jdk/Contents/Home/lib/classes.zip:./tools/ant.jar:./tools/ant-nodeps.jar:./tools/ant-launcher.jar:./tools/ant-junit.jar:./tools/xml-apis.jar:./tools/xercesImpl.jar:./tools/bin/xjavac.jar
> Starting Ant...
> Buildfile: build.xml
> init:
>      [echo] ---------------- Xerces-J 2.11.0 [1999-2010] ---------------
> prepare:
> prepare-common:
> prepare-src:
>     [unzip] Expanding: /Users/jwu/Downloads/xerces-2_11_0/tools/xml-commons-external-src.zip into /Users/jwu/Downloads/xerces-2_11_0/build/src
> compile:
>    [xjavac] Compiling 596 source files to /Users/jwu/Downloads/xerces-2_11_0/build/classes
>    [xjavac] warning: [options] bootstrap class path not set in conjunction with -source 1.6
>    [xjavac] /Users/jwu/Downloads/xerces-2_11_0/build/src/org/apache/html/dom/HTMLFrameElementImpl.java:28: error: HTMLFrameElementImpl is not abstract and does not override abstract method getContentDocument() in HTMLFrameElement
>    [xjavac] public class HTMLFrameElementImpl
>    [xjavac]        ^
>    [xjavac] /Users/jwu/Downloads/xerces-2_11_0/build/src/org/apache/html/dom/HTMLIFrameElementImpl.java:28: error: HTMLIFrameElementImpl is not abstract and does not override abstract method getContentDocument() in HTMLIFrameElement
>    [xjavac] public class HTMLIFrameElementImpl
>    [xjavac]        ^
>    [xjavac] /Users/jwu/Downloads/xerces-2_11_0/build/src/org/apache/html/dom/HTMLObjectElementImpl.java:28: error: HTMLObjectElementImpl is not abstract and does not override abstract method getContentDocument() in HTMLObjectElement
>    [xjavac] public class HTMLObjectElementImpl
>    [xjavac]        ^
>    [xjavac] Note: Some input files use or override a deprecated API.
>    [xjavac] Note: Recompile with -Xlint:deprecation for details.
>    [xjavac] Note: Some input files use unchecked or unsafe operations.
>    [xjavac] Note: Recompile with -Xlint:unchecked for details.
>    [xjavac] 3 errors
>    [xjavac] 1 warning
> BUILD FAILED
> /Users/jwu/Downloads/xerces-2_11_0/build.xml:311: Compile failed; see the compiler error output for details.
> Total time: 8 seconds



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: j-dev-unsubscribe@xerces.apache.org
For additional commands, e-mail: j-dev-help@xerces.apache.org