Hm... it does compile for me from CVS HEAD - where does the source  
code you use come from?

Attila.

On 2008.02.20., at 9:34, [EMAIL PROTECTED] wrote:

> ...and I'm probably not the one to fix it:
>
> .
> .
> .
> compile:
>
> compile-most:
>    [javac] Compiling 115 source files to /Users/shane/Projects/Java/
> Rhino/mozilla/js/rhino/build/classes
>    [javac] /Users/shane/Projects/Java/Rhino/mozilla/js/rhino/src/org/
> mozilla/javascript/JavaAdapter.java:571: warning: [deprecation]
> call(org.mozilla.javascript.ContextAction) in
> org.mozilla.javascript.Context has been deprecated
>    [javac]         return (Scriptable)Context.call(new
> ContextAction() {
>    [javac]                                   ^
>    [javac] /Users/shane/Projects/Java/Rhino/mozilla/js/rhino/src/org/
> mozilla/javascript/ScriptRuntime.java:1964: warning: [deprecation]
> enter() in org.mozilla.javascript.Context has been deprecated
>    [javac]             Context cx = Context.enter();
>    [javac]                                 ^
>    [javac] /Users/shane/Projects/Java/Rhino/mozilla/js/rhino/src/org/
> mozilla/javascript/optimizer/OptRuntime.java:240: warning:
> [deprecation] call(org.mozilla.javascript.ContextAction) in
> org.mozilla.javascript.Context has been deprecated
>    [javac]         Context.call(new ContextAction() {
>    [javac]                ^
>    [javac] Note: Some input files use unchecked or unsafe operations.
>    [javac] Note: Recompile with -Xlint:unchecked for details.
>    [javac] 3 warnings
>     [copy] Copying 2 files to /Users/shane/Projects/Java/Rhino/
> mozilla/js/rhino/build/classes
>
> compile-jdk15:
>    [javac] Compiling 1 source file to /Users/shane/Projects/Java/
> Rhino/mozilla/js/rhino/build/classes
>    [javac] /Users/shane/Projects/Java/Rhino/mozilla/js/rhino/src/org/
> mozilla/javascript/ScriptRuntime.java:1964: warning: [deprecation]
> enter() in org.mozilla.javascript.Context has been deprecated
>    [javac]             Context cx = Context.enter();
>    [javac]                                 ^
>    [javac] /Users/shane/Projects/Java/Rhino/mozilla/js/rhino/src/org/
> mozilla/javascript/IRFactory.java:1595: cannot find symbol
>    [javac] symbol  : variable itsIsGenerator
>    [javac] location: class org.mozilla.javascript.FunctionNode
>    [javac]
> ((FunctionNode)parser.currentScriptOrFn).itsIsGenerator = true;
>    [javac]             ^
>    [javac] /Users/shane/Projects/Java/Rhino/mozilla/js/rhino/src/org/
> mozilla/javascript/JavaAdapter.java:571: warning: [deprecation]
> call(org.mozilla.javascript.ContextAction) in
> org.mozilla.javascript.Context has been deprecated
>    [javac]         return (Scriptable)Context.call(new
> ContextAction() {
>    [javac]                                   ^
>    [javac] Note: Some input files use unchecked or unsafe operations.
>    [javac] Note: Recompile with -Xlint:unchecked for details.
>    [javac] 1 error
>    [javac] 2 warnings
>
> BUILD FAILED
> /Users/shane/Projects/Java/Rhino/mozilla/js/rhino/build.xml:75: The
> following error occurred while executing this line:
> /Users/shane/Projects/Java/Rhino/mozilla/js/rhino/src/build.xml:79:
> Compile failed; see the compiler error output for details.
>
> Total time: 3 seconds
_______________________________________________
dev-tech-js-engine-rhino mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-tech-js-engine-rhino

Reply via email to