8202113: Reflection API is causing caller classes to leak

Reviewed-by: alanb, plevart
This commit is contained in:
Mandy Chung 2018-05-11 14:21:46 -07:00
parent 8af434d695
commit 0e1bd1f99d
11 changed files with 434 additions and 16 deletions

View file

@ -198,11 +198,8 @@ public final class Method extends Executable {
checkCanSetAccessible(caller, clazz);
}
/**
* Used by Excecutable for annotation sharing.
*/
@Override
Executable getRoot() {
Method getRoot() {
return root;
}