Download
Getting Started
Members
Projects
Community
Marketplace
Events
Planet Eclipse
Newsletter
Videos
Participate
Report a Bug
Forums
Mailing Lists
Wiki
IRC
How to Contribute
Working Groups
Automotive
Internet of Things
LocationTech
Long-Term Support
PolarSys
Science
OpenMDM
More
Community
Marketplace
Events
Planet Eclipse
Newsletter
Videos
Participate
Report a Bug
Forums
Mailing Lists
Wiki
IRC
How to Contribute
Working Groups
Automotive
Internet of Things
LocationTech
Long-Term Support
PolarSys
Science
OpenMDM
Toggle navigation
Bugzilla – Attachment 277728 Details for
Bug 544943
[13][codegen] Exception while codegen for multi-nested switch expression with try
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
Log In
[x]
|
Terms of Use
|
Copyright Agent
Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read
this important communication.
test case
file_544943.txt (text/plain), 763 bytes, created by
Manoj N Palat
on 2019-03-01 05:46:31 EST
(
hide
)
Description:
test case
Filename:
MIME Type:
Creator:
Manoj N Palat
Created:
2019-03-01 05:46:31 EST
Size:
763 bytes
patch
obsolete
>public class X { > @SuppressWarnings("preview") > public static int foo(int i) throws MyException { > int v = -1; > try { > v = switch (i) { > case 0 -> switch(i) { > case 0 -> 1; > default -> throw new MyException(); > }; > default -> 1; > }; > } finally { > // do nothing > } > return v; > } > public static void main(String argv[]) { > try { > X.foo(0); > } catch (MyException e) { > // TODO Auto-generated catch block > e.printStackTrace(); > } > } >} >class MyException extends Exception { > private static final long serialVersionUID = 3461899582505930473L; >}
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 544943
: 277728 |
279655