]> source.dussan.org Git - aspectj.git/commit
Unify classpath handling in CompileSpec & RunSpec
authorAlexander Kriegisch <Alexander@Kriegisch.name>
Thu, 11 Mar 2021 11:32:56 +0000 (18:32 +0700)
committerAlexander Kriegisch <Alexander@Kriegisch.name>
Thu, 11 Mar 2021 11:34:30 +0000 (18:34 +0700)
commitee2817f3e100444b38ed60a39bd745823985bc3e
tree773eb1e3fbc20f65d82f8b7cc3548d92438ef31e
parentf7d471f68281185566a3454dc6ac89cfa0c72f10
Unify classpath handling in CompileSpec & RunSpec

Replace directory separator '/' and surrogate path separator ',' by
platform-specific separators File.separatorChar and
File.pathSeparatorChar, respectively. Also make sure that replacement
occurs during write access, not read access. This was handled
differently in both sibling classes.

I am not sure if that helps to fix any Linux CI tests, but it is worth a
try.

Signed-off-by: Alexander Kriegisch <Alexander@Kriegisch.name>
testing/src/test/java/org/aspectj/testing/CompileSpec.java
testing/src/test/java/org/aspectj/testing/RunSpec.java