mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-28 15:24:43 +02:00
8305104: Remove the old core reflection implementation
Reviewed-by: dholmes, alanb
This commit is contained in:
parent
bfef3c3e80
commit
9bfe415f66
79 changed files with 99 additions and 6336 deletions
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
* Copyright (c) 2001, Oracle and/or its affiliates. All rights reserved.
|
||||
* Copyright (c) 2001, 2023, Oracle and/or its affiliates. All rights reserved.
|
||||
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||
*
|
||||
* This code is free software; you can redistribute it and/or modify it
|
||||
|
@ -24,23 +24,9 @@
|
|||
*/
|
||||
|
||||
#include "jvm.h"
|
||||
#include "jdk_internal_reflect_NativeConstructorAccessorImpl.h"
|
||||
#include "jdk_internal_reflect_NativeMethodAccessorImpl.h"
|
||||
#include "jdk_internal_reflect_DirectMethodHandleAccessor_NativeAccessor.h"
|
||||
#include "jdk_internal_reflect_DirectConstructorHandleAccessor_NativeAccessor.h"
|
||||
|
||||
JNIEXPORT jobject JNICALL Java_jdk_internal_reflect_NativeMethodAccessorImpl_invoke0
|
||||
(JNIEnv *env, jclass unused, jobject m, jobject obj, jobjectArray args)
|
||||
{
|
||||
return JVM_InvokeMethod(env, m, obj, args);
|
||||
}
|
||||
|
||||
JNIEXPORT jobject JNICALL Java_jdk_internal_reflect_NativeConstructorAccessorImpl_newInstance0
|
||||
(JNIEnv *env, jclass unused, jobject c, jobjectArray args)
|
||||
{
|
||||
return JVM_NewInstanceFromConstructor(env, c, args);
|
||||
}
|
||||
|
||||
JNIEXPORT jobject JNICALL Java_jdk_internal_reflect_DirectMethodHandleAccessor_00024NativeAccessor_invoke0
|
||||
(JNIEnv *env, jclass unused, jobject m, jobject obj, jobjectArray args)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue