Skip to content

Commit

Permalink
Paths in native-image property files are Unix-like.
Browse files Browse the repository at this point in the history
  • Loading branch information
ansalond committed Apr 12, 2019
1 parent b5f8873 commit 93dcd6e
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -701,7 +701,7 @@ private Stream<String> getLauncherClasses() {
private Stream<String> getRelativeLauncherClassPath() {
return optionRegistry.getEnabledOptionsStream(MacroOptionKind.Language, MacroOptionKind.Tool)
.map(lang -> lang.getProperty("LauncherClassPath"))
.filter(Objects::nonNull).flatMap(Pattern.compile(File.pathSeparator, Pattern.LITERAL)::splitAsStream);
.filter(Objects::nonNull).flatMap(Pattern.compile(":", Pattern.LITERAL)::splitAsStream);
}

protected static String consolidateSingleValueArg(Collection<String> args, String argPrefix) {
Expand Down

0 comments on commit 93dcd6e

Please sign in to comment.