-
Bug
-
Resolution: Fixed
-
P4
-
8, 11, 17, 18, 19
-
b04
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8299446 | 17.0.7-oracle | Ramesh Gangadhar | P4 | Resolved | Fixed | b01 |
JDK-8301590 | 17.0.7 | Goetz Lindenmaier | P4 | Resolved | Fixed | b01 |
JDK-8299458 | 11.0.19-oracle | Ramesh Gangadhar | P4 | Resolved | Fixed | b01 |
JDK-8301598 | 11.0.19 | Goetz Lindenmaier | P4 | Resolved | Fixed | b01 |
HttpServer server = //create server;
server.start();
try {
//the test
server.stop();
} catch (Throwable) {
//fail
}
The server.stop() does not get executed in case of encountering a failure. As a result, the test may get hung until a timeout. It should be easy enough to update the test to close the server in failure scenario too.
- backported by
-
JDK-8299446 Change java/util/zip/ZipFile/DeleteTempJar.java to stop HttpServer cleanly in case of exceptions
- Resolved
-
JDK-8299458 Change java/util/zip/ZipFile/DeleteTempJar.java to stop HttpServer cleanly in case of exceptions
- Resolved
-
JDK-8301590 Change java/util/zip/ZipFile/DeleteTempJar.java to stop HttpServer cleanly in case of exceptions
- Resolved
-
JDK-8301598 Change java/util/zip/ZipFile/DeleteTempJar.java to stop HttpServer cleanly in case of exceptions
- Resolved
- links to
-
Commit openjdk/jdk11u-dev/b10ad197
-
Commit openjdk/jdk17u-dev/c9fac0e3
-
Commit openjdk/jdk/784fa0ad
-
Review openjdk/jdk11u-dev/1699
-
Review openjdk/jdk17u-dev/1127
-
Review openjdk/jdk/9293