Details
-
Type:
Bug
-
Status:
Closed
-
Priority:
Critical
-
Resolution: Fixed
-
Affects Version/s: 1.0-JSR-4
-
Fix Version/s: 1.0-JSR-6
-
Component/s: None
-
Labels:None
-
Environment:Java 5 only
-
Testcase included:yes
-
Number of attachments :
Description
Posted on behalf of Stefan Roock
try this (is for WinXp command shell, adapt for others)
set CLASSPATH=.
echo class Bla{ def bla(){1}} > Bla.groovy
groovy -e "assert 1==new Bla().bla()"
it works fine with JDK 1.4
with JDK 1.5 you get
org.codehaus.groovy.control.MultipleCompilationErrorsException: startup failed, script_from_command_line: 1: unable to resolve class Bla
@ line 1, column 11.
would be nice if someone could test this issue with cvs head at last from 03/03/2006