Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 356410

Summary: NoClassDefFoundError running program with primitive types date and timeStamp
Product: z_Archived Reporter: broy2
Component: EDTAssignee: Project Inbox <edt.javagen-inbox>
Status: CLOSED DUPLICATE QA Contact:
Severity: normal    
Priority: P3 CC: mheitz
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Windows XP   
Whiteboard:

Description broy2 CLA 2011-08-31 16:58:37 EDT
Build Identifier: 20110831

Get NoClassDefFoundError when running the following program:

program pgm type basicprogram
	function main()
		myDate date;
	end
end 

Exception in thread "main" java.lang.NoClassDefFoundError: com/ibm/icu/util/Calendar
	at org.eclipse.edt.runtime.java.egl.lang.EDate.defaultValue(EDate.java:64)
	at pkg.pgm.main(pgm.java:25)
	at org.eclipse.edt.javart.resources.RunUnitBase.start(RunUnitBase.java:243)
	at pkg.pgm.main(pgm.java:15)
Caused by: java.lang.ClassNotFoundException: com.ibm.icu.util.Calendar
	at java.net.URLClassLoader$1.run(Unknown Source)
	at java.security.AccessController.doPrivileged(Native Method)
	at java.net.URLClassLoader.findClass(Unknown Source)
	at java.lang.ClassLoader.loadClass(Unknown Source)
	at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
	at java.lang.ClassLoader.loadClass(Unknown Source)

Same thing happens with timeStamp.

Reproducible: Always
Comment 1 Matt Heitz CLA 2011-08-31 17:04:19 EDT
Wow, I was just working on bug 355146 which will solve this problem.  I hope to have it resolved by the end of the day tomorrow.

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