diff options
author | Pete Gillin <peteg@google.com> | 2018-03-23 12:29:26 +0000 |
---|---|---|
committer | Pete Gillin <peteg@google.com> | 2018-03-23 18:09:11 +0000 |
commit | a03fd33565d7299a43c38f7943f92b8be851c933 (patch) | |
tree | 0ecbfd7111cb271b1529e396dbf7f73c2594ce2e /annotations/generate_annotated_java_files.py | |
parent | 8373e5911d37c1a79486cb90ad97281d357ed067 (diff) |
Restore more visibility checks in AtomicLongFieldUpdater.
This change was accidentally omitted from http://r.android.com/644539.
That change restored the check when AtomicLong.VM_SUPPORTS_LONG_CAS is
true only. This change restores it when that value is false.
Before this change, AtomicIntegerFieldUpdaterTest in jsr166-tests was
failing in an environment where that value is false. This change must
fixes that.
Bug: 75269521
Test: `cts-tradefed run cts-dev -m CtsLibcoreJsr166TestCases -t jsr166.AtomicLongFieldUpdaterTest` in a build where AtomicLong.VM_SUPPORTS_LONG_CAS is hardcoded to false
Change-Id: I155f427ba624e4ea293a0983de4f7e65c24aff55
Diffstat (limited to 'annotations/generate_annotated_java_files.py')
0 files changed, 0 insertions, 0 deletions