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

Comparing jsr166/src/main/java/util/concurrent/ForkJoinPool.java (file contents):
Revision 1.230 by jsr166, Fri Jan 2 16:57:15 2015 UTC vs.
Revision 1.231 by jsr166, Sun Jan 4 01:06:15 2015 UTC

# Line 1242 | Line 1242 | public class ForkJoinPool extends Abstra
1242                  if ((scale & (scale - 1)) != 0)
1243                      throw new Error("data type scale not a power of two");
1244                  ASHIFT = 31 - Integer.numberOfLeadingZeros(scale);
1245 <            } catch (Exception e) {
1245 >            } catch (ReflectiveOperationException e) {
1246                  throw new Error(e);
1247              }
1248          }
# Line 3390 | Line 3390 | public class ForkJoinPool extends Abstra
3390              if ((scale & (scale - 1)) != 0)
3391                  throw new Error("data type scale not a power of two");
3392              ASHIFT = 31 - Integer.numberOfLeadingZeros(scale);
3393 <        } catch (Exception e) {
3393 >        } catch (ReflectiveOperationException e) {
3394              throw new Error(e);
3395          }
3396  

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines