Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

8305104: Remove the old core reflection implementation #14371

Closed
wants to merge 12 commits into from
Original file line number Diff line number Diff line change
@@ -306,11 +306,11 @@ static void ensureClassInitialized(Class<?> defc) {
*
* Native accessor, i.e. VM reflection implementation, is used if one of
* the following conditions is met:
* 1. during VM early startup and method handle support is fully initialized
* 1. during VM early startup before method handle support is fully initialized
* 2. a Java native method
* 3. -Djdk.reflect.useNativeAccessorOnly=true is set
* 4. the member takes a variable number of arguments and the last parameter
* is an array (see details below)
* is not an array (see details below)
* 5. the member's method type has an arity >= 255
*
* Otherwise, direct invocation of method handles is used.