| Summary: | dev-java/groovy-1.8.5: groovy still ignores --classpath | ||
|---|---|---|---|
| Product: | Gentoo Linux | Reporter: | Andrew Bovill <abovill> |
| Component: | [OLD] Java | Assignee: | Java team <java> |
| Status: | RESOLVED DUPLICATE | ||
| Severity: | normal | ||
| Priority: | Normal | ||
| Version: | unspecified | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Package list: | Runtime testing required: | --- | |
*** This bug has been marked as a duplicate of bug 347842 *** |
This is taken from #347842 and still affects groovy-1.8.5 groovy ignores --classpath given on command line. Reproducible: Always Steps to Reproduce: # echo 'class A {}' > A.groovy # groovy --classpath . -e 'new A()' Actual Results: org.codehaus.groovy.control.MultipleCompilationErrorsException: startup failed: script_from_command_line: 1: unable to resolve class A @ line 1, column 1. new A() ^ 1 error Expected Results: no error This one works correctly: # CLASSPATH=. groovy -e 'new A()'