hg: jdk10/sandbox/langtools: 8068836: Error message should be updated when Override is used with static methods
chris.hegarty at oracle.com
chris.hegarty at oracle.com
Mon Jul 3 07:33:05 UTC 2017
Changeset: add6717b655e
Author: sadayapalam
Date: 2017-07-03 12:58 +0530
URL: http://hg.openjdk.java.net/jdk10/sandbox/langtools/rev/add6717b655e
8068836: Error message should be updated when Override is used with static methods
Summary: Issue a more direct, specific error when @Override annotation is used with a static method
Reviewed-by: sadayapalam
Contributed-by: priya.lakshmi.muthuswamy at oracle.com
! 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/6359949/T6359949a.java
! test/tools/javac/annotations/6359949/T6359949a.out
+ test/tools/javac/diags/examples/OverrideAnnotatedStaticMethod.java
More information about the jdk10-sandbox-changes
mailing list