From 181942dab97188fd400c28233f44fa97a0cdc071 Mon Sep 17 00:00:00 2001 From: Roberto Cortez Date: Wed, 6 Dec 2023 12:33:09 +0000 Subject: [PATCH] Consistent file URI for folders and jars (cherry picked from commit 2c3c3c19f37e657bedfb60c5eff77948bb238b11) --- .../java/io/quarkus/runtime/configuration/ConfigDiagnostic.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/runtime/src/main/java/io/quarkus/runtime/configuration/ConfigDiagnostic.java b/core/runtime/src/main/java/io/quarkus/runtime/configuration/ConfigDiagnostic.java index 41d698b81a3d1..574ae74cf169e 100644 --- a/core/runtime/src/main/java/io/quarkus/runtime/configuration/ConfigDiagnostic.java +++ b/core/runtime/src/main/java/io/quarkus/runtime/configuration/ConfigDiagnostic.java @@ -184,7 +184,7 @@ public static Set configFiles(Path configFilesLocation) throws IOExcepti Set configFiles = new HashSet<>(); try (DirectoryStream candidates = Files.newDirectoryStream(configFilesLocation, CONFIG_FILES_FILTER)) { for (Path candidate : candidates) { - configFiles.add(candidate.toUri().getPath()); + configFiles.add(candidate.toUri().toURL().toString()); } } return configFiles;