< prev index next >

src/java.base/share/classes/java/lang/reflect/Executable.java

Print this page
rev 49262 : 8199862: Examine ProxyBuilder::referencedTypes startup cost
Reviewed-by: TBD

*** 224,233 **** --- 224,237 ---- // returns shared array of parameter types - must never give it out // 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 * represented by this object. Returns an array of length * 0 if the underlying executable takes no parameters.
< prev index next >