Bug 545374 - [12] [compiler] Switch Statement to be made independent of Expression
Summary: [12] [compiler] Switch Statement to be made independent of Expression
Status: NEW
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Core (show other bugs)
Version: 4.11   Edit
Hardware: PC Windows 7
: P3 normal (vote)
Target Milestone: BETA J13   Edit
Assignee: JDT-Core-Inbox CLA
QA Contact:
URL:
Whiteboard: stalebug
Keywords:
Depends on:
Blocks:
 
Reported: 2019-03-13 12:51 EDT by Manoj N Palat CLA
Modified: 2023-05-07 14:57 EDT (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Manoj N Palat CLA 2019-03-13 12:51:47 EDT
Follow-up of the issue found in bug 544605 comment 5 - SwitchStatement is now extending Expression so that SwitchExpression can share the code of SwitchStatement and also be treated as an expression - rightly so. However, this warrants an explicit expression check in addition to instanceof. Revisit this relationship to check the possibility of making SwitchStatement independent of Expression as before but with SwitchExpression shareing code (talk of contrasting requirements..)
Comment 1 Eclipse Genie CLA 2021-05-10 09:04:43 EDT
This bug hasn't had any activity in quite some time. Maybe the problem got resolved, was a duplicate of something else, or became less pressing for some reason - or maybe it's still relevant but just hasn't been looked at yet.

If you have further information on the current state of the bug, please add it. The information can be, for example, that the problem still occurs, that you still want the feature, that more information is needed, or that the bug is (for whatever reason) no longer relevant.

--
The automated Eclipse Genie.
Comment 2 Vikas Chandra CLA 2021-05-10 09:22:35 EDT
Manoj, can you please check if this is relevant.
Comment 3 Manoj N Palat CLA 2021-05-10 11:12:11 EDT
(In reply to Vikas Chandra from comment #2)
> Manoj, can you please check if this is relevant.

 yes, relevant but involves a design change for switch expressions - Keeping in the radar until the planets align...
Comment 4 Eclipse Genie CLA 2023-05-07 14:57:44 EDT
This bug hasn't had any activity in quite some time. Maybe the problem got resolved, was a duplicate of something else, or became less pressing for some reason - or maybe it's still relevant but just hasn't been looked at yet.

If you have further information on the current state of the bug, please add it. The information can be, for example, that the problem still occurs, that you still want the feature, that more information is needed, or that the bug is (for whatever reason) no longer relevant.

--
The automated Eclipse Genie.