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
|
@ -39,7 +39,7 @@ class ConstantUtils {
|
|||
static final Constable[] EMPTY_CONSTABLE = new Constable[0];
|
||||
static final int MAX_ARRAY_TYPE_DESC_DIMENSIONS = 255;
|
||||
|
||||
private static final Set<String> pointyNames = Set.of("<init>", "<clinit>");
|
||||
private static final Set<String> pointyNames = Set.of(ConstantDescs.INIT_NAME, ConstantDescs.CLASS_INIT_NAME);
|
||||
|
||||
/**
|
||||
* Validates the correctness of a binary class name. In particular checks for the presence of
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue