30 |
|
a = AtomicIntegerFieldUpdater.newUpdater |
31 |
|
(AtomicIntegerFieldUpdaterTest.class, "y"); |
32 |
|
shouldThrow(); |
33 |
< |
} |
34 |
< |
catch (RuntimeException rt) {} |
33 |
> |
} catch (RuntimeException success) {} |
34 |
|
} |
35 |
|
|
36 |
|
/** |
42 |
|
a = AtomicIntegerFieldUpdater.newUpdater |
43 |
|
(AtomicIntegerFieldUpdaterTest.class, "z"); |
44 |
|
shouldThrow(); |
45 |
< |
} |
47 |
< |
catch (RuntimeException rt) {} |
45 |
> |
} catch (RuntimeException success) {} |
46 |
|
} |
47 |
|
|
48 |
|
/** |
54 |
|
a = AtomicIntegerFieldUpdater.newUpdater |
55 |
|
(AtomicIntegerFieldUpdaterTest.class, "w"); |
56 |
|
shouldThrow(); |
57 |
< |
} |
60 |
< |
catch (RuntimeException rt) {} |
57 |
> |
} catch (RuntimeException success) {} |
58 |
|
} |
59 |
|
|
60 |
|
/** |