Integrated: 8282036: Change java/util/zip/ZipFile/DeleteTempJar.java to stop HttpServer cleanly in case of exceptions

Thejasvi Voniadka tvoniadka at openjdk.org
Tue Jun 28 01:58:00 UTC 2022


On Mon, 27 Jun 2022 04:50:09 GMT, Thejasvi Voniadka <tvoniadka at openjdk.org> wrote:

> This is a simple change to add some protective code to java/util/zip/ZipFile/DeleteTempJar.java so that the clean-up is more complete in the event of encountering an any exceptions while running. In the present state, the server.stop() does not get executed in case of encountering a failure. As a result, the test may get hung until a timeout. This fix should address the scenario.
> 
> The test passes on all supported platforms post fix.

This pull request has now been integrated.

Changeset: 784fa0ad
Author:    Thejasvi Voniadka <tvoniadka at openjdk.org>
Committer: Jaikiran Pai <jpai at openjdk.org>
URL:       https://git.openjdk.org/jdk/commit/784fa0add77a3e473e2cdbdcc27b3ed076678565
Stats:     12 lines in 1 file changed: 4 ins; 1 del; 7 mod

8282036: Change java/util/zip/ZipFile/DeleteTempJar.java to stop HttpServer cleanly in case of exceptions

Reviewed-by: jpai, alanb, dfuchs

-------------

PR: https://git.openjdk.org/jdk/pull/9293


More information about the core-libs-dev mailing list