This is an automated email from the ASF dual-hosted git repository.
paulk pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/groovy.git
The following commit(s) were added to refs/heads/master by this push:
new 3405c7be6d make platform independent
3405c7be6d is described below
commit 3405c7be6d64f462a76b6a864aecdbdcbbe80e89
Author: Paul King <[email protected]>
AuthorDate: Wed Aug 10 16:53:37 2022 +1000
make platform independent
---
.../src/test/java/org/apache/groovy/perf/CompilerPerformanceTest.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git
a/subprojects/performance/src/test/java/org/apache/groovy/perf/CompilerPerformanceTest.java
b/subprojects/performance/src/test/java/org/apache/groovy/perf/CompilerPerformanceTest.java
index ac7064d472..4f5a5b7cfd 100644
---
a/subprojects/performance/src/test/java/org/apache/groovy/perf/CompilerPerformanceTest.java
+++
b/subprojects/performance/src/test/java/org/apache/groovy/perf/CompilerPerformanceTest.java
@@ -44,7 +44,7 @@ public class CompilerPerformanceTest {
if ("-cp".equals(arg)) {
isCp = true;
} else if (isCp) {
- for (String s : arg.split(":")) {
+ for (String s : arg.split(File.pathSeparator)) {
classpath.add(new File(s).toURI().toURL());
}
isCp = false;