RFR 8233884 : Avoid looking up standard charsets in security libraries
Ivan Gerasimov
ivan.gerasimov at oracle.com
Sun Nov 10 09:47:45 UTC 2019
Hello!
There are many places in the security libraries where string are
converted from/to byte arrays using standard charsets.
It would be beneficial, if those are not looked up by their name every
time, and constants from java.nio.charset.StandardCharsets.* are used
instead.
Would you please help review this relatively lengthy (in terms of the
affected files), though mostly straight-forward cleanup?
BUGURL: https://bugs.openjdk.java.net/browse/JDK-8233884
WEBREV: http://cr.openjdk.java.net/~igerasim/8233884/00/webrev/
Thanks in advance!
--
With kind regards,
Ivan Gerasimov
More information about the security-dev
mailing list