Re: [lang] bug#30929 - use isAssignableFrom

2004-10-09 Thread Stephen Colebourne
OK, heres what I've checked in: ExceptionUtils - add indexOfType methods that match subclasses, thus the original indexOfThrowable is unchanged (good for backwards compatability) Nestable - define interface to match subclasses in indexOfThrowable - comment, indicating usage of ExceptionUtils for

Re: [lang] bug#30929 - use isAssignableFrom

2004-10-08 Thread Stephen Colebourne
I was going to make the change, but fixing the tests emphasises that this is not an acceptable 'bug fix'. Thus I am -1 on the change. I intend to commit parallel methods - indexOfType - and Javadoc to cover the bug report instead. The only downside is that the interface (Nestable) cannot be

Re: [lang] bug#30929 - use isAssignableFrom

2004-10-08 Thread Stephen Colebourne
There is an alternative - NestableDelegate already has public boolean flags to enable it to be set back to the previous behaviour. We could do the same for this. Add a flag that allows a user to set the behaviour back from allowing subclasses to not allowing subclasses. However, I believe that

RE: [lang] bug#30929 - use isAssignableFrom

2004-10-01 Thread Steven Caswell
The bug author makes a good point. I'm +1 to making the change. Steven Caswell Sun Certified Java Programmer [EMAIL PROTECTED] War is an ugly thing, but not the ugliest of things. The decayed and degraded state of moral and patriotic feeling that thinks that nothing is worth war is much worse.

Re: [lang] bug#30929 - use isAssignableFrom

2004-09-30 Thread Stephen Colebourne
A slightly reluctant +1, its marginal as to whether it is a bug fix ir a change, but I think bug fix just about wins. Stephen - Original Message - From: Henri Yandell [EMAIL PROTECTED] I think this bug makes sense: http://issues.apache.org/bugzilla/show_bug.cgi?id=30929 Assuming no