DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=18347>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=18347

[VELTOOLS][PATCH] Avoid dummy tools creation in ViewToolInfo constructor





------- Additional Comments From [EMAIL PROTECTED]  2003-03-31 01:01 -------
Your proposed change would fail to check whether or not the class implementing
has a working public constructor with no args.  For a view tool to be
initializable, you must be able to create an instance.  So, I am not opposed to
using ViewTool.class.isAssignableFrom() instead of instanceof, but we would
still need to create a "dummy" instance to really guarantee the production of a
ViewTool instance can be initialized.

Is there some strong reason you have for avoiding the creation of these "dummy"
instances during startup?  (remember, ToolInfo instances are created only time
per tool or data entry in a toolbox.xml)

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to