comparison src/share/vm/prims/jvm.h @ 8818:1916ca1dec2f

8009382: Add JVM_Get{Field|Method}TypeAnnotations Reviewed-by: dcubed, rbackman Contributed-by: Joel Borggren-Franck <joel.franck@oracle.com>
author rbackman
date Tue, 26 Mar 2013 15:00:34 +0100
parents 41d73c9b30a8
children ba9dacff9c9d
comparison
equal deleted inserted replaced
8817:b8deb3205b51 8818:1916ca1dec2f
520 520
521 /* Type use annotations support (JDK 1.8) */ 521 /* Type use annotations support (JDK 1.8) */
522 522
523 JNIEXPORT jbyteArray JNICALL 523 JNIEXPORT jbyteArray JNICALL
524 JVM_GetClassTypeAnnotations(JNIEnv *env, jclass cls); 524 JVM_GetClassTypeAnnotations(JNIEnv *env, jclass cls);
525
526 // field is a handle to a java.lang.reflect.Field object
527 JNIEXPORT jbyteArray JNICALL
528 JVM_GetFieldTypeAnnotations(JNIEnv *env, jobject field);
529
530 // method is a handle to a java.lang.reflect.Method object
531 JNIEXPORT jbyteArray JNICALL
532 JVM_GetMethodTypeAnnotations(JNIEnv *env, jobject method);
525 533
526 /* 534 /*
527 * New (JDK 1.4) reflection implementation 535 * New (JDK 1.4) reflection implementation
528 */ 536 */
529 537