mirror of
https://github.com/openjdk/jdk.git
synced 2026-03-17 03:13:11 +00:00
8026186: gc/metaspace/CompressedClassSpaceSizeInJmapHeap.java Compilation failed
After a method rename in JDK-8014905 the mentioned test did not compile any more. Fix the uses of the affected method. Reviewed-by: jwilhelm, mgerdin, jmasa
This commit is contained in:
parent
588c91b042
commit
fa38a2edca
@ -59,7 +59,7 @@ public class JMapHProfLargeHeapTest {
|
||||
// If we are on MacOSX, test if JMap tool is signed, otherwise return
|
||||
// since test will fail with privilege error.
|
||||
if (Platform.isOSX()) {
|
||||
String jmapToolPath = JDKToolFinder.getCurrentJDKTool("jmap");
|
||||
String jmapToolPath = JDKToolFinder.getTestJDKTool("jmap");
|
||||
ProcessBuilder codesignProcessBuilder = new ProcessBuilder(
|
||||
"codesign", "-v", jmapToolPath);
|
||||
Process codesignProcess = codesignProcessBuilder.start();
|
||||
|
||||
@ -56,7 +56,7 @@ public class JDKToolLauncher {
|
||||
if (useCompilerJDK) {
|
||||
executable = JDKToolFinder.getJDKTool(tool);
|
||||
} else {
|
||||
executable = JDKToolFinder.getCurrentJDKTool(tool);
|
||||
executable = JDKToolFinder.getTestJDKTool(tool);
|
||||
}
|
||||
vmArgs.addAll(Arrays.asList(ProcessTools.getPlatformSpecificVMArgs()));
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user