JDK-7006129 : Project Coin: Annotation type to reduce varargs warnings
  • Type: Bug
  • Component: core-libs
  • Sub-Component: java.lang
  • Affected Version: 7
  • Priority: P3
  • Status: Closed
  • Resolution: Fixed
  • OS: generic
  • CPU: generic
  • Submitted: 2010-12-10
  • Updated: 2020-01-02
  • Resolved: 2011-05-17
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 7
7 b123Fixed
Related Reports
Relates :  
Relates :  
Relates :  
Relates :  
Relates :  
Relates :  
Relates :  
Description
The general design of the Project Coin feature to reduce varargs warnings:

http://blogs.sun.com/darcy/entry/projectcoin_inducing_contributory_pollution

Uses an annotation to allow programmers to declare their method safely handles the varargs parameter.  This bug is to track added the new annotation type in java.lang, replacing the prototype support based on SuppressedWarnings (6945418).

Comments
EVALUATION http://hg.openjdk.java.net/jdk7/build/jdk/rev/78885e69c42c
25-12-2010

PUBLIC COMMENTS See http://hg.openjdk.java.net/jdk7/tl/jdk/rev/78885e69c42c
14-12-2010

EVALUATION Yes.
10-12-2010