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.
The fix will go into 2.4.6. (to be released most probably next week).
CU
Arno