Bug 52173 - Add a drop of additional clarification to doc on the delegate setting of the WebappClassLoader
Summary: Add a drop of additional clarification to doc on the delegate setting of the ...
Status: RESOLVED FIXED
Alias: None
Product: Tomcat 7
Classification: Unclassified
Component: Catalina (show other bugs)
Version: trunk
Hardware: PC Mac OS X 10.4
: P2 normal (vote)
Target Milestone: ---
Assignee: Tomcat Developers Mailing List
URL:
Keywords:
Depends on:
Blocks:
 
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.