On Nov 24, 2010, at 12:41 AM, Mark Thomas wrote:

> On 24/11/2010 01:28, Blair Zajac wrote:
>> On Nov 23, 2010, at 4:49 PM, Blair Zajac wrote:
>>> On Nov 23, 2010, at 2:24 AM, Mark Thomas wrote:
>>>> Do let us know what the problem was when you find it.
>>> 
>>> Does JNA provide its own clean up methods that I could run at shutdown?  I 
>>> haven't looked yet to see.
>> 
>> I found the cause, it's an issue with JNA, they should be providing a real 
>> iterator() implementation, not one that just returns null.  Not that they 
>> expected anyone to call toString() on it.
>> 
>> http://article.gmane.org/gmane.comp.java.jna.user/4347
>> 
>> I guess it's up to you if you want to handle a case like this.  I could see 
>> other projects not bothering to provide real implementations of things if 
>> they don't expect anything to go looking into their internals.
> 
> Thanks for getting back with details of the problem. I agree with you that 
> there are likely to be other libraries doing similar things. I think the 
> general handling now in place is the right way to go. Hopefully, the issues 
> it highlights in third party libraries they will get reported and fixed.

JNA just committed a fix for this and with the Tomcat improvement, we're all 
good.

Thanks for the help!
Blair


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to