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

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

# Line 3225 | Line 3225 | public class ConcurrentHashMap<K,V> exte
3225                  Class<?> k = TreeBin.class;
3226                  LOCKSTATE = U.objectFieldOffset
3227                      (k.getDeclaredField("lockState"));
3228 <            } catch (Exception e) {
3228 >            } catch (ReflectiveOperationException e) {
3229                  throw new Error(e);
3230              }
3231          }
# Line 6282 | Line 6282 | public class ConcurrentHashMap<K,V> exte
6282              if ((scale & (scale - 1)) != 0)
6283                  throw new Error("data type scale not a power of two");
6284              ASHIFT = 31 - Integer.numberOfLeadingZeros(scale);
6285 <        } catch (Exception e) {
6285 >        } catch (ReflectiveOperationException e) {
6286              throw new Error(e);
6287          }
6288      }

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines