Merge "Add test for java.lang.Thread." am: 95c90612db am: b2806b3bb6

Original change: https://android-review.googlesource.com/c/platform/libcore/+/1699735

Change-Id: I6701f453e4adba876eb120ae528b7ceeff94ae41