Closed Bug 305907 Opened 19 years ago Closed 19 years ago

rhino return org.mozilla.javascript.EvaluatorException : class java.util.Enumeration is interface or abstract

Categories

(Rhino Graveyard :: Compiler, defect)

Other
Other
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 13415

People

(Reporter: erven.queau, Assigned: igor)

Details

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.6) Gecko/20040113
Build Identifier: Rhino 1.6R1 on Solaris9 + Java 1.4.2_06

With the following example found in your web site at
http://lxr.mozilla.org/mozilla/source/js/rhino/examples/enum.js
we obtain the following java exception :
org.mozilla.javascript.EvaluatorException : class java.util.Enumeration is
interface or abstract

This problem appears on Solaris 9 with JAVA 1.4.2_06.
This problem does not appears on Solaris 8 with JAVA 1.4.0

Reproducible: Always

Steps to Reproduce:
1.we call the evaluateString method of org.mozilla.javascript.Context class with
the javascript propose as example at
http://lxr.mozilla.org/mozilla/source/js/rhino/examples/enum.js
2.This method return the Exception : org.mozilla.javascript.EvaluatorException :
class java.util.Enumeration is interface or abstract
3.

Actual Results:  
Rhino return the Exception : org.mozilla.javascript.EvaluatorException : class
java.util.Enumeration is interface or abstract

Expected Results:  
The same script http://lxr.mozilla.org/mozilla/source/js/rhino/examples/enum.js
with the same version of Rhino on Solaris 8 with Java 1.4.0 does not produce
Exception.

I find this problem with Rhino 1.5R2 and I confirm tha the problem persist with
1.6R1.

*** This bug has been marked as a duplicate of 13415 ***
Status: NEW → RESOLVED
Closed: 19 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.