diff options
author | Tobias Thierer <tobiast@google.com> | 2018-07-30 17:24:05 +0100 |
---|---|---|
committer | Tobias Thierer <tobiast@google.com> | 2018-07-30 22:21:35 +0100 |
commit | 6085e9f8bc728dba1cbdc6c9d916270880889255 (patch) | |
tree | e63d04cf1ed33801163fc340397c4265c6bc4567 /include/ScopedJavaUnicodeString.h | |
parent | 5114e971d0cd593de1fa3b88811a64cb45c77110 (diff) |
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
Diffstat (limited to 'include/ScopedJavaUnicodeString.h')
0 files changed, 0 insertions, 0 deletions