Hi!
The possible Java pattern is to provide 'private' package(s), and
prohibit their usage, like Sun did with sun.* packages:
http://java.sun.com/products/jdk/faq/faq-sun-packages.html
This is a contract, not less, not more. You cant ensure that these
packages are really private, so you can use them, its just on your own risk.
What would be nice is to have a real modifier keyword, e.g:
package org.apache.any;
private package class ABC
{
}
Like private this enforces to be really private for the package, but can
be used in sub-package too.
---
Mario
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]