Bug 3412

Summary: JCK 1.4 - BINC - Invoke overriding class methods (1GK7UGQ)
Product: [Eclipse Project] JDT Reporter: Olivier Thomann <Olivier_Thomann>
Component: CoreAssignee: Philipe Mulet <philippe_mulet>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P1    
Version: 2.0   
Target Milestone: 2.0 M2   
Hardware: All   
OS: Windows 2000   
Whiteboard:

Description Olivier Thomann CLA 2001-10-10 22:54:42 EDT
http://www.ott.oti.com/uvm/OTIIBM/numbat/Testing/JCK-
14/tests/lang/BINC/binc044/binc04402/binc04402.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: NONE

	javac 1.3:
		compilation: OK
		runtime: failed

	Eclipse compiler:
		compilation: OK
		runtime: failed

NOTES:
	We can see that the second invokestatic is different. We refer to Hyper 
and javac refers to Super. Then when the class definition changes for Super, we 
	don't detect the problem.
Comment 1 Philipe Mulet CLA 2002-01-21 14:16:38 EST
Adapted to this change for 1.4 mode only.
Fixed