Closed
Bug 464467
Opened 17 years ago
Closed 6 years ago
rhino contains conflicting class in rhino-examples.jar
Categories
(Rhino Graveyard :: Core, defect)
Tracking
(Not tracked)
RESOLVED
INACTIVE
People
(Reporter: tschmidt, Unassigned)
Details
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.0.4) Gecko/2008103100 SUSE/3.0.4-1.1 Firefox/3.0.4
Build Identifier: 1.7.5
rhino-examples.jar contains a class called "File" in the default namespace.
This breaks compilation of code when for example ant is used to build a project
and the rhino-examples.jars is sourced.
The compiler will use rhinos File class instead of java.io.File then which
is a hard to find error.
For google: the error looks like:
[javac] /space/workspace/features/keeper-suse/tools/src/UserUpdate.java:215: cannot find symbol
[javac] symbol : constructor File(java.lang.String)
[javac] location: class File
[javac] File idFile = new File("...");
Reproducible: Always
Steps to Reproduce:
write code with
new File("bla")
inside and have rhino examples in classpath
Comment 1•6 years ago
|
||
Closing. Bug management is now done here:
https://github.com/mozilla/rhino
Status: UNCONFIRMED → RESOLVED
Closed: 6 years ago
Resolution: --- → INACTIVE
You need to log in
before you can comment on or make changes to this bug.
Description
•