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

Bug 359372

Summary: Type mismatch: cannot convert from BigInteger to BigDecimal
Product: z_Archived Reporter: pf yu <pfyu>
Component: EDTAssignee: Project Inbox <edt.javagen-inbox>
Status: CLOSED FIXED QA Contact:
Severity: critical    
Priority: P3 CC: jeffdouglas, jqian, mheitz, pfyu, svihovec
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Windows XP   
Whiteboard:

Description pf yu CLA 2011-09-29 05:09:27 EDT
Build Identifier: 201109282102

Cannot convert from BigInteger to BigDecimal

Reproducible: Always

Steps to Reproduce:
1. Check out project "org.eclipse.edt.eunit.test" from kan-cvs.
2. Add java generator to the project.
3. Clean the whole workspace.
4. The errors exist in many places, for example:
fvt.json.JSONTestsLib
Comment 1 Jeff Douglas CLA 2011-09-29 10:20:36 EDT
this has 2 problems:

1) improper conversion from BigInteger to BigDecimal
2) EAny is missing get/set methods for array access
Comment 2 Matt Heitz CLA 2011-09-29 10:24:16 EDT
The second problem is covered in bug 359396, so let's use this bug only for the BigInteger/BigDecimal problem.
Comment 3 Jeff Douglas CLA 2011-09-30 10:07:34 EDT
The type cast problem is fixed. 

There are 3 other problems in this testcase and are all covered by:
359560
359562
359396

Until those 3 are resolved, do not try to rerun this testcase.
Comment 4 Jeff Douglas CLA 2011-09-30 10:16:42 EDT
*** Bug 359399 has been marked as a duplicate of this bug. ***
Comment 5 pf yu CLA 2011-10-21 04:19:56 EDT
Verified in build 20111020