JDK-6975275 : diamond implementation needs some cleanup
  • Type: Enhancement
  • Component: tools
  • Sub-Component: javac
  • Affected Version: 7
  • Priority: P3
  • Status: Closed
  • Resolution: Fixed
  • OS: generic
  • CPU: unknown
  • Submitted: 2010-08-06
  • Updated: 2011-05-18
  • Resolved: 2011-05-18
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 b109Fixed
Related Reports
Relates :  
Description
There are two problems with the diamond implementation currently checked in:

*) the implementation is using some flag to suppress errors that doesn't seem to be used anymore (probably a leftover of the old algorithm)

*) diamond errors issued during constructor resolution does not go through standard channels (logResolveError) - instead, Resolve directly reports an error to Log.

Comments
SUGGESTED FIX A webrev of this fix is available at the following URL: http://hg.openjdk.java.net/jdk7/tl/langtools/rev/a2d8c7071f24
11-08-2010

EVALUATION Will fix
06-08-2010