Bug 42459 - DebugEvaluationTests don't run if target is 1.2
Summary: DebugEvaluationTests don't run if target is 1.2
Status: VERIFIED FIXED
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Core (show other bugs)
Version: 3.0   Edit
Hardware: PC Windows 2000
: P3 normal (vote)
Target Milestone: 3.0 M4   Edit
Assignee: Olivier Thomann CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-09-03 11:50 EDT by Olivier Thomann CLA
Modified: 2003-10-08 07:31 EDT (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 2003-09-03 11:50:14 EDT
When target is 1.2, the debug evaluation tests fail with a VerifyError.
java.lang.VerifyError: (class: CodeSnippet_3, method: run signature: ()V)
Incompatible type for getting or setting field
	at java.lang.Class.forName0(Native Method)
	at java.lang.Class.forName(Class.java:140)
	at
org.eclipse.jdt.core.tests.eval.target.CodeSnippetRunner.processClasses(CodeSnippetRunner.java:285)
	at
org.eclipse.jdt.core.tests.eval.target.CodeSnippetRunner$3.run(CodeSnippetRunner.java:385)

This is due to the update of the declaring class. It doesn't check the
delegateThis is any and wrongly update the declaring class for field.
Comment 1 Olivier Thomann CLA 2003-09-03 14:30:06 EDT
Fixed and released.
Comment 2 David Audel CLA 2003-10-08 07:31:01 EDT
Verified.