Issue 126293 - rhino build failed when rhino 1.7r5 is used in OpenJDK
Summary: rhino build failed when rhino 1.7r5 is used in OpenJDK
Status: UNCONFIRMED
Alias: None
Product: Build Tools
Classification: Code
Component: external prerequisites (show other issues)
Version: 4.1.1
Hardware: All All
: P5 (lowest) Normal (vote)
Target Milestone: ---
Assignee: AOO issues mailing list
QA Contact:
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-05-07 08:42 UTC by Alexander Pyhalov
Modified: 2015-05-07 08:42 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Latest Confirmation in: ---
Developer Difficulty: ---


Attachments

Note You need to log in before you can comment on or make changes to this issue.
Description Alexander Pyhalov 2015-05-07 08:42:00 UTC
After updating rhino used by OpenJDK to rhino1_7R5  I can't longer compile openoffice, because rhino build fails. Does someone has any cure for this? Rhino build output follows.

Entering /export/home/alp/srcs/oi-userland/components/openoffice/openoffice/build/i86/main/rhino

mkdir: Failed to make directory "unxsogi.pro/misc/build/rhino1_7R3/"; File exists
Buildfile: /export/home/alp/srcs/oi-userland/components/openoffice/openoffice/build/i86/main/rhino/unxsogi.pro/misc/build/rhino1_7R3/build.xml

properties:

init:

compile:

compile-most:

compile-jdk15:

compile:

properties:

compile:

xmlimplsrc-compile:
     [echo] Calling /export/home/alp/srcs/oi-userland/components/openoffice/openoffice/build/i86/main/rhino/unxsogi.pro/misc/build/rhino1_7R3/xmlimplsrc/build.xml

compile:

e4x-compile:
    [javac] Compiling 8 source files to /export/home/alp/srcs/oi-userland/components/openoffice/openoffice/build/i86/main/rhino/unxsogi.pro/misc/build/rhino1_7R3/build/classes
    [javac] warning: [options] bootstrap class path not set in conjunction with -source 1.5
    [javac] /export/home/alp/srcs/oi-userland/components/openoffice/openoffice/build/i86/main/rhino/unxsogi.pro/misc/build/rhino1_7R3/xmlimplsrc/org/mozilla/javascript/xmlimpl/XMLObjectImpl.java:271: error: method does not override or implement a method from a supertype
    [javac]     @Override
    [javac]     ^
    [javac] /export/home/alp/srcs/oi-userland/components/openoffice/openoffice/build/i86/main/rhino/unxsogi.pro/misc/build/rhino1_7R3/xmlimplsrc/org/mozilla/javascript/xmlimpl/XMLObjectImpl.java:286: error: method does not override or implement a method from a supertype
    [javac]     @Override
    [javac]     ^
    [javac] /export/home/alp/srcs/oi-userland/components/openoffice/openoffice/build/i86/main/rhino/unxsogi.pro/misc/build/rhino1_7R3/xmlimplsrc/org/mozilla/javascript/xmlimpl/XMLObjectImpl.java:305: error: method does not override or implement a method from a supertype
    [javac]     @Override
    [javac]     ^
    [javac] /export/home/alp/srcs/oi-userland/components/openoffice/openoffice/build/i86/main/rhino/unxsogi.pro/misc/build/rhino1_7R3/xmlimplsrc/org/mozilla/javascript/xmlimpl/XMLObjectImpl.java:321: error: method does not override or implement a method from a supertype
    [javac]     @Override
    [javac]     ^
    [javac] /export/home/alp/srcs/oi-userland/components/openoffice/openoffice/build/i86/main/rhino/unxsogi.pro/misc/build/rhino1_7R3/xmlimplsrc/org/mozilla/javascript/xmlimpl/XML.java:47: error: XML is not abstract and does not override abstract method getFunctionProperty(Context,int) in XMLObject
    [javac] class XML extends XMLObjectImpl {
    [javac] ^
    [javac] /export/home/alp/srcs/oi-userland/components/openoffice/openoffice/build/i86/main/rhino/unxsogi.pro/misc/build/rhino1_7R3/xmlimplsrc/org/mozilla/javascript/xmlimpl/XMLList.java:48: error: XMLList is not abstract and does not override abstract method getFunctionProperty(Context,int) in XMLObject
    [javac] class XMLList extends XMLObjectImpl implements Function {
    [javac] ^
    [javac] 6 errors
    [javac] 1 warning

BUILD FAILED
/export/home/alp/srcs/oi-userland/components/openoffice/openoffice/build/i86/main/rhino/unxsogi.pro/misc/build/rhino1_7R3/build.xml:77: The following error occurred while executing this line:
/export/home/alp/srcs/oi-userland/components/openoffice/openoffice/build/i86/main/rhino/unxsogi.pro/misc/build/rhino1_7R3/build.xml:108: The following error occurred while executing this line:
/export/home/alp/srcs/oi-userland/components/openoffice/openoffice/build/i86/main/rhino/unxsogi.pro/misc/build/rhino1_7R3/xmlimplsrc/build.xml:60: The following error occurred while executing this line:
/export/home/alp/srcs/oi-userland/components/openoffice/openoffice/build/i86/main/rhino/unxsogi.pro/misc/build/rhino1_7R3/xmlimplsrc/build.xml:77: Compile failed; see the compiler error output for details.