Deprecate VMStack.getCallingClassLoader() and VMStack.getStackClass1().

Both methods are unused since f0346c9fa808f2addccebbfb3552129e7e21a56e
because all of the previously existing callers meant to call
Reflection.getCallerClass() instead.

This CL removes neither of the two methods because:

 1.) getCallingClassLoader() is used by too many apps and can't be
     removed without further investigation.
 2.) getStackClass1() is used by the only test for getStackClass2(),
     which in turn is still used by Reflection.getCallerClass().
     If/when Reflection.getCallerClass() gets implemented separately
     (with slightly different semantics) and getStackClass2() is
     either removed or gets its own test, getStackClass1() could
     be removed.

Bug: 111850480
Test: Treehugger

Change-Id: Ice4b4b7d1ec576eb1304d36dcde1cb5e06845c47
2 files changed