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 193087 Details for
Bug 340691
Syntax error leads to ClassCastException in ASTConverter
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
Log In
[x]
|
Terms of Use
|
Copyright Agent
[patch]
proposed fix
patch340691.txt (text/plain), 951 bytes, created by
Ayushman Jain
on 2011-04-12 15:37:46 EDT
(
hide
)
Description:
proposed fix
Filename:
MIME Type:
Creator:
Ayushman Jain
Created:
2011-04-12 15:37:46 EDT
Size:
951 bytes
patch
obsolete
>### Eclipse Workspace Patch 1.0 >#P org.eclipse.jdt.core >Index: compiler/org/eclipse/jdt/internal/compiler/parser/Parser.java >=================================================================== >RCS file: /cvsroot/eclipse/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/parser/Parser.java,v >retrieving revision 1.425 >diff -u -r1.425 Parser.java >--- compiler/org/eclipse/jdt/internal/compiler/parser/Parser.java 6 Apr 2011 22:26:03 -0000 1.425 >+++ compiler/org/eclipse/jdt/internal/compiler/parser/Parser.java 12 Apr 2011 19:09:19 -0000 >@@ -1016,6 +1016,10 @@ > } > if (node instanceof TypeDeclaration){ > TypeDeclaration type = (TypeDeclaration) node; >+ if ((type.modifiers & ClassFileConstants.AccEnum) != 0) { >+ // do not allow enums to be build as recovery types >+ continue; >+ } > if (type.declarationSourceEnd == 0){ > element = element.add(type, 0); > this.lastCheckPoint = type.bodyStart;
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 340691
:
193087
|
193140