Details
-
Bug
-
Resolution: Fixed
-
P2
-
5.0u13, 7
-
None
-
b17
-
generic, sparc
-
generic, solaris_10
Backports
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-2150834 | 6u10 | Abhijit Saha | P3 | Resolved | Fixed | b01 |
JDK-2174413 | 5.0u19 | Abhijit Saha | P3 | Resolved | Fixed | b01 |
JDK-2150835 | 5.0u17-rev | Abhijit Saha | P3 | Resolved | Fixed | b09 |
Description
This regression was discovered in the context of the Iris demonstration shown at this year's JavaOne, http://swinglabs.org/iris/ . It runs successfully with JDK 7 build 07 but not with build 08. To reproduce the problem, run Internet Explorer 6 or 7 on Windows (it appears that a plugin bug, being investigated separately, is currently causing it to fail to work on Firefox) and navigate to http://swinglabs.org/iris/ . Enter a Flickr account name such as "kenneth russell", "jasper potts", or "romainguy". When the photosets appear, click on one of the thumbnails in the leftmost column. When the bug is present, the thumbnails of the photos in the photoset will fail to load into the rightmost pane, instead producing an InterruptedException from Iris's LoadPhotosTask.
Attached is the output of the Java Console from an instrumented JDK which calls Thread.dumpStack() inside Thread.interrupt(). It shows that the only calls to Thread.interrupt() are coming from ThreadPoolExecutor.setCorePoolSize(), but that the interrupted state is propagating out to and affecting user code, which should not happen and did not happen before JDK 7 build 08.
Attachments
Issue Links
- backported by
-
JDK-2150834 ThreadPoolExecutor methods leak interrupts when run in pool threads
- Resolved
-
JDK-2150835 ThreadPoolExecutor methods leak interrupts when run in pool threads
- Resolved
-
JDK-2174413 ThreadPoolExecutor methods leak interrupts when run in pool threads
- Resolved
- duplicates
-
JDK-6576818 Apparent LiveConnect changes break applets
- Closed
-
JDK-6689310 Backmerge of 6576792 ThreadPoolExecutor#setCorePoolSize interrupts client code
- Closed
-
JDK-2150756 Apparent LiveConnect changes break applets
- Closed
- relates to
-
JDK-6450200 ThreadPoolExecutor idling core threads don't terminate when core pool size reduced
- Closed
-
JDK-6450205 ThreadPoolExecutor does not replace throwing threads
- Closed
-
JDK-6450207 ThreadPoolExecutor doesn't count throwing tasks as "completed"
- Closed
-
JDK-6450211 ThreadPoolExecutor.afterExecute sees RuntimeExceptions, but not Errors
- Closed
-
JDK-6454289 ScheduledThreadPoolExecutor spins while waiting for delayed tasks after shutdown
- Closed
-
JDK-6458662 ThreadPoolExecutor poolSize might shrink below corePoolSize after timeout
- Closed
-
JDK-6459119 Explain how afterExecute can access a submitted job's Throwable
- Closed
-
JDK-6458339 ThreadPoolExecutor very slow to shut down for large poolSize
- Closed