You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@commons.apache.org by bu...@apache.org on 2005/12/18 22:54:35 UTC

DO NOT REPLY [Bug 7135] - [beanutils] Misleading error message when beaninfo class conflict occurs

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

http://issues.apache.org/bugzilla/show_bug.cgi?id=7135


adam.hardy@cyberspaceroad.com changed:

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




------- Additional Comments From adam.hardy@cyberspaceroad.com  2005-12-18 22:54 -------
Following code:

org.myclass.Component test = new org.myclass.Component(new Integer(1), 
  "name", "topic", "summary", "desc.",
  new URL("http://localhost/core/sml-persist.zip"));
BeanInfo beaninfo = Introspector.getBeanInfo(test.getClass());
System.out.println("name=="
  + beaninfo.getBeanDescriptor().getBeanClass().getName());


tested with 1.3.1_17, 1.4.2_10 and 1.5.0_03. 

Code demonstrates that JDK doesn't confuse local Component class with
java.awt.Component as the original poster states. 

It was a bug that Sun later fixed. 

http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=4750368



-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org