mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-27 06:45:07 +02:00
6304578: (reflect) toGenericString fails to print bounds of type variables on generic methods
Reviewed-by: vromero, plevart, briangoetz, mcimadamore
This commit is contained in:
parent
72bfdd96f1
commit
7a350b9474
7 changed files with 88 additions and 49 deletions
|
@ -436,10 +436,11 @@ public final class Method extends Executable {
|
|||
}
|
||||
|
||||
/**
|
||||
* Returns a string describing this {@code Method}, including
|
||||
* type parameters. The string is formatted as the method access
|
||||
* Returns a string describing this {@code Method}, including type
|
||||
* parameters. The string is formatted as the method access
|
||||
* modifiers, if any, followed by an angle-bracketed
|
||||
* comma-separated list of the method's type parameters, if any,
|
||||
* including informative bounds of the type parameters, if any,
|
||||
* followed by the method's generic return type, followed by a
|
||||
* space, followed by the class declaring the method, followed by
|
||||
* a period, followed by the method name, followed by a
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue