mirror of
https://github.com/apache/maven-mvnd.git
synced 2025-09-22 12:01:16 +00:00
Fix toLowerCase() to use Locale.ROOT
This commit is contained in:
@@ -103,7 +103,7 @@ public class IpcClient {
|
||||
: JavaVersion.getJavaSpec() >= 16.0f ? SocketFamily.unix : SocketFamily.inet;
|
||||
|
||||
Path lockPath = this.lockPath.toAbsolutePath().normalize();
|
||||
Path lockFile = lockPath.resolve(".maven-resolver-ipc-lock-" + family.name().toLowerCase());
|
||||
Path lockFile = lockPath.resolve(".maven-resolver-ipc-lock-" + family.name().toLowerCase(Locale.ROOT));
|
||||
if (!Files.isRegularFile(lockFile)) {
|
||||
if (!Files.isDirectory(lockFile.getParent())) {
|
||||
Files.createDirectories(lockFile.getParent());
|
||||
|
Reference in New Issue
Block a user