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