Bug 106499 - [1.5][compiler] Compilation error on valid ternary operator syntax
Summary: [1.5][compiler] Compilation error on valid ternary operator syntax
Status: RESOLVED DUPLICATE of bug 100043
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Core (show other bugs)
Version: 3.1   Edit
Hardware: PC All
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: JDT-Core-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-08-09 11:39 EDT by Zorzella Mising name CLA
Modified: 2005-08-09 13:13 EDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Zorzella Mising name CLA 2005-08-09 11:39:32 EDT
With autoboxing, the following became a valid construct, but it fails
compilation on Eclipse:

Object a = true ? "7" : 7;

Zorzella
Comment 1 Olivier Thomann CLA 2005-08-09 12:06:18 EDT
Works in latest.
Might be a dup of bug 104655.
Comment 2 Olivier Thomann CLA 2005-08-09 13:13:49 EDT

*** This bug has been marked as a duplicate of 100043 ***