ViewVC Help
View File | Revision Log | Show Annotations | Download File | Root Listing
root/jsr166/jsr166/src/main/java/util/concurrent/ThreadPoolExecutor.java
(Generate patch)

Comparing jsr166/src/main/java/util/concurrent/ThreadPoolExecutor.java (file contents):
Revision 1.181 by jsr166, Sun Sep 17 17:40:14 2017 UTC vs.
Revision 1.182 by jsr166, Mon Sep 18 06:21:59 2017 UTC

# Line 1105 | Line 1105 | public class ThreadPoolExecutor extends
1105                      Throwable thrown = null;
1106                      try {
1107                          task.run();
1108 <                    } catch (RuntimeException x) {
1109 <                        thrown = x; throw x;
1110 <                    } catch (Error x) {
1108 >                    } catch (RuntimeException | Error x) {
1109                          thrown = x; throw x;
1110                      } catch (Throwable x) {
1111                          thrown = x; throw new Error(x);

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines