RFR: JDK-8285504 Minor cleanup could be done in javax.net [v4]
Mark Powers
duke at openjdk.java.net
Thu Apr 28 16:40:41 UTC 2022
On Thu, 28 Apr 2022 16:27:08 GMT, Bradford Wetmore <wetmore at openjdk.org> wrote:
>> Just found the same. This needs to be reverted. You can set a Security Property to an "empty" string which won't work here. Suggest you revert to previous code, possibly using a lambda if that was the original intent.
>
> `Security.getProperty()` does not specify the value will be `trim()`.
My mistake. It's only the trim that you wanted removed, line 94.
-------------
PR: https://git.openjdk.java.net/jdk/pull/8384
More information about the security-dev
mailing list