ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stefan Bodewig <bode...@apache.org>
Subject Re: Do we want to break BWC in AntClassLoader$ResourceEnumeration?
Date Tue, 09 Aug 2011 03:30:31 GMT
On 2011-08-06, Conor MacNeill wrote:

> On Sun, Aug 7, 2011 at 02:43, Stefan Bodewig <bodewig@apache.org> wrote:
>> On 2011-07-29, <bugzilla@apache.org> wrote:

>>> https://issues.apache.org/bugzilla/show_bug.cgi?id=51579

>> The Enumeration returned by AntClassloader#getResources violates the
>> Enumeration contract in that getNextElement() returns null rather than
>> throwing a NoSuchElementException when the enumeration is exhausted.  It
>> has done so for ten years now.

>> Do we want to make it adhere to the contract or does anybody feel this
>> is too dangerous?

> I think it should probably be fixed.

Done.

Stefan

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


Mime
View raw message