Ed Mandera

Greenhorn
+ Follow
since Jan 27, 2004
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
(keep public parts private until JForum day)
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt
Moderation Tools

Recent posts by Ed Mandera

"-classpath /Users/bert/Applications2/tomcat/common/lib/servlet-api.jar:classes:." sets the classpath to include servlet-api.jar, all the class files in the classes directory structure, and all the class files in the current directory.

The colon is the delimiter for classpath entries.

Hope this helps!

Ed
Nathaniel,
I thought the way this worked is that protected members can be accessed in all cases where default members can be accessed (when the accessing member belongs to the same package) AND via a subclass through inheritance.
From the language specification, a few lines above where you linked:
... if the member or constructor is declared protected, then access is permitted only when one of the following is true:
- Access to the member or constructor occurs from within the package containing the class in which the protected member or constructor is declared.
- Access is correct as described in �6.6.2.