mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-28 07:14:30 +02:00
8304139: Add <init> and <clinit> method constants to ConstantDescs
Reviewed-by: mchung
This commit is contained in:
parent
d6f20e2fbf
commit
019fcd819c
7 changed files with 56 additions and 21 deletions
|
@ -231,7 +231,7 @@ public sealed interface DirectMethodHandleDesc
|
|||
|
||||
/**
|
||||
* Returns the name of the method or field described by this nominal descriptor.
|
||||
* For constructors, returns the reserved name {@code "<init>"}.
|
||||
* For constructors, returns the reserved name {@value ConstantDescs#INIT_NAME}.
|
||||
*
|
||||
* @return the name of the method or field
|
||||
*/
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue