src/java.base/share/classes/java/lang/Object.java
changeset 53563 a4b7ea85d668
parent 52953 b75a44aad06c
child 58775 ba524a5f7cc2
equal deleted inserted replaced
53559:1ae0b76bb5df 53563:a4b7ea85d668
     1 /*
     1 /*
     2  * Copyright (c) 1994, 2018, Oracle and/or its affiliates. All rights reserved.
     2  * Copyright (c) 1994, 2019, Oracle and/or its affiliates. All rights reserved.
     3  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     3  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     4  *
     4  *
     5  * This code is free software; you can redistribute it and/or modify it
     5  * This code is free software; you can redistribute it and/or modify it
     6  * under the terms of the GNU General Public License version 2 only, as
     6  * under the terms of the GNU General Public License version 2 only, as
     7  * published by the Free Software Foundation.  Oracle designates this
     7  * published by the Free Software Foundation.  Oracle designates this
   428      *         ... // Perform action appropriate to condition or timeout
   428      *         ... // Perform action appropriate to condition or timeout
   429      *     }
   429      *     }
   430      * }</pre>
   430      * }</pre>
   431      *
   431      *
   432      * @param  timeoutMillis the maximum time to wait, in milliseconds
   432      * @param  timeoutMillis the maximum time to wait, in milliseconds
   433      * @param  nanos   additional time, in nanoseconds, in the range range 0-999999 inclusive
   433      * @param  nanos   additional time, in nanoseconds, in the range 0-999999 inclusive
   434      * @throws IllegalArgumentException if {@code timeoutMillis} is negative,
   434      * @throws IllegalArgumentException if {@code timeoutMillis} is negative,
   435      *         or if the value of {@code nanos} is out of range
   435      *         or if the value of {@code nanos} is out of range
   436      * @throws IllegalMonitorStateException if the current thread is not
   436      * @throws IllegalMonitorStateException if the current thread is not
   437      *         the owner of the object's monitor
   437      *         the owner of the object's monitor
   438      * @throws InterruptedException if any thread interrupted the current thread before or
   438      * @throws InterruptedException if any thread interrupted the current thread before or