OpenJDK 11: Merging java.lang.Thread constructors

This is a part of merging upstream changes from OpenJDK 11.28. It
adds new constructor
Thread(ThreadGroup, Runnable, String, long, boolean) which adds
control over inheriting locals.

Added unit tests to test inheriting locals in constructor.

Bug: 199751232
Test: m droid
Change-Id: If36b1cfb371a21c42c7383eadf60f794bd780b0b
4 files changed