mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-19 02:24:40 +02:00
8178347: Process and ProcessHandle getPid method name inconsistency
Reviewed-by: hseigel
This commit is contained in:
parent
35d89151e8
commit
6f92b33cc9
14 changed files with 26 additions and 26 deletions
|
@ -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 @@ public class Testlibadimalloc {
|
|||
|
||||
// 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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue