src/java.base/share/classes/java/lang/reflect/Executable.java
changeset 49273 af8ab4f90a32
parent 47216 71c04702a3d5
child 50091 05979f6ba560
--- a/src/java.base/share/classes/java/lang/reflect/Executable.java	Wed Mar 21 10:13:14 2018 +0100
+++ b/src/java.base/share/classes/java/lang/reflect/Executable.java	Wed Mar 21 10:13:49 2018 +0100
@@ -226,6 +226,10 @@
     // 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