Uploaded image for project: 'Xerces2-J'
  1. Xerces2-J
  2. XERCESJ-1621

xerces2 doesn't build with Mac OS 10.9 and JDK 1.7

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 2.11.0
    • None
    • Build
    • Mac OS 10.9; JDK 1.7

    Description

      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

      Attachments

        Activity

          People

            Unassigned Unassigned
            hellojwu@gmail.com Johnny Wu
            Votes:
            2 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated: