Skip to content

Commit

Permalink
Merge pull request #42445 from Thushara-Piyasekara/fix-42424
Browse files Browse the repository at this point in the history
Fix gradle task `:jballerina-unit-test:test` producing false negative test failures for master branch on Windows
  • Loading branch information
LakshanWeerasinghe authored Apr 4, 2024
2 parents 7149e0e + f6ca592 commit b8eab8d
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -323,6 +323,7 @@ public static ExitDetails run(CompileResult compileResult, List<String> javaOpts
String classPathString = System.getProperty("java.class.path") + classPath;
// Create an argument file for Windows to mitigate the long classpath issue.
if (IS_WINDOWS) {
classPathString = classPathString.replace(" ", "%20");
String classPathArgs = "classPathArgs";
try {
File classPathArgsFile = File.createTempFile(classPathArgs, ".txt");
Expand Down

0 comments on commit b8eab8d

Please sign in to comment.