31 |
|
a = AtomicReferenceFieldUpdater.newUpdater |
32 |
|
(AtomicReferenceFieldUpdaterTest.class, Integer.class, "y"); |
33 |
|
shouldThrow(); |
34 |
< |
} |
35 |
< |
catch (RuntimeException rt) {} |
34 |
> |
} catch (RuntimeException success) {} |
35 |
|
} |
36 |
|
|
37 |
|
|
44 |
|
a = AtomicReferenceFieldUpdater.newUpdater |
45 |
|
(AtomicReferenceFieldUpdaterTest.class, Integer.class, "z"); |
46 |
|
shouldThrow(); |
47 |
< |
} |
49 |
< |
catch (RuntimeException rt) {} |
47 |
> |
} catch (RuntimeException success) {} |
48 |
|
} |
49 |
|
|
50 |
|
/** |
56 |
|
a = AtomicReferenceFieldUpdater.newUpdater |
57 |
|
(AtomicReferenceFieldUpdaterTest.class, Integer.class, "w"); |
58 |
|
shouldThrow(); |
59 |
< |
} |
62 |
< |
catch (RuntimeException rt) {} |
59 |
> |
} catch (RuntimeException success) {} |
60 |
|
} |
61 |
|
|
62 |
|
/** |