On Wed, 9 Sep 2020 02:21:49 GMT, Sergey Bylokhov <s...@openjdk.org> wrote:

>> Prasanta Sadhukhan has updated the pull request incrementally with one 
>> additional commit since the last revision:
>> 
>>   Modify access modifier to protected for protected classes
>
> src/java.desktop/share/classes/javax/swing/Box.java line 436:
> 
>> 434:          * Constructs a {@code AccessibleBox}.
>> 435:          */
>> 436:         public AccessibleBox() {}
> 
> Shouldn't this be a protected constructor?
> "if the class is declared protected, then the default constructor is 
> implicitly given the access modifier protected".

Modified to "protected" constructor

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

PR: https://git.openjdk.java.net/jdk/pull/72

Reply via email to