------- Comment #4 from edwin dot steiner at gmx dot net 2006-10-14 11:20
-------
I found the reason for this:
javax.management.modelmbean.ModelMBeanInfoSupport assumes that
all kinds of arrays retrieved from its superclass can be cast to
a specific derived type. I saw that many places in GNU Classpath use
the "new array - arraycopy" idiom to copy arrays, which probably is
the right thing, as you end up with the most general array type that
makes sense. JBoss code in this case assumes that array _cloning_ is
used in the superclass constructor, so the more derived type of the
arrays is preserved.
I'll attach a patch fixing this particular case.
--
edwin dot steiner at gmx dot net changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |edwin dot steiner at gmx dot
| |net
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28652
_______________________________________________
Bug-classpath mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/bug-classpath