equal
deleted
inserted
replaced
2882 Field f = k.getDeclaredField(name); |
2882 Field f = k.getDeclaredField(name); |
2883 offset = unsafe.objectFieldOffset(f); |
2883 offset = unsafe.objectFieldOffset(f); |
2884 } catch (NoSuchFieldException e) { |
2884 } catch (NoSuchFieldException e) { |
2885 throw new InternalError(e); |
2885 throw new InternalError(e); |
2886 } |
2886 } |
2887 return unsafe.compareAndSwapObject(this, offset, null, obj); |
2887 return unsafe.compareAndSetObject(this, offset, null, obj); |
2888 } |
2888 } |
2889 } |
2889 } |
2890 |
2890 |
2891 /* |
2891 /* |
2892 * A utility class that will enumerate over an array of enumerations. |
2892 * A utility class that will enumerate over an array of enumerations. |