Bug 3385 - JCK 1.4 - INTF - illegal method declaration for interface (1GK2AWS)
Summary: JCK 1.4 - INTF - illegal method declaration for interface (1GK2AWS)
Status: RESOLVED FIXED
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Core (show other bugs)
Version: 2.0   Edit
Hardware: All Windows 2000
: P3 normal (vote)
Target Milestone: 2.0 M2   Edit
Assignee: Philipe Mulet CLA
QA Contact:
URL:
Whiteboard:
Keywords:
: 3318 (view as bug list)
Depends on:
Blocks:
 
Reported: 2001-10-10 22:54 EDT by Olivier Thomann CLA
Modified: 2002-01-11 08:56 EST (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Olivier Thomann CLA 2001-10-10 22:54:14 EDT
http://www.ott.oti.com/uvm/OTIIBM/numbat/Testing/JCK-
14/tests/lang/INTF/intf046/intf04601/intf04601.html - NEGATIVE

Test case:

NOTES:
OT (14/09/2001 5:23:29 PM)
	Java rejects it with this error:

intf04601i.java:2: equals(java.lang.Object) in intf04601i cannot override equals
(java.lang.Object) in java.lang.Object; attempting to use incompatible return 
type
found   : int
required: boolean
    int equals(Object obj);
        ^
1 error

OT(14/09/2001 5:24:23 PM)
	I think this is related to 1GFVU2V: ITPJCORE:ALL - JDOM - IDomNode 
redefines clone() with different signature
	javac 1.3 fails as well.
Comment 1 Olivier Thomann CLA 2001-10-17 11:56:57 EDT
*** Bug 3318 has been marked as a duplicate of this bug. ***
Comment 2 Philipe Mulet CLA 2002-01-09 12:25:20 EST
Extended the method verification check to include Object for interfaces.
Fixed.