RFR: JDK-8291509 Minor cleanup could be done in sun.security [v3]

Weijun Wang weijun at openjdk.org
Wed Aug 31 12:22:19 UTC 2022


On Wed, 31 Aug 2022 04:22:46 GMT, Mark Powers <mpowers at openjdk.org> wrote:

>> src/java.base/share/classes/sun/security/provider/PolicyParser.java line 576:
>> 
>>> 574:         }
>>> 575: 
>>> 576:         return (ignoreEntry == true) ? null : e;
>> 
>> Remove definition of `ignoreEntry`.
>
> I don't see how that can be done.

Oh, sorry, I confused it with the `parseDomainEntry` method where `ignoreEntry` is useless.

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

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



More information about the security-dev mailing list