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

Comparing jsr166/src/main/java/util/concurrent/Exchanger.java (file contents):
Revision 1.67 by jsr166, Wed Dec 31 09:37:20 2014 UTC vs.
Revision 1.68 by jsr166, Sun Jan 4 01:06:15 2015 UTC

# Line 621 | Line 621 | public class Exchanger<V> {
621              s = U.arrayIndexScale(ak);
622              // ABASE absorbs padding in front of element 0
623              ABASE = U.arrayBaseOffset(ak) + (1 << ASHIFT);
624 <
625 <        } catch (Exception e) {
624 >        } catch (ReflectiveOperationException e) {
625              throw new Error(e);
626          }
627 +
628          if ((s & (s-1)) != 0 || s > (1 << ASHIFT))
629              throw new Error("Unsupported array scale");
630      }

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines