Skip to main content

"super-package" visibility in java

No replies
melchisedec
Offline
Joined: 2007-01-30

Hi there,
We know that a protected field in a class A is visible from its subclass B.
That same way, it seems to me to have read or heard that as of Mustang or Dolphin there is a new kind of super-package visibility.

For example consider packages project and project.data. One can say that package project is a super package of project.data because package data is under package project.

I have heard that there is or will be possibility for a class being in package data to have access visibility to a class being package project.

Is it true ? I am sorry for this question must seem stupid but I am sure to have read or hear something about this issue but I cannot remember where.
Thanks

Message was edited by: melchisedec