RFR: 8296408: Make the PCSCException public accessible
Sean Mullan
mullan at openjdk.org
Thu Nov 17 19:24:22 UTC 2022
On Mon, 7 Nov 2022 05:55:18 GMT, Johannes Waigel <duke at openjdk.org> wrote:
> The `PCSCException` is thrown, but the error type is not visible due to the "private-packe" access rule.
> By changing the visibility it is possible to handle / access this exception type explicitly in the catch.
Can you explain in a bit more detail why this needs to be public? It is an internal class, so applications should not be accessing it, even if it is public. Perhaps what is really needed is a public *standard* API.
-------------
PR: https://git.openjdk.org/jdk/pull/11012
More information about the security-dev
mailing list