|
86 | 86 | * #isHeldExclusively} reports whether synchronization is exclusively
|
87 | 87 | * held with respect to the current thread, method {@link #release}
|
88 | 88 | * invoked with the current {@link #getState} value fully releases
|
89 |
| - * this object, and {@link #acquire}, given this saved state value, |
90 |
| - * eventually restores this object to its previous acquired state. No |
91 |
| - * {@code AbstractQueuedSynchronizer} method otherwise creates such a |
| 89 | + * this object, and the underlying version of {@link #acquire(int)}, |
| 90 | + * given this saved state value, eventually restores this object to |
| 91 | + * its previous acquired state. |
| 92 | + * No {@code AbstractQueuedSynchronizer} method otherwise creates such a |
92 | 93 | * condition, so if this constraint cannot be met, do not use it. The
|
93 | 94 | * behavior of {@link ConditionObject} depends of course on the
|
94 | 95 | * semantics of its synchronizer implementation.
|
@@ -1682,8 +1683,8 @@ private ConditionNode newConditionNode() {
|
1682 | 1683 | * <li>Invoke {@link #release} with saved state as argument,
|
1683 | 1684 | * throwing IllegalMonitorStateException if it fails.
|
1684 | 1685 | * <li>Block until signalled.
|
1685 |
| - * <li>Reacquire by invoking specialized version of |
1686 |
| - * {@link #acquire} with saved state as argument. |
| 1686 | + * <li>Reacquire by invoking underlying version of |
| 1687 | + * {@link #acquire(int)} with saved state as argument. |
1687 | 1688 | * </ol>
|
1688 | 1689 | */
|
1689 | 1690 | public final void awaitUninterruptibly() {
|
@@ -1725,8 +1726,8 @@ else if ((node.status & COND) != 0) {
|
1725 | 1726 | * <li>Invoke {@link #release} with saved state as argument,
|
1726 | 1727 | * throwing IllegalMonitorStateException if it fails.
|
1727 | 1728 | * <li>Block until signalled or interrupted.
|
1728 |
| - * <li>Reacquire by invoking specialized version of |
1729 |
| - * {@link #acquire} with saved state as argument. |
| 1729 | + * <li>Reacquire by invoking underlying version of |
| 1730 | + * {@link #acquire(int)} with saved state as argument. |
1730 | 1731 | * <li>If interrupted while blocked in step 4, throw InterruptedException.
|
1731 | 1732 | * </ol>
|
1732 | 1733 | */
|
@@ -1777,8 +1778,8 @@ public final void await() throws InterruptedException {
|
1777 | 1778 | * <li>Invoke {@link #release} with saved state as argument,
|
1778 | 1779 | * throwing IllegalMonitorStateException if it fails.
|
1779 | 1780 | * <li>Block until signalled, interrupted, or timed out.
|
1780 |
| - * <li>Reacquire by invoking specialized version of |
1781 |
| - * {@link #acquire} with saved state as argument. |
| 1781 | + * <li>Reacquire by invoking underlying version of |
| 1782 | + * {@link #acquire(int)} with saved state as argument. |
1782 | 1783 | * <li>If interrupted while blocked in step 4, throw InterruptedException.
|
1783 | 1784 | * </ol>
|
1784 | 1785 | */
|
@@ -1821,8 +1822,8 @@ public final long awaitNanos(long nanosTimeout)
|
1821 | 1822 | * <li>Invoke {@link #release} with saved state as argument,
|
1822 | 1823 | * throwing IllegalMonitorStateException if it fails.
|
1823 | 1824 | * <li>Block until signalled, interrupted, or timed out.
|
1824 |
| - * <li>Reacquire by invoking specialized version of |
1825 |
| - * {@link #acquire} with saved state as argument. |
| 1825 | + * <li>Reacquire by invoking underlying version of |
| 1826 | + * {@link #acquire(int)} with saved state as argument. |
1826 | 1827 | * <li>If interrupted while blocked in step 4, throw InterruptedException.
|
1827 | 1828 | * <li>If timed out while blocked in step 4, return false, else true.
|
1828 | 1829 | * </ol>
|
@@ -1864,8 +1865,8 @@ public final boolean awaitUntil(Date deadline)
|
1864 | 1865 | * <li>Invoke {@link #release} with saved state as argument,
|
1865 | 1866 | * throwing IllegalMonitorStateException if it fails.
|
1866 | 1867 | * <li>Block until signalled, interrupted, or timed out.
|
1867 |
| - * <li>Reacquire by invoking specialized version of |
1868 |
| - * {@link #acquire} with saved state as argument. |
| 1868 | + * <li>Reacquire by invoking underlying version of |
| 1869 | + * {@link #acquire(int)} with saved state as argument. |
1869 | 1870 | * <li>If interrupted while blocked in step 4, throw InterruptedException.
|
1870 | 1871 | * <li>If timed out while blocked in step 4, return false, else true.
|
1871 | 1872 | * </ol>
|
|
0 commit comments