提交 9edf4f07 编写于 作者: D darcy

6468534: (reflect) Exception types cannot be parameterized, rephrase getGenericExceptionTypes.

Reviewed-by: alanb
上级 54fce0c8
...@@ -275,10 +275,6 @@ public final ...@@ -275,10 +275,6 @@ public final
* Returns an array of length 0 if the underlying method declares * Returns an array of length 0 if the underlying method declares
* no exceptions in its {@code throws} clause. * 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 * <p>If an exception type is a type variable or a parameterized
* type, it is created. Otherwise, it is resolved. * type, it is created. Otherwise, it is resolved.
* *
......
...@@ -317,10 +317,6 @@ public final ...@@ -317,10 +317,6 @@ public final
* Returns an array of length 0 if the underlying method declares * Returns an array of length 0 if the underlying method declares
* no exceptions in its {@code throws} clause. * 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 * <p>If an exception type is a type variable or a parameterized
* type, it is created. Otherwise, it is resolved. * type, it is created. Otherwise, it is resolved.
* *
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册