Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 1722 - Known problem: eval in binaries in class libs causes ClassNotFoundException (1GLE039)
Summary: Known problem: eval in binaries in class libs causes ClassNotFoundException (...
Status: RESOLVED DUPLICATE of bug 1546
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Debug (show other bugs)
Version: 2.0   Edit
Hardware: All All
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Darin Wright CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on: 1546
Blocks:
  Show dependency tree
 
Reported: 2001-10-10 22:18 EDT by Darin Wright CLA
Modified: 2002-02-26 14:55 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 Darin Wright CLA 2001-10-10 22:18:13 EDT
DW (10/10/2001 10:37:33 AM)
	Known problem for demo:
		Cannot perform an evaluation in a binary that is in a system package.
		This causes a "ClassNotFoundException".

	For example, in the debugger, stopped in "java.util.Vector.removeElement(Object)"
	and evaluating "size" causes something like:

.java.lang.ClassNotFoundException: java/util/CodeSnippet_15
	at java.lang.Class.forName1(Native Method)
	at java.lang.Class.forName(Class.java:134)
	at java.util.Vector.removeElement(Vector.java:601)
	at junit.samples.VectorTest.testRemoveElement(VectorTest.java:64)
	at java.lang.reflect.Method.invoke(Native Method)
	at junit.framework.TestCase.runTest(TestCase.java:166)
	at junit.framework.TestCase.runBare(TestCase.java:140)
	at junit.framework.TestResult$1.protect(TestResult.java:106)
	at junit.framework.TestResult.runProtected(TestResult.java:124)
	at junit.framework.TestResult.run(TestResult.java:109)
	at junit.framework.TestCase.run(TestCase.java:131)
	at junit.framework.TestSuite.runTest(TestSuite.java:173)
	at junit.framework.TestSuite.run(TestSuite.java:168)
	at junit.textui.TestRunner.doRun(TestRunner.java:74)
	at junit.textui.TestRunner.run(TestRunner.java:200)
	at junit.samples.VectorTest.main(VectorTest.java:19)
Comment 1 Darin Wright CLA 2002-02-26 14:55:49 EST

*** This bug has been marked as a duplicate of 1546 ***