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 95246 Details for
Bug 219855
[1.5][compiler] StackOverflowError during: "Requesting Java AST from selection"
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
Log In
[x]
|
Terms of Use
|
Copyright Agent
[patch]
Fix as described by Kent in comment 7
eclipse-bug-219855.patch (text/plain), 1007 bytes, created by
Chris Paton
on 2008-04-08 14:26:19 EDT
(
hide
)
Description:
Fix as described by Kent in comment 7
Filename:
MIME Type:
Creator:
Chris Paton
Created:
2008-04-08 14:26:19 EDT
Size:
1007 bytes
patch
obsolete
>Index: compiler/org/eclipse/jdt/internal/compiler/lookup/FieldBinding.java >=================================================================== >RCS file: /cvsroot/eclipse/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/lookup/FieldBinding.java,v >retrieving revision 1.49 >diff -u -r1.49 FieldBinding.java >--- compiler/org/eclipse/jdt/internal/compiler/lookup/FieldBinding.java 22 Feb 2008 09:49:37 -0000 1.49 >+++ compiler/org/eclipse/jdt/internal/compiler/lookup/FieldBinding.java 5 Apr 2008 15:10:37 -0000 >@@ -195,7 +195,9 @@ > fieldDecl.resolve(originalField.isStatic() //side effect on binding > ? typeDecl.staticInitializerScope > : typeDecl.initializerScope); >- fieldConstant = originalField.constant(); >+ fieldConstant = originalField.constant == null >+ ? Constant.NotAConstant >+ : originalField.constant; > } else { > fieldConstant = Constant.NotAConstant; // shouldn't occur per construction (paranoid null check) > }
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 219855
:
90395
|
90396
|
90397
| 95246