hg: jdk9/sandbox/langtools: 8069254: Warning issued despite	@SafeVarargs annotation on constructor
    chris.hegarty at oracle.com 
    chris.hegarty at oracle.com
       
    Fri Jan 23 14:35:11 UTC 2015
    
    
  
Changeset: de31f7bc10c7
Author:    jlahoda
Date:      2015-01-23 15:14 +0100
URL:       http://hg.openjdk.java.net/jdk9/sandbox/langtools/rev/de31f7bc10c7
8069254: Warning issued despite @SafeVarargs annotation on constructor
Summary: The Symbol created for diamond inference does not have annotations attached - need to look for @SafeVarargs on the underlying constructor's Symbol.
Reviewed-by: mcimadamore
! src/jdk.compiler/share/classes/com/sun/tools/javac/comp/Check.java
+ test/tools/javac/varargs/warning/Warn6.java
    
    
More information about the jdk9-sandbox-changes
mailing list