mirror of
https://github.com/openjdk/jdk.git
synced 2026-05-12 14:39:49 +00:00
8178731: compiler/ciReplay/SABase.java does not compile
Reviewed-by: iignatyev, sspitsyn
This commit is contained in:
parent
41acca8d4d
commit
ae7eebbe80
@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (c) 2016, Oracle and/or its affiliates. All rights reserved.
|
||||
* Copyright (c) 2016, 2017, Oracle and/or its affiliates. All rights reserved.
|
||||
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||
*
|
||||
* This code is free software; you can redistribute it and/or modify it
|
||||
@ -141,7 +141,7 @@ public class SABase extends CiReplayBase {
|
||||
if (Platform.isSolaris()) {
|
||||
try {
|
||||
OutputAnalyzer oa = ProcessTools.executeProcess("coreadm", "-p", "core",
|
||||
"" + ProcessHandle.current().getPid());
|
||||
"" + ProcessHandle.current().pid());
|
||||
oa.shouldHaveExitValue(0);
|
||||
} catch (Throwable t) {
|
||||
throw new Error("Can't launch coreadm: " + t, t);
|
||||
|
||||
@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (c) 2016, Oracle and/or its affiliates. All rights reserved.
|
||||
* Copyright (c) 2016, 2017, Oracle and/or its affiliates. All rights reserved.
|
||||
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||
*
|
||||
* This code is free software; you can redistribute it and/or modify it
|
||||
@ -60,7 +60,7 @@ public class SADebugDTest {
|
||||
return;
|
||||
}
|
||||
|
||||
long ourPid = ProcessHandle.current().getPid();
|
||||
long ourPid = ProcessHandle.current().pid();
|
||||
|
||||
// The string we are expecting in the debugd ouput
|
||||
String golden = String.format(GOLDEN, ourPid);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user