Skip to content

Commit

Permalink
[GR-44986] Fix LinkStrategy's filename-only links
Browse files Browse the repository at this point in the history
PullRequest: graal/15396
  • Loading branch information
petalex committed Sep 8, 2023
2 parents 65d3313 + 276e344 commit 365052a
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -1416,7 +1416,7 @@ default void link(AbstractPrinter<?> printer, Path path, boolean filenameOnly) {
if (filenameOnly) {
Path filename = normalized.getFileName();
if (filename != null) {
name = normalized.toString();
name = filename.toString();
} else {
throw VMError.shouldNotReachHere("filename should never be null, illegal path: " + path);
}
Expand Down

0 comments on commit 365052a

Please sign in to comment.