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

Bug 356217

Summary: Errors in generated Java on data types Any and Number
Product: z_Archived Reporter: broy2
Component: EDTAssignee: Project Inbox <edt.javagen-inbox>
Status: CLOSED INVALID QA Contact:
Severity: normal    
Priority: P3 CC: jeffdouglas, mheitz
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Windows XP   
Whiteboard:

Description broy2 CLA 2011-08-30 11:29:18 EDT
Build Identifier: 20110830

myany any;
Generates:
myany = new EglAny();
Cannot instantiate the type EglAny	

myNumber number;
Generates:
myNumber = new BigDecimal();
The constructor BigDecimal() is undefined	

Reproducible: Always
Comment 1 Matt Heitz CLA 2011-08-30 14:05:46 EDT
I figured out why this started happening.  It's because Paul just committed his implementation of the nullability language changes, and the JavaGen work (Bug 355742) hasn't been done yet.  Even though this defect is close to a dupe of 355742, I'll keep it open so we're sure this case is working.
Comment 2 Matt Heitz CLA 2011-09-01 11:11:03 EDT
Bug 355742 has been moved to Iteration 14, so I'm moving this bug too.
Comment 3 Jeff Douglas CLA 2011-09-14 12:39:33 EDT
Since the nullability changes have taken place, this defect is no longer a problem because you cannot define any or number without a ? indicator.
Comment 4 broy2 CLA 2011-09-20 11:27:40 EDT
OK