Bug 3410 - JCK 1.4 - BINC - Adding a String field that has the same name as a String field of a superclass (1GK7MHO)
Summary: JCK 1.4 - BINC - Adding a String field that has the same name as a String fie...
Status: RESOLVED FIXED
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Core (show other bugs)
Version: 2.0   Edit
Hardware: All Windows 2000
: P1 normal (vote)
Target Milestone: 2.0 M2   Edit
Assignee: Philipe Mulet CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2001-10-10 22:54 EDT by Olivier Thomann CLA
Modified: 2002-01-21 14:15 EST (History)
0 users

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:40 EDT
http://www.ott.oti.com/uvm/OTIIBM/numbat/Testing/JCK-
14/tests/lang/BINC/binc014/binc01401/binc01401.html - POSITIVE TEST
	This is a binary compatibility test. You need to compile first the 
first test case and then the second. Not both at the same time. And then 
execute it. The problem with the Eclipse
	compiler occurs only at runtime.

Test cases:

	javac 1.4:
		compilation: OK
		runtime:
Super

	javac 1.3: 
		compilation: OK
		runtime:
Hyper
failed

	Eclipse compiler:
		compilation: OK
		runtime:
Hyper
failed

NOTES:

OT (18/09/2001 6:27:24 PM)
	javac 1.4 declares the declaring class of the field h to be binc01401 
instead of Hyper like we do.

	We can clearly see the difference for the getField bytecode.
Comment 1 Philipe Mulet CLA 2002-01-21 14:15:46 EST
Adapted to this change for 1.4 mode only.
Fixed