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

Bug 363669

Summary: TypeCastException not being thrown for some invalid dates
Product: z_Archived Reporter: Tom B <tmbarans>
Component: EDTAssignee: Project Inbox <edt.javascriptgen-inbox>
Status: CLOSED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: jqian, mzanjani
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Windows XP   
Whiteboard:

Description Tom B CLA 2011-11-14 00:12:53 EST
Build Identifier: Eclipse 20110916-0149 EDT 0.7.0.v201111132101

A TypeCastException is not being thrown when assigning the string "12345678" to a date. This exception is thrown for java but not for javascript.

Reproducible: Always

Steps to Reproduce:
1. Generate EDate009.egl to javascript
2. Run the generated program. There should be an exception thrown for runInvalidAssignmentFunction02() but there isn't.
3. The exception is correctly thrown for java but not for javascript
Comment 1 Jing Qian CLA 2011-11-21 14:49:47 EST
fixed now, verified on 201111210901's build