hg: jdk8/tl/langtools: 8022322: Reject default and static methods in annotation

eric.mccorkle at oracle.com eric.mccorkle at oracle.com
Mon Sep 9 20:28:22 UTC 2013


Changeset: f4efd6ef6e80
Author:    emc
Date:      2013-09-09 16:26 -0400
URL:       http://hg.openjdk.java.net/jdk8/tl/langtools/rev/f4efd6ef6e80

8022322: Reject default and static methods in annotation
Summary: Causes javac to reject static and default method declarations inside an annotation
Reviewed-by: jjg

! src/share/classes/com/sun/tools/javac/code/Flags.java
! src/share/classes/com/sun/tools/javac/comp/Check.java
+ test/tools/javac/annotations/neg/NoDefault.java
+ test/tools/javac/annotations/neg/NoDefault.out
+ test/tools/javac/annotations/neg/NoDefaultAbstract.java
+ test/tools/javac/annotations/neg/NoDefaultAbstract.out
+ test/tools/javac/annotations/neg/NoStatic.java
+ test/tools/javac/annotations/neg/NoStatic.out
+ test/tools/javac/annotations/neg/NoStaticAbstract.java
+ test/tools/javac/annotations/neg/NoStaticAbstract.out




More information about the security-dev mailing list