RFR: 8277090 : jsr166 refresh for jdk19
Jason Mehrens
jason_mehrens at hotmail.com
Tue May 3 16:14:07 UTC 2022
Hi Doug,
In Future::exceptionNow() and Future::state() I would think we would want to catch CancellationException since the implementation of the Future is not known. Even though we pre-screen the state I would imagine there could be an implementation that prefers cancellation over normal completion.
For Future::resultNow() and FutureTask::resultNow(), is it intentional that we are not chaining just ExecutionException::getCause() / (Throwable) outcome as the cause of the IllegalStateException? Chaining that might help with debugging even if that is not how it is suppose to be used.
Jason
________________________________________
From: core-libs-dev <core-libs-dev-retn at openjdk.java.net> on behalf of Doug Lea <dl at openjdk.java.net>
Sent: Sunday, May 1, 2022 7:29 AM
To: core-libs-dev at openjdk.java.net
Subject: RFR: 8277090 : jsr166 refresh for jdk19
This is the jsr166 refresh for jdk19. See https://bugs.openjdk.java.net/browse/JDK-8285450 and https://bugs.openjdk.java.net/browse/JDK-8277090
-------------
Commit messages:
- whitespace
- sync with loom
- 8276202: LogFileOutput.invalid_file_vm asserts when being executed from a read only working directory
- 8284981: Support the vectorization of some counting-down loops in SLP
- 8284992: Fix misleading Vector API doc for LSHR operator
- 8254759: [TEST_BUG] [macosx] javax/swing/JInternalFrame/4202966/IntFrameCoord.html fails
- 8285945: [BACKOUT] JDK-8285802 AArch64: Consistently handle offsets in MacroAssembler as 64-bit quantities
- 8284331: Add sanity check for signal handler modification warning.
- 8285773: Replace Algorithms.eatMemory(...) with WB.fullGC() in vmTestbase/gc/gctests/ReferencesGC/ReferencesGC.java
- 8284883: JVM crash: guarantee(sect->end() <= sect->limit()) failed: sanity on AVX512
- ... and 6 more: https://git.openjdk.java.net/jdk/compare/3d07b3c7...501a21e8
Changes: https://git.openjdk.java.net/jdk/pull/8490/files
Webrev: https://webrevs.openjdk.java.net/?repo=jdk&pr=8490&range=00
Issue: https://bugs.openjdk.java.net/browse/JDK-8277090
Stats: 3750 lines in 30 files changed: 2060 ins; 656 del; 1034 mod
Patch: https://git.openjdk.java.net/jdk/pull/8490.diff
Fetch: git fetch https://git.openjdk.java.net/jdk pull/8490/head:pull/8490
PR: https://git.openjdk.java.net/jdk/pull/8490
More information about the core-libs-dev
mailing list