Switch from `MethodHandles.privateLookupIn` to a reflection based approach to that target classes to not need to be explicitly listed. Closes gh-28580
Switch from `MethodHandles.privateLookupIn` to a reflection based approach to that target classes to not need to be explicitly listed. Closes gh-28580