-
Type:
Enhancement
-
Resolution: Fixed
-
Priority:
P4
-
Affects Version/s: 27
-
Component/s: core-libs
-
b04
| Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
|---|---|---|---|---|---|---|
| JDK-8376027 | 26.0.1 | Dukebot | P4 | Resolved | Fixed | master |
| JDK-8376028 | 25.0.3-oracle | Kieran Farrell | P4 | Resolved | Fixed | master |
sslContext = new SimpleSSLContext().get();
if (sslContext == null) {
throw new AssertionError("Unexpected null sslContext");
}
Introduce a new static factory method that is guaranteed to return a non-null `SSLContext`, or throw an exception if it fails to do so.
The migration of tests to the new method, and the removal of old methods will be implemented in follow-up ticket(s) to help with reviewing and backporting.
- backported by
-
JDK-8376027 Add a null-safe static factory method to "jdk.test.lib.net.SimpleSSLContext"
-
- Resolved
-
-
JDK-8376028 Add a null-safe static factory method to "jdk.test.lib.net.SimpleSSLContext"
-
- Resolved
-
- blocks
-
JDK-8373515 Migrate "test/jdk/java/net/httpclient/" to null-safe "SimpleSSLContext" methods
-
- Resolved
-
-
JDK-8373537 Migrate "test/jdk/com/sun/net/httpserver/" to null-safe "SimpleSSLContext" methods
-
- Resolved
-
-
JDK-8373538 Migrate all tests to null-safe "SimpleSSLContext" methods
-
- Resolved
-
- links to
-
Commit(master)
openjdk/jdk/629e4ac6
-
Review(jdk26)
openjdk/jdk/29064
-
Review(master)
openjdk/jdk/28765