On Sat, 11 Nov 2023 15:57:40 GMT, Jim Laskey <jlas...@openjdk.org> wrote:

>> Jim Laskey has updated the pull request incrementally with one additional 
>> commit since the last revision:
>> 
>>   Clean up previous commit
>
> Things should be fine now.

@JimLaskey, I read JEP 463 but couldn't find any statements on access level of 
an implicit class. `javap` shows that such a class has package access (as I 
assume it should).

Here's the most relevant find in JEP, but it's not about the class. It's about 
class' members:

> An implicit class is almost exactly like an explicitly declared class. Its 
> members can have the same modifiers (e.g., private and static) and the 
> modifiers have the same defaults (e.g., package access and instance 
> membership). One key difference is that while an implicit class has a default 
> zero-parameter constructor, it can have no other constructor.

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

PR Comment: https://git.openjdk.org/jdk/pull/16461#issuecomment-1812771590

Reply via email to