8379193: Incorrect build ID path in SATestUtils.java

Reviewed-by: kevinw, ysuenaga
This commit is contained in:
Albert Mingkun Yang 2026-03-09 09:10:41 +00:00
parent 321bf3f1fa
commit d6943c532e

View File

@ -333,7 +333,7 @@ public class SATestUtils {
.get();
String dir = buildID.substring(0, 2);
String file = buildID.substring(2);
debuginfoPath = Path.of("/usr/lib/debug/.build_id", dir, file + ".debug");
debuginfoPath = Path.of("/usr/lib/debug/.build-id", dir, file + ".debug");
exists = Files.exists(debuginfoPath);
} catch (NoSuchElementException _) {
// return null if vDSO not found.