+1
-phil.
On 6/7/18, 5:43 PM, Sergey Bylokhov wrote:
Hello.
Please review the fix for jdk11.
Bug: https://bugs.openjdk.java.net/browse/JDK-6608234
Webrev: http://cr.openjdk.java.net/~serb/6608234/webrev.00
CSR: https://bugs.openjdk.java.net/browse/JDK-8204587
The SwingWorker.get(XX) methods copy the text of exceptions from the
parent class, but the text for CancellationException is not copied,
because CancellationException is unchecked exception and not declared
in the method.
The similar bug was fixed for the parent class[1], so I used the same
approach and add a "@throws CancellationException {@inheritDoc}" to
the methods.
[1] https://bugs.openjdk.java.net/browse/JDK-6299797