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 51836 Details for
Bug 159973
[1.5] [compiler] VerifyError due to compiler generating incorrect synthetic methods
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
Log In
[x]
|
Terms of Use
|
Copyright Agent
[patch]
Better patch
159973.txt (text/plain), 1.31 KB, created by
Philipe Mulet
on 2006-10-12 03:59:46 EDT
(
hide
)
Description:
Better patch
Filename:
MIME Type:
Creator:
Philipe Mulet
Created:
2006-10-12 03:59:46 EDT
Size:
1.31 KB
patch
obsolete
>### Eclipse Workspace Patch 1.0 >#P org.eclipse.jdt.core >Index: compiler/org/eclipse/jdt/internal/compiler/lookup/MethodVerifier15.java >=================================================================== >RCS file: /cvsroot/eclipse/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/lookup/MethodVerifier15.java,v >retrieving revision 1.61 >diff -u -r1.61 MethodVerifier15.java >--- compiler/org/eclipse/jdt/internal/compiler/lookup/MethodVerifier15.java 16 Jun 2006 16:12:37 -0000 1.61 >+++ compiler/org/eclipse/jdt/internal/compiler/lookup/MethodVerifier15.java 12 Oct 2006 08:02:05 -0000 >@@ -90,9 +90,11 @@ > } > } > } >- >- if (concreteMethod.declaringClass.erasure().findSuperTypeWithSameErasure(originalInherited.declaringClass) == null) >- this.type.addSyntheticBridgeMethod(originalInherited, concreteMethod.original()); >+ // check whether bridge method is already defined above for interface methods >+ if (originalInherited.declaringClass.isInterface() >+ && this.type.superclass.erasure().findSuperTypeWithSameErasure(originalInherited.declaringClass) == null) { >+ this.type.addSyntheticBridgeMethod(originalInherited, concreteMethod.original()); >+ } > } > } > void checkForBridgeMethod(MethodBinding currentMethod, MethodBinding inheritedMethod, MethodBinding[] allInheritedMethods) {
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 159973
:
51792
|
51822
|
51823
| 51836