RFR: 8290264 : java/util/concurrent/locks/Lock/OOMEInAQS.java fails with "exit code: 0" [v2]

Doug Lea dl at openjdk.org
Thu Jul 14 16:15:48 UTC 2022


On Thu, 14 Jul 2022 13:29:50 GMT, David Holmes <dholmes at openjdk.org> wrote:

>> Doug Lea has updated the pull request incrementally with one additional commit since the last revision:
>> 
>>   try/lock() style
>
> test/jdk/java/util/concurrent/locks/Lock/OOMEInAQS.java line 108:
> 
>> 106:                     cond.signalAll();
>> 107:                 } finally {
>> 108:                     lock.unlock();
> 
> Pre-existing but the lock() should be before the try block (even if now it can't throw exceptions).

Thanks.; changed

-------------

PR: https://git.openjdk.org/jdk/pull/9491


More information about the core-libs-dev mailing list