RFR: 8301793: AlgorithmId should not encode a missing parameters field as NULL unless hardcoded

Weijun Wang weijun at openjdk.org
Mon Mar 6 16:12:45 UTC 2023


On Mon, 6 Mar 2023 16:04:13 GMT, Sean Mullan <mullan at openjdk.org> wrote:

> Looks good other than the minor test comment but I think this is probably an Enhancement rather than a Bug.

Thanks. Fixed the test and updated the issue as an enhancement.

> test/jdk/sun/security/x509/AlgorithmId/NullParams.java line 108:
> 
>> 106:         } else {
>> 107:             if (data.available() != 0) {
>> 108:                 System.out.println("Has expected NULL");
> 
> Should the message be "Has unexpected NULL"?

Yes.

-------------

PR: https://git.openjdk.org/jdk/pull/12412



More information about the security-dev mailing list