Details
-
Bug
-
Status: Closed
-
Critical
-
Resolution: Fixed
-
None
-
None
-
None
Description
While javac and other compilers accept that files in classpath may not exist, groovyc does not, because it passes each file to AntClassLoader.addPathElement and fails.
The fix would be to change line 603 of Groovyc.java with
603c603
< if (!found)
—
> if (!found && new File(cpEntry).exists() )