commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Andrei Polushin <>
Subject Re: [proxy] Commons-Lang Dependency...
Date Fri, 09 Sep 2005 07:43:15 GMT
Henning P. Schmiedehausen writes:
> One of the quirks in the Java language is, that the package names
> (foo,, imply a hierarchy which in fact does not
> exist. There is no "visible in package and sub-packages" modifier. So
> if you want to use an utility class in foo,, foo.baz, you have
> to make it public (Sun, are you listening? Here is a chance for
> another cool new scope that C# probably doesn't have yet. ;-) )

It's off-topic, but C# does provide the desired meaning with its 
'internal' access modifier keyword, and there is no 'package private' 
classes there, see

The possible Java pattern is to provide 'private' package(s), and 
prohibit their usage, like Sun did with sun.* packages:

--Andrei Polushin

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message