JDK 22 |
---|
22 b27Fixed |
Relates :
|
ForkJoinPool.invoke(ForkJoinTask) specifies that it rethrows errors and unchecked exceptions. It doesn't specify the behavior for tasks that throw a checked exception. The behavior in JDK 19-21 was to throw RuntimeException with the checked exception as the cause, this is probably the only sane behavior can that can be specified for this scenario.
|