Issue Details (XML | Word | Printable)

Key: JANINO-65
Type: Bug Bug
Status: Resolved Resolved
Resolution: Fixed
Priority: Blocker Blocker
Assignee: Arno Unkrig
Reporter: Mo DeJong
Votes: 0
Watchers: 1
Operations

If you were logged in you would be able to see more operations.
Janino

Janino 2.4.5 does not compile with JDK 1.5

Created: 18/Jul/06 05:40 PM   Updated: 20/Aug/06 04:09 PM
Component/s: None
Affects Version/s: None
Fix Version/s: None

Time Tracking:
Not Specified

File Attachments: 1. Text File jgrep.patch (0.6 kB)

Environment: Win XP. Sun JDK 1.5.


 Description  « Hide
Janino fails to compile with the following error:

javac -g \
-d bjanino \
org/codehaus/janino/*.java \
org/codehaus/janino/tools/*.java \
org/codehaus/janino/util/*.java \
org/codehaus/janino/util/enumerator/*.java \
org/codehaus/janino/util/iterator/*.java \
org/codehaus/janino/util/resource/*.java
org/codehaus/janino/tools/JGrep.java:240: reference to Scanner is ambiguous, bot
h class org.codehaus.janino.Scanner in org.codehaus.janino and class java.util.S
canner in java.util match
private static MethodInvocationTarget parseMethodInvocationPattern(String mi
p) throws Scanner.ScanException, IOException, Parser.ParseException {

Attached is jgrep.patch which fixes the problem.



 All   Comments   Work Log   Change History      Sort Order: Ascending order - Click to sort in descending order
Arno Unkrig added a comment - 15/Aug/06 04:16 PM
Thank you for your analysis.

The fix will go into 2.4.6. (to be released most probably next week).

CU

Arno


Arno Unkrig added a comment - 20/Aug/06 04:09 PM
Resolved with JANINO 2.4.6.