< prev index next > src/java.base/share/classes/java/lang/invoke/InvokerBytecodeGenerator.java
Print this page
}));
}
}
static ClassDesc classDesc(Class<?> cls) {
! // assert(VerifyAccess.isTypeVisible(cls, Object.class)) : cls.getName();
return cls.isPrimitive() ? Wrapper.forPrimitiveType(cls).basicClassDescriptor()
: cls == MethodHandle.class ? CD_MethodHandle
: cls == DirectMethodHandle.class ? CD_DirectMethodHandle
: cls == Object.class ? CD_Object
: ReferenceClassDescImpl.ofValidated(cls.descriptorString());
}));
}
}
static ClassDesc classDesc(Class<?> cls) {
! assert(VerifyAccess.ensureTypeVisible(cls, Object.class)) : cls.getName();
return cls.isPrimitive() ? Wrapper.forPrimitiveType(cls).basicClassDescriptor()
: cls == MethodHandle.class ? CD_MethodHandle
: cls == DirectMethodHandle.class ? CD_DirectMethodHandle
: cls == Object.class ? CD_Object
: ReferenceClassDescImpl.ofValidated(cls.descriptorString());
< prev index next >