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 76221 Details for
Bug 200080
Endless illegal arg exceptions from java editor's ASTProvider
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
Log In
[x]
|
Terms of Use
|
Copyright Agent
[patch]
Regression test
200080.txt (text/plain), 1.37 KB, created by
Jerome Lanneluc
on 2007-08-16 09:33:28 EDT
(
hide
)
Description:
Regression test
Filename:
MIME Type:
Creator:
Jerome Lanneluc
Created:
2007-08-16 09:33:28 EDT
Size:
1.37 KB
patch
obsolete
>### Eclipse Workspace Patch 1.0 >#P org.eclipse.jdt.core.tests.model >Index: src/org/eclipse/jdt/core/tests/dom/ASTConverterTest2.java >=================================================================== >RCS file: /cvsroot/eclipse/org.eclipse.jdt.core.tests.model/src/org/eclipse/jdt/core/tests/dom/ASTConverterTest2.java,v >retrieving revision 1.181 >diff -u -r1.181 ASTConverterTest2.java >--- src/org/eclipse/jdt/core/tests/dom/ASTConverterTest2.java 28 Jun 2007 15:03:28 -0000 1.181 >+++ src/org/eclipse/jdt/core/tests/dom/ASTConverterTest2.java 16 Aug 2007 13:35:02 -0000 >@@ -5483,4 +5483,28 @@ > workingCopy.discardWorkingCopy(); > } > } >+ >+ /* >+ * Ensures that no exception is thrown in case of a syntax error in method parameter declarations >+ * (regression test for bug 200080 Endless illegal arg exceptions from java editor's ASTProvider) >+ */ >+ public void test0609() throws CoreException { >+ ICompilationUnit workingCopy = null; >+ try { >+ workingCopy = getWorkingCopy( >+ "/Converter/src/X.java", >+ "public class X {\n" + >+ " void foo(a, b, ) {\n" + >+ " if\n" + >+ " }\n" + >+ "}" >+ ); >+ ASTNode cu = workingCopy.reconcile(AST.JLS3, true, true, null, null); >+ assertNotNull("Should get an AST", cu); >+ } finally { >+ if (workingCopy != null) >+ workingCopy.discardWorkingCopy(); >+ } >+ } >+ > }
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 200080
:
76140
| 76221