mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-28 15:24:43 +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
|
@ -160,7 +160,8 @@ public interface MethodHandleInfo {
|
|||
|
||||
/**
|
||||
* Returns the name of the cracked method handle's underlying member.
|
||||
* This is {@code "<init>"} if the underlying member was a constructor,
|
||||
* This is {@value java.lang.constant.ConstantDescs#INIT_NAME}
|
||||
* if the underlying member was a constructor,
|
||||
* else it is a simple method name or field name.
|
||||
* @return the simple name of the underlying member
|
||||
*/
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue