river-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Christopher Dolan" <christopher.do...@avid.com>
Subject RE: Thread.interrupt() vs. class loading
Date Wed, 17 Nov 2010 17:22:52 GMT
Thanks very much, Patricia!  I had not realized it was fixed in 1.6 (the
original bug I linked to is still marked open).
Chris

-----Original Message-----
From: Patricia Shanahan [mailto:pats@acm.org] 
Sent: Wednesday, November 17, 2010 4:17 AM
To: river-dev@incubator.apache.org
Subject: Re: Thread.interrupt() vs. class loading

On 11/15/2010 12:00 PM, Christopher Dolan wrote:
> Did people know about this Java bug?
>     http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=4992463
> It says (and related bugs say) that if you call Thread.interrupt() on
a
> thread that happens to be doing class loading IO at the time, then the
> aborted class with thereafter yield NoClassDefFoundError.
...

The TestInterrupt.java program in the bug report runs correctly with the

JDK 1.6.0_22 java.

Have you tried your failing case with JDK 1.6?

As mentioned in the bug report, there is a possible workaround through 
synchronization, but it would involve a lot of changes in River.

Patricia

Mime
View raw message