Skip to content

Commit 365052a

Browse files
committed
[GR-44986] Fix LinkStrategy's filename-only links
PullRequest: graal/15396
2 parents 65d3313 + 276e344 commit 365052a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

substratevm/src/com.oracle.svm.hosted/src/com/oracle/svm/hosted/ProgressReporter.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1416,7 +1416,7 @@ default void link(AbstractPrinter<?> printer, Path path, boolean filenameOnly) {
14161416
if (filenameOnly) {
14171417
Path filename = normalized.getFileName();
14181418
if (filename != null) {
1419-
name = normalized.toString();
1419+
name = filename.toString();
14201420
} else {
14211421
throw VMError.shouldNotReachHere("filename should never be null, illegal path: " + path);
14221422
}

0 commit comments

Comments
 (0)