# HG changeset patch # User darcy # Date 1253661083 25200 # Node ID 7b53330adf8f2a37666db33871b5fa4e1e85f581 # Parent ce74bd35ce948d629a356e168797f44b593b1578 6468534: (reflect) Exception types cannot be parameterized, rephrase getGenericExceptionTypes. Reviewed-by: alanb diff -r ce74bd35ce94 -r 7b53330adf8f jdk/src/share/classes/java/lang/reflect/Constructor.java --- a/jdk/src/share/classes/java/lang/reflect/Constructor.java Wed Jul 05 17:01:15 2017 +0200 +++ b/jdk/src/share/classes/java/lang/reflect/Constructor.java Tue Sep 22 16:11:23 2009 -0700 @@ -275,10 +275,6 @@ * Returns an array of length 0 if the underlying method declares * no exceptions in its {@code throws} clause. * - *

If an exception type is a parameterized type, the {@code Type} - * object returned for it must accurately reflect the actual type - * parameters used in the source code. - * *

If an exception type is a type variable or a parameterized * type, it is created. Otherwise, it is resolved. * diff -r ce74bd35ce94 -r 7b53330adf8f jdk/src/share/classes/java/lang/reflect/Method.java --- a/jdk/src/share/classes/java/lang/reflect/Method.java Wed Jul 05 17:01:15 2017 +0200 +++ b/jdk/src/share/classes/java/lang/reflect/Method.java Tue Sep 22 16:11:23 2009 -0700 @@ -317,10 +317,6 @@ * Returns an array of length 0 if the underlying method declares * no exceptions in its {@code throws} clause. * - *

If an exception type is a parameterized type, the {@code Type} - * object returned for it must accurately reflect the actual type - * parameters used in the source code. - * *

If an exception type is a type variable or a parameterized * type, it is created. Otherwise, it is resolved. *