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 5575 Details for
Bug 40736
JDT compiler fails to compile legitimate Java code.
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
Log In
[x]
|
Terms of Use
|
Copyright Agent
regression test
UnreachableCatchBlockTest.java (text/plain), 735 bytes, created by
Nick Teryaev
on 2003-07-29 03:40:25 EDT
(
hide
)
Description:
regression test
Filename:
MIME Type:
Creator:
Nick Teryaev
Created:
2003-07-29 03:40:25 EDT
Size:
735 bytes
patch
obsolete
>package org.eclipse.jdt.core.tests.compiler.regression; > >public class UnreachableCatchBlockTest extends AbstractRegressionTest >{ > public UnreachableCatchBlockTest(String name) > { > super(name); > } > > public void test40736() > { > final String[] samples = { > "prs/Test40736.java", > "package prs;\n"+ > "public class Test40736\n"+ > "{\n"+ > " public void method()\n"+ > " {\n"+ > " if (false) {\n"+ > " try {\n"+ > " try {\n"+ > " throw new InterruptedException();\n"+ > " } finally {\n"+ > " System.out.println();\n"+ > " }\n"+ > " }\n"+ > " catch(InterruptedException e) {\n"+ > " }\n"+ > " }\n"+ > " }\n"+ > "}\n" > }; > runConformTest(samples); > } >}
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 40736
:
5575
|
5576