This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 38399 - InterruptedException mishandled
Summary: InterruptedException mishandled
Status: VERIFIED FIXED
Alias: None
Product: platform
Classification: Unclassified
Component: Text (show other bugs)
Version: 3.x
Hardware: All All
: P3 blocker (vote)
Assignee: Petr Nejedly
URL:
Keywords: THREAD
Depends on:
Blocks:
 
Reported: 2004-01-05 17:07 UTC by _ pkuzel
Modified: 2008-12-22 22:26 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description _ pkuzel 2004-01-05 17:07:03 UTC
org.openide.text.CloneableEditorSupport.openDocumentImpl(CloneableEditorSupport.java:535)

Catches an InterruptedException without notifying
to clients. It breakes Thread.interrupt() contract
for clients because no interrupted flag nor
InterruptedIOException is reported to them to they
happily/wrongly continue in computation.
Comment 1 Petr Nejedly 2004-01-09 19:14:07 UTC
It may be possible to forward the exception. I will consider it.
Do you have any particular problem with it?
Comment 2 _ pkuzel 2004-01-12 08:27:32 UTC
I use asynchronous thread.interrupt but cannot recognize interuption
vs. thread done.
Comment 3 Petr Nejedly 2004-08-24 10:23:03 UTC
OK, I'll throw InterruptedIOException in that case.
Comment 4 Petr Nejedly 2004-08-24 10:45:42 UTC
openide/src/org/openide/text/CloneableEditorSupport.java,v1.131
Comment 5 Marian Mirilovic 2005-12-20 15:51:10 UTC
This issue was solved long time ago. Because nobody has reopened it neither
added comments, we are verifying/closing it now. 
If you are still able to reproduce the problem, please reopen. Thanks in advance.