RFR: 8249783: Simplify DerValue and DerInputStream [v2]
Valerie Peng
valeriep at openjdk.java.net
Tue Sep 29 04:16:46 UTC 2020
On Sat, 26 Sep 2020 00:43:30 GMT, Weijun Wang <weijun at openjdk.org> wrote:
>> src/java.base/share/classes/sun/security/util/DerValue.java line 768:
>>
>>> 766: */
>>> 767: public String getUniversalString() throws IOException {
>>> 768: return readStringInternal(tag_UniversalString, new UTF_32BE());
>>
>> It looks like UTF_32BE now is always supported? If yes, perhaps adding a constant for it just like for other charsets?
>> Also the "return" javadoc tag for this method needs to be updated?
>
> That's a public Java SE API and I don't intent to add one. I'll fix the javadoc.
Ok.
-------------
PR: https://git.openjdk.java.net/jdk/pull/232
More information about the security-dev
mailing list