hg: jdk8u/jdk8u-dev/langtools: 8035890: jdk8 javac -source 7 compiles	test case it should not
    jan.lahoda at oracle.com 
    jan.lahoda at oracle.com
       
    Tue Apr  8 07:49:29 UTC 2014
    
    
  
Changeset: 4f7d19235357
Author:    jlahoda
Date:      2014-03-31 21:27 +0200
URL:       http://hg.openjdk.java.net/jdk8u/jdk8u-dev/langtools/rev/4f7d19235357
8035890: jdk8 javac -source 7 compiles test case it should not
Summary: Ensuring source level checks are performed in two additional cases related to type annotations, adding specialized error message for annotations after method type parameters.
Reviewed-by: jfranck, jjg
! src/share/classes/com/sun/tools/javac/code/Source.java
! src/share/classes/com/sun/tools/javac/parser/JavacParser.java
! src/share/classes/com/sun/tools/javac/resources/compiler.properties
! test/tools/javac/annotations/typeAnnotations/failures/CantAnnotateScoping.out
+ test/tools/javac/annotations/typeAnnotations/failures/CheckErrorsForSource7.java
! test/tools/javac/annotations/typeAnnotations/failures/common/arrays/DeclarationAnnotation.out
+ test/tools/javac/diags/examples/AnnotationsAfterTypeParamsNotSupportedInSource.java
    
    
More information about the jdk8u-dev-changes
mailing list