< prev index next >
src/java.base/share/classes/java/lang/invoke/TypeConvertingMethodAdapter.java
Print this page
rev 15320 : 8163370: Reduce number of classes loaded by common usage of java.lang.invoke
Reviewed-by: igerasim, psandoz
@@ -36,11 +36,11 @@
TypeConvertingMethodAdapter(MethodVisitor mv) {
super(Opcodes.ASM5, mv);
}
- private static final int NUM_WRAPPERS = Wrapper.values().length;
+ private static final int NUM_WRAPPERS = Wrapper.COUNT;
private static final String NAME_OBJECT = "java/lang/Object";
private static final String WRAPPER_PREFIX = "Ljava/lang/";
// Same for all primitives; name of the boxing method
< prev index next >