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 113880 Details for
Bug 249134
[compiler] error message (implement abstract method) not as intended
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
Log In
[x]
|
Terms of Use
|
Copyright Agent
[patch]
proposed fix
implement-abstract-method.diff (text/plain), 1.23 KB, created by
Stephan Herrmann
on 2008-09-30 11:33:20 EDT
(
hide
)
Description:
proposed fix
Filename:
MIME Type:
Creator:
Stephan Herrmann
Created:
2008-09-30 11:33:20 EDT
Size:
1.23 KB
patch
obsolete
>Index: compiler/org/eclipse/jdt/internal/compiler/lookup/MethodVerifier.java >=================================================================== >RCS file: /cvsroot/eclipse/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/lookup/MethodVerifier.java,v >retrieving revision 1.97 >diff -u -r1.97 MethodVerifier.java >--- compiler/org/eclipse/jdt/internal/compiler/lookup/MethodVerifier.java 26 Aug 2008 11:52:54 -0000 1.97 >+++ compiler/org/eclipse/jdt/internal/compiler/lookup/MethodVerifier.java 30 Sep 2008 15:30:22 -0000 >@@ -342,8 +342,8 @@ > if (mustImplementAbstractMethod(methods[i].declaringClass)) { > TypeDeclaration typeDeclaration = this.type.scope.referenceContext; > if (typeDeclaration != null) { >- MethodDeclaration missingAbstractMethod = typeDeclaration.addMissingAbstractMethodFor(methods[0]); >- missingAbstractMethod.scope.problemReporter().abstractMethodMustBeImplemented(this.type, methods[0]); >+ MethodDeclaration missingAbstractMethod = typeDeclaration.addMissingAbstractMethodFor(methods[i]); >+ missingAbstractMethod.scope.problemReporter().abstractMethodMustBeImplemented(this.type, methods[i]); > } else { > problemReporter().abstractMethodMustBeImplemented(this.type, methods[0]); > }
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 249134
:
113880
|
113997
|
114598
|
117235
|
117239
|
118174
|
118376
|
118514