Bug 52173 - Add a drop of additional clarification to doc on the delegate setting of the WebappClassLoader
Add a drop of additional clarification to doc on the delegate setting of the ...
Status: RESOLVED FIXED
Product: Tomcat 7
Classification: Unclassified
Component: Catalina
trunk
PC Mac OS X 10.4
: P2 normal (vote)
: ---
Assigned To: Tomcat Developers Mailing List
:
Depends on:
Blocks:
  Show dependency tree
 
Reported: 2011-11-13 14:59 UTC by bmargulies
Modified: 2011-11-14 22:16 UTC (History)
0 users



Attachments
javadoc tweaks to WebappClassLoader (2.43 KB, patch)
2011-11-13 14:59 UTC, bmargulies
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description bmargulies 2011-11-13 14:59:57 UTC
Created attachment 27931 [details]
javadoc tweaks to WebappClassLoader

There is a full description of the 'delegate' flag on the protected boolean member, but programmers using the class are likely to look to the setDelegate function for enlightenment. Further, the IMPLEMENTATION NOTE at the top does
not mention the existence of the delegate flag.

This patch tries to makes it harder to misunderstand, since the term 'delegate' has, to me at least, a bit of ambiguity to it.
Comment 1 Mark Thomas 2011-11-14 22:16:48 UTC
Fixed in 7.0.x and will be included in 7.0.23 onwards.