RFR: 8344228: Revisit SecurityManager usage in java.net.http after JEP 486 integration [v4]
Daniel Fuchs
dfuchs at openjdk.org
Fri Nov 15 14:07:11 UTC 2024
On Fri, 15 Nov 2024 09:10:51 GMT, Daniel Fuchs <dfuchs at openjdk.org> wrote:
>> test/jdk/java/net/httpclient/whitebox/java.net.http/jdk/internal/net/http/SimpleSSLContext.java line 45:
>>
>>> 43: * Creates a simple usable SSLContext for SSLSocketFactory
>>> 44: * or a HttpsServer using a default keystore in the test tree.
>>> 45: */
>>
>> Can the securityExceptions local variable be removed? And the catch (SecurityException) {} block?
>
> hmmm... probably. if there's not any custom code that might throw it in there, we can remove it. good point.
Done
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/22118#discussion_r1843850172
More information about the net-dev
mailing list