Skip to content

Commit

Permalink
Fix quarkusio#31307: Correct Windows paths in native image
Browse files Browse the repository at this point in the history
  • Loading branch information
melloware authored Feb 20, 2023
1 parent c0c0f70 commit e764575
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
public class ResourceHelper {

public static void registerResources(String resource) {
resource = resource.replace('\\', '/')); // correct Windows paths
Version currentGraalVmVersion = Version.getCurrent();
if (currentGraalVmVersion.compareTo(22, 3) >= 0) {
// Use the public API RuntimeResourceAccess with GraalVM >= 22.3
Expand Down

0 comments on commit e764575

Please sign in to comment.