changeset 7445:ff3ac3680ffa

8012689: CallerSensitive annotation should not have CONSTRUCTOR Target Reviewed-by: chegar
author mchung
date Mon, 22 Apr 2013 10:22:59 +0100
parents 15370008c68d
children 783ed53bce0b
files src/share/classes/sun/reflect/CallerSensitive.java
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/share/classes/sun/reflect/CallerSensitive.java	Mon Apr 22 10:21:22 2013 +0100
+++ b/src/share/classes/sun/reflect/CallerSensitive.java	Mon Apr 22 10:22:59 2013 +0100
@@ -36,6 +36,6 @@
  * @author John R. Rose
  */
 @Retention(RetentionPolicy.RUNTIME)
-@Target({CONSTRUCTOR, METHOD})
+@Target({METHOD})
 public @interface CallerSensitive {
 }