Bug 565907 - [14] case with constant switch expression flags error
Summary: [14] case with constant switch expression flags error
Status: NEW
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Core (show other bugs)
Version: 4.17   Edit
Hardware: All All
: P3 normal (vote)
Target Milestone: 4.24   Edit
Assignee: Manoj N Palat CLA
QA Contact:
URL:
Whiteboard: stalebug
Keywords:
Depends on:
Blocks:
 
Reported: 2020-08-08 03:41 EDT by Manoj N Palat CLA
Modified: 2024-02-09 06:37 EST (History)
1 user (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 2020-08-08 03:41:38 EDT
Follow up from bug 565844 comment 6:

consider the code:
 case switch (2) {default ->1} -> 

This has a constant value and the compiler should not flag an error.
Comment 1 Manoj N Palat CLA 2020-10-01 05:04:21 EDT
Bulk move out of 4.18 M1
Comment 2 Manoj N Palat CLA 2021-02-19 05:27:20 EST
Bulk move out of 4.19
Comment 3 Jay Arthanareeswaran CLA 2021-11-19 01:22:27 EST
Bulk move out of 4.22.

If this is going to make it to 4.22, feel free to set the target back.
Comment 4 Manoj N Palat CLA 2022-02-16 05:12:30 EST
Bulk move out of 4.23
Comment 5 Eclipse Genie CLA 2024-02-09 06:37:13 EST
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.