8306698: Add overloads to MethodTypeDesc::of

Reviewed-by: mchung
This commit is contained in:
Chen Liang 2023-05-23 21:26:25 +00:00 committed by Mandy Chung
parent 6b27dad76e
commit 8ffa264cf0
3 changed files with 53 additions and 38 deletions

View file

@ -36,6 +36,7 @@ import static java.util.Objects.requireNonNull;
class ConstantUtils {
/** an empty constant descriptor */
public static final ConstantDesc[] EMPTY_CONSTANTDESC = new ConstantDesc[0];
static final ClassDesc[] EMPTY_CLASSDESC = new ClassDesc[0];
static final Constable[] EMPTY_CONSTABLE = new Constable[0];
static final int MAX_ARRAY_TYPE_DESC_DIMENSIONS = 255;