8012689: CallerSensitive annotation should not have CONSTRUCTOR Target

Reviewed-by: chegar
This commit is contained in:
Mandy Chung 2013-04-22 10:22:59 +01:00
parent 6eca517223
commit 0f6c789843

View File

@ -36,6 +36,6 @@ import static java.lang.annotation.ElementType.*;
* @author John R. Rose
*/
@Retention(RetentionPolicy.RUNTIME)
@Target({CONSTRUCTOR, METHOD})
@Target({METHOD})
public @interface CallerSensitive {
}