Skip to content

Commit b3bb8b4

Browse files
committed
Move SPI into services file
1 parent 60da219 commit b3bb8b4

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

java-compiler-testing/src/main/java/io/github/ascopes/jct/workspaces/impl/RamDirectoryImpl.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ public static RamDirectoryImpl newRamDirectory(String name) {
9090

9191
// MemoryFileSystem needs unique FS names to work correctly, so use a UUID to enforce this.
9292

93-
var uniqueName = name + ":" + UUID.randomUUID();
93+
var uniqueName = name + "-" + UUID.randomUUID();
9494
var fileSystem = MemoryFileSystemProvider.getInstance().createFileSystem(uniqueName);
9595
var path = fileSystem.getRootDirectories().iterator().next().resolve(uniqueName);
9696

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
# For some reason this is not detected correctly if we use the JPMS mechanism to deal with this
2+
# file. We fall back to the old mechanism instead to avoid this problem.
3+
io.github.ascopes.jct.workspaces.impl.MemoryFileSystemProvider$MemoryFileSystemUrlHandlerProvider

0 commit comments

Comments
 (0)