On Fri, 11 Jun 2021 10:46:32 GMT, Ivan Šipka <[email protected]> wrote:
> @dfuch could you please review, thank you.
test/jdk/sun/net/www/http/KeepAliveStream/KeepAliveStreamCloseWithWrongContentLength.java
line 139:
> 137: is.close();
> 138: } catch (IOException e) {
> 139: throw new RuntimeException (e);
No need to catch and wrap since main is declared to throw Exception. Just let
IOException and NullPointerException percolate out of main...
-------------
PR: https://git.openjdk.java.net/jdk/pull/4472