changeset 1699:c715b68cdcaf

6468534: (reflect) Exception types cannot be parameterized, rephrase getGenericExceptionTypes. Reviewed-by: alanb
author darcy
date Tue, 22 Sep 2009 16:11:23 -0700
parents f708138c9aca
children bbb543254c63
files src/share/classes/java/lang/reflect/Constructor.java src/share/classes/java/lang/reflect/Method.java
diffstat 2 files changed, 0 insertions(+), 8 deletions(-) [+]
line wrap: on
line diff
--- a/src/share/classes/java/lang/reflect/Constructor.java	Tue Sep 22 17:16:30 2009 +0100
+++ b/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.
      *
-     * <p>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.
-     *
      * <p>If an exception type is a type variable or a parameterized
      * type, it is created. Otherwise, it is resolved.
      *
--- a/src/share/classes/java/lang/reflect/Method.java	Tue Sep 22 17:16:30 2009 +0100
+++ b/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.
      *
-     * <p>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.
-     *
      * <p>If an exception type is a type variable or a parameterized
      * type, it is created. Otherwise, it is resolved.
      *