hg: tiered-attrib/dev/langtools: 2 new changesets

vicente.romero at oracle.com vicente.romero at oracle.com
Sun May 24 22:00:20 UTC 2015


Changeset: 7f25537496ff
Author:    alundblad
Date:      2015-04-17 11:52 +0200
URL:       http://hg.openjdk.java.net/tiered-attrib/dev/langtools/rev/7f25537496ff

8073534: Confusing / incorrect error message regarding annotations on non-declarations
Summary: Adjusted error message for annotations on non-declarations.
Reviewed-by: jlahoda, dlsmith

! src/jdk.compiler/share/classes/com/sun/tools/javac/comp/Attr.java
! src/jdk.compiler/share/classes/com/sun/tools/javac/comp/Check.java
! src/jdk.compiler/share/classes/com/sun/tools/javac/resources/compiler.properties
+ test/tools/javac/annotations/typeAnnotations/DeclVsUseErrorMessage.java
+ test/tools/javac/annotations/typeAnnotations/DeclVsUseErrorMessage.out
! test/tools/javac/annotations/typeAnnotations/failures/TypeOnAnonClass.out
! test/tools/javac/annotations/typeAnnotations/failures/common/arrays/DeclarationAnnotation.out
! test/tools/javac/annotations/typeAnnotations/failures/common/arrays/InvalidLocation.out
! test/tools/javac/annotations/typeAnnotations/failures/common/innertypeparams/InvalidLocation.out
! test/tools/javac/annotations/typeAnnotations/failures/common/newarray/InvalidLocation.out
! test/tools/javac/annotations/typeAnnotations/failures/common/parambounds/BrokenAnnotation.out
! test/tools/javac/annotations/typeAnnotations/failures/common/parambounds/InvalidLocation.out
! test/tools/javac/annotations/typeAnnotations/failures/common/receiver/DeclarationAnnotation.out
! test/tools/javac/annotations/typeAnnotations/failures/common/rest/InvalidLocation.out
! test/tools/javac/annotations/typeAnnotations/failures/common/typeArgs/InvalidLocation.out
! test/tools/javac/annotations/typeAnnotations/failures/common/typeparams/InvalidLocation.out
! test/tools/javac/annotations/typeAnnotations/failures/common/wildcards/DeclarationAnnotation.out
! test/tools/javac/annotations/typeAnnotations/failures/common/wildcards/InvalidLocation.out
+ test/tools/javac/diags/examples/TypeAnnoNotApplicableInTypeContext.java

Changeset: 5b899ada5593
Author:    vromero
Date:      2015-05-24 14:59 -0700
URL:       http://hg.openjdk.java.net/tiered-attrib/dev/langtools/rev/5b899ada5593

merge

! src/jdk.compiler/share/classes/com/sun/tools/javac/comp/Attr.java
! src/jdk.compiler/share/classes/com/sun/tools/javac/comp/Check.java
! src/jdk.compiler/share/classes/com/sun/tools/javac/resources/compiler.properties



More information about the tiered-attrib-dev mailing list