8199862: Examine ProxyBuilder::referencedTypes startup cost

Reviewed-by: mchung
This commit is contained in:
Claes Redestad 2018-03-21 10:13:49 +01:00
parent 74827c6a87
commit c71bc3581a
4 changed files with 38 additions and 16 deletions

View file

@ -226,6 +226,10 @@ public abstract class Executable extends AccessibleObject
// to the untrusted code...
abstract Class<?>[] getSharedParameterTypes();
// returns shared array of exception types - must never give it out
// to the untrusted code...
abstract Class<?>[] getSharedExceptionTypes();
/**
* Returns an array of {@code Class} objects that represent the formal
* parameter types, in declaration order, of the executable