On Mon, 7 Nov 2022 05:55:18 GMT, Johannes Waigel <d...@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. src/java.smartcardio/share/classes/sun/security/smartcardio/PCSCException.java line 38: > 36: * @author Andreas Sterbenz > 37: */ > 38: final public class PCSCException extends Exception { Use blessed modifiers order Suggestion: public final class PCSCException extends Exception { ------------- PR: https://git.openjdk.org/jdk/pull/11012