diff src/share/vm/prims/jvm.h @ 7457:35431a769282

8004823: Add VM support for type annotation reflection Reviewed-by: dholmes, coleenp Contributed-by: joel.franck@oracle.com
author stefank
date Thu, 20 Dec 2012 10:22:19 +0100
parents da91efe96a93
children ade95d680b42
line wrap: on
line diff
--- a/src/share/vm/prims/jvm.h	Wed Dec 19 10:35:08 2012 -0800
+++ b/src/share/vm/prims/jvm.h	Thu Dec 20 10:22:19 2012 +0100
@@ -519,6 +519,10 @@
 JNIEXPORT jbyteArray JNICALL
 JVM_GetMethodParameterAnnotations(JNIEnv *env, jobject method);
 
+/* Type use annotations support (JDK 1.8) */
+
+JNIEXPORT jbyteArray JNICALL
+JVM_GetClassTypeAnnotations(JNIEnv *env, jclass cls);
 
 /*
  * New (JDK 1.4) reflection implementation