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 238801 Details for
Bug 414653
[test] intermittent failures in SwitchTest
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
Log In
[x]
|
Terms of Use
|
Copyright Agent
[patch]
Work around fix
Fixed-Bug-414653.patch (text/plain), 2.81 KB, created by
Jay Arthanareeswaran
on 2014-01-09 00:18:30 EST
(
hide
)
Description:
Work around fix
Filename:
MIME Type:
Creator:
Jay Arthanareeswaran
Created:
2014-01-09 00:18:30 EST
Size:
2.81 KB
patch
obsolete
>### Eclipse Workspace Patch 1.0 >#P org.eclipse.jdt.core.tests.compiler >diff --git src/org/eclipse/jdt/core/tests/compiler/regression/SwitchTest.java src/org/eclipse/jdt/core/tests/compiler/regression/SwitchTest.java >index 165b19a..d78c27f 100644 >--- src/org/eclipse/jdt/core/tests/compiler/regression/SwitchTest.java >+++ src/org/eclipse/jdt/core/tests/compiler/regression/SwitchTest.java >@@ -1,4 +1,4 @@ > /******************************************************************************* >- * Copyright (c) 2005, 2012 IBM Corporation and others. >+ * Copyright (c) 2005, 2014 IBM Corporation and others. > * All rights reserved. This program and the accompanying materials > * are made available under the terms of the Eclipse Public License v1.0 >@@ -1464,5 +1464,5 @@ > " public static void main(String[] argv) {\n" + > " String dispatcher = \"\u0000\";\n" + >- " for (int i = 0; i < 100; i++) {\n" + >+ " outer: for (int i = 0; i < 100; i++) {\n" + > " switch (dispatcher) {\n" + > " case \"\u0000\":\n" + >@@ -1483,5 +1483,5 @@ > " default:\n" + > " System.out.println(\"Default\");\n" + >- " System.exit(0);\n" + >+ " break outer;\n" + > " case \"\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\":\n" + > " System.out.print(\"8 \");\n" + >@@ -1520,5 +1520,5 @@ > " public static void main(String[] argv) {\n" + > " String dispatcher = \"\u0000\";\n" + >- " while(true) {\n" + >+ " outer: while(true) {\n" + > " switch (dispatcher) {\n" + > " case \"\u0000\":\n" + >@@ -1544,5 +1544,5 @@ > " default:\n" + > " System.out.println(\"Default\");\n" + >- " System.exit(0);\n" + >+ " break outer;\n" + > " case \"\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\":\n" + > " System.out.print(\"8 \");\n" + >@@ -1722,5 +1722,5 @@ > " }\n" + > " public static void main(String [] args) {\n" + >- " while (true) {\n" + >+ " outer: while (true) {\n" + > " String s = null;\n" + > " switch(s = dispatcher()) {\n" + >@@ -1740,5 +1740,5 @@ > " break;\n" + > " default: System.out.print(\"DONE\");\n" + >- " System.exit(0);\n" + >+ " break outer;\n" + > " }\n" + > " }\n" + >@@ -1772,5 +1772,5 @@ > " }\n" + > " public static void main(String [] args) {\n" + >- " while (true) {\n" + >+ " outer: while (true) {\n" + > " String s = null;\n" + > " switch(s = dispatcher()) {\n" + >@@ -1781,5 +1781,5 @@ > " case \"0\": break;\n" + > " default: System.out.print(\"DONE\");\n" + >- " System.exit(0);\n" + >+ " break outer;\n" + > " }\n" + > " }\n" + >@@ -1846,9 +1846,7 @@ > " break;\n" + > " default: System.out.print(\"DONE\");\n" + >- " System.exit(0);\n" + > " break junk;\n" + > " }\n" + > " }\n" + >- " System.out.println(\"Broken\");\n" + > " }\n" + > "}\n",
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 Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 414653
:
234192
|
237650
| 238801