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

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

# Line 516 | Line 516 | public class ConcurrentSkipListMap<K,V>
516                      (k.getDeclaredField("value"));
517                  nextOffset = UNSAFE.objectFieldOffset
518                      (k.getDeclaredField("next"));
519 <            } catch (Exception e) {
519 >            } catch (ReflectiveOperationException e) {
520                  throw new Error(e);
521              }
522          }
# Line 594 | Line 594 | public class ConcurrentSkipListMap<K,V>
594                  Class<?> k = Index.class;
595                  rightOffset = UNSAFE.objectFieldOffset
596                      (k.getDeclaredField("right"));
597 <            } catch (Exception e) {
597 >            } catch (ReflectiveOperationException e) {
598                  throw new Error(e);
599              }
600          }
# Line 3559 | Line 3559 | public class ConcurrentSkipListMap<K,V>
3559              Class<?> tk = Thread.class;
3560              SECONDARY = UNSAFE.objectFieldOffset
3561                  (tk.getDeclaredField("threadLocalRandomSecondarySeed"));
3562 <
3563 <        } catch (Exception e) {
3562 >        } catch (ReflectiveOperationException e) {
3563              throw new Error(e);
3564          }
3565      }

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines