JDK-7029150 : Project Coin: present union types from the tree API through to javax.lang.model
  • Type: Bug
  • Component: tools
  • Sub-Component: javac
  • Affected Version: 7
  • Priority: P3
  • Status: Closed
  • Resolution: Fixed
  • OS: generic
  • CPU: generic
  • Submitted: 2011-03-18
  • Updated: 2011-05-17
  • 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 b142Fixed
Related Reports
Relates :  
Description
JSR 334 introduces a new flavor of type: a disjunctive type that can (in JDK 7) only be used for exception parameters.  The tree API in javac models the type alternatives directly.  When running a JSR 269 annotation processor in conjunction with the tree API, it would be preferable if the Element and Type objects corresponding to declaration of a disjunctive type on a exception parameter appeared as disjunctive types as well.

Comments
EVALUATION Yes.
09-04-2011