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 25162 Details for
Bug 104738
[1.5][compiler] Enclosing method attribute is generated for member type of a local type
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
Log In
[x]
|
Terms of Use
|
Copyright Agent
[patch]
Proposed fix
patch_104738.txt (text/plain), 905 bytes, created by
Olivier Thomann
on 2005-07-21 17:39:22 EDT
(
hide
)
Description:
Proposed fix
Filename:
MIME Type:
Creator:
Olivier Thomann
Created:
2005-07-21 17:39:22 EDT
Size:
905 bytes
patch
obsolete
>Index: compiler/org/eclipse/jdt/internal/compiler/ClassFile.java >=================================================================== >RCS file: /home/eclipse/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/ClassFile.java,v >retrieving revision 1.111 >diff -u -r1.111 ClassFile.java >--- compiler/org/eclipse/jdt/internal/compiler/ClassFile.java 30 May 2005 17:05:38 -0000 1.111 >+++ compiler/org/eclipse/jdt/internal/compiler/ClassFile.java 21 Jul 2005 21:34:59 -0000 >@@ -603,7 +603,8 @@ > attributeNumber++; > } > if (targetJDK >= ClassFileConstants.JDK1_5 >- && (this.referenceBinding.isAnonymousType() || this.referenceBinding.isLocalType())) { >+ && this.referenceBinding.isNestedType() >+ && !this.referenceBinding.isMemberType()) { > // add enclosing method attribute (1.5 mode only) > if (contentsOffset + 10 >= contents.length) { > resizeContents(10);
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 104738
: 25162 |
25243