On Sun, 13 Nov 2022 19:41:52 GMT, Andrey Turbanov <aturba...@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 {

Thank you for feedback, I have adjusted the order

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

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

Reply via email to