8254350: CompletableFuture.get may swallow InterruptedException
-
Commit messages:
- JDK-8254350
Changes: https://git.openjdk.java.net/jdk16/pull/17/files
Webrev: https://webrevs.openjdk.java.net/?repo=jdk16&pr=17&range=00
Issue: https://bugs.openjdk.java.net/browse/JDK-8254350
This is for JDK16, as a precursor to fixing JDK-8258002.
While it is good to be using localized strings in the generated output, the
significance for JDK-8258002 is that the strings are now obtained from a
resource file, and not hardcoded in JavaScript file itself.
The source file `search.js` i
On Sun, 13 Dec 2020 00:19:59 GMT, Jonathan Gibbons wrote:
> This is for JDK16, as a precursor to fixing JDK-8258002.
>
> While it is good to be using localized strings in the generated output, the
> significance for JDK-8258002 is that the strings are now obtained from a
> resource file, and n
Given upcoming changes in the JLS terminology around the term "type", various
sections were renamed:
https://download.java.net/java/early_access/jdk16/docs/specs/class-terminology-jls.html
The @jls tags in the java.base module which refer to the renamed sections
should be updated.
Analogo
A student of mine send me a code that can be reduced to this code
---
import java.lang.invoke.MethodHandles;
import java.lang.invoke.VarHandle;
public class ThereIsABugButWhere {
private static final VarHandle TEXT;
static {
try {
TEXT = MethodHandles.lookup().findVarHandle(ThereIs