Add one test for VarHandle.compareAndSet().

Check for ClassCastException when the type of expected
object is wrong.

Test: testrunner.py --host -t 712-varhandle-invocations
Bug: 65872996
Change-Id: Ib9f1a15aa62aba82120974e5b2077d4a8939eb73
1 file changed