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 "Johnny Wu (JIRA)" <xe...@xml.apache.org> on 2013/12/04 20:52:35 UTC

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

Johnny Wu created XERCESJ-1621:
----------------------------------

             Summary: 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


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
(v6.1#6144)

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