Hidden API CTS: do not initialize inspected classes

CTS tests which check the various hidden API exemption mechanisms
need to inspect all classes in the boot class path and verify that
all members are accessible. Part of this code is Class.forName which
we used to run with the default option of initializing the found
classes.

However, there exists code where the order of class initialization
matters and this test can trigger those issues. This patch changes
the behaviour to not initialize classes, so the tests focus solely
on visibility.

Bug: 110531123
Test: cd cts/tests/signature ; ./runSignatureTests.sh
Merged-In: I4e108684491a14feba9542f052bef5a2b2ceabf5
Change-Id: I4e108684491a14feba9542f052bef5a2b2ceabf5
(cherry picked from commit 52e2ac20cab2047d63af572a0c96840a6eb8d3c1)
1 file changed