You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@struts.apache.org by bu...@apache.org on 2002/06/16 07:41:40 UTC

DO NOT REPLY [Bug 9471] - Upcasting FormBeans fails when finding exiting instance.

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=9471>.
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=9471

Upcasting FormBeans fails when finding exiting instance.

craig.mcclanahan@sun.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED



------- Additional Comments From craig.mcclanahan@sun.com  2002-06-16 05:41 -------
Fixed in nightly build 20020616.  It turns out I tweaked your second patch a
little bit more:

* Use RequestUtils.applicationClass() to get the Class object based on
  config.getType(), so that it still works if struts.jar is in a shared
  class loader.

* Use the Class.isAssignableFrom() method to avoid the need for creating
  a new instance of the actual instance class on every request.

--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>