jdk/src/java.base/share/classes/java/lang/reflect/Executable.java
changeset 42997 5f83f2054eca
parent 42948 1f4754f075f2
child 45332 9c9e51c44638
equal deleted inserted replaced
42996:b778c8cf514d 42997:5f83f2054eca
   219      *     signature of this generic declaration does not conform to
   219      *     signature of this generic declaration does not conform to
   220      *     the format specified in
   220      *     the format specified in
   221      *     <cite>The Java&trade; Virtual Machine Specification</cite>
   221      *     <cite>The Java&trade; Virtual Machine Specification</cite>
   222      */
   222      */
   223     public abstract TypeVariable<?>[] getTypeParameters();
   223     public abstract TypeVariable<?>[] getTypeParameters();
       
   224 
       
   225     // returns shared array of parameter types - must never give it out
       
   226     // to the untrusted code...
       
   227     abstract Class<?>[] getSharedParameterTypes();
   224 
   228 
   225     /**
   229     /**
   226      * Returns an array of {@code Class} objects that represent the formal
   230      * Returns an array of {@code Class} objects that represent the formal
   227      * parameter types, in declaration order, of the executable
   231      * parameter types, in declaration order, of the executable
   228      * represented by this object.  Returns an array of length
   232      * represented by this object.  Returns an array of length