> The only problem right now is the cast to Component[]. The 
> fix is easy, just change it to Object[]. The optimization 
> makes a lot of sense and there is reason why it can't really 
> be simple.

The simplest explanation is that the (synthetic) array "classes" both
extend Object but are not in the same inheritance tree:

       "[L.../Component;"
      /
java.lang.Object
      \
       "[Ljava/lang/Object;"

Thus the casting fails (at runtime).

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

Reply via email to