8012689: CallerSensitive annotation should not have CONSTRUCTOR Target
authormchung
Mon, 22 Apr 2013 10:22:59 +0100
changeset 18236 113b932d5809
parent 18235 5cef881c0a28
child 18237 54af2a0e06da
8012689: CallerSensitive annotation should not have CONSTRUCTOR Target Reviewed-by: chegar
jdk/src/share/classes/sun/reflect/CallerSensitive.java
--- a/jdk/src/share/classes/sun/reflect/CallerSensitive.java	Mon Apr 22 10:21:22 2013 +0100
+++ b/jdk/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 {
 }