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

ClassCastException in Enum.equals(Object)





------- Additional Comments From [EMAIL PROTECTED]  2004-02-11 22:38 -------
The issue is that it looks like the author of the code had clear intentions when
writting the catch block, which this patch seems to circumvent. What that last
else and catch blcok do is allow Enum instance to work even though they might
come  from different class loaders. I think your patch might break this feature.
I also do not think there is a unit test that validates this feature. So, that
would be the first thing to do: add a unit test that checks that Enums from
different class loaders can be tested.

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

Reply via email to