Details
-
Type:
Bug
-
Status:
Resolved
-
Priority:
Blocker
-
Resolution: Fixed
-
Affects Version/s: None
-
Fix Version/s: None
-
Component/s: None
-
Labels:None
-
Environment:Win XP. Sun JDK 1.5.
-
Number of attachments :
Description
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.
Thank you for your analysis.
The fix will go into 2.4.6. (to be released most probably next week).
CU
Arno