hotspot/test/runtime/libadimalloc.solaris.sparc/Testlibadimalloc.java
changeset 44633 d2f5e8921045
parent 40631 ed82623d7831
--- a/hotspot/test/runtime/libadimalloc.solaris.sparc/Testlibadimalloc.java	Thu Apr 06 00:03:18 2017 -0700
+++ b/hotspot/test/runtime/libadimalloc.solaris.sparc/Testlibadimalloc.java	Wed Apr 12 11:43:49 2017 -0400
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 2015, 2016, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2015, 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
@@ -67,7 +67,7 @@
 
         // Start the process, get the pid and then wait for the test to finish
         Process process = builder.start();
-        long pid = process.getPid();
+        long pid = process.pid();
         int retval = process.waitFor();
 
         // make sure the SEGVOverflow test crashed