[jsr294-modularity-eg] JSR 294 expert group draft

Eugene Vigdorchik (JetBrains) ven at jetbrains.com
Wed Oct 24 18:21:01 EDT 2007


Does not protected member also allow access from subclasses of containing
class in addition to the same package? Is it still accessible when
superpackage rules would forbid its use in subclass?

> Can you expand on the complications for protected inner classes? The
> common case for access to a protected member is within the same package,
> so superpackages are moot. And since protected inner classes cannot be
> exported (since they are not public), access from subclasses in a
> different superpackage is not possible.



More information about the jsr294-modularity-eg mailing list