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

Bug 348566

Summary: IntegerLiteralTemplate generates invalid code when the value is too big to be an int
Product: z_Archived Reporter: Matt Heitz <mheitz>
Component: EDTAssignee: Matt Heitz <mheitz>
Status: CLOSED FIXED QA Contact:
Severity: normal    
Priority: P3    
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Windows XP   
Whiteboard:

Description Matt Heitz CLA 2011-06-07 09:56:40 EDT
We just print out the value.  It may need to be generated as a long or BigInteger.
Comment 1 Matt Heitz CLA 2011-06-17 16:50:34 EDT
Fixed.  As part of this work I also added code to strip leading zeros from IntegerLiterals (so they don't look like octal values to javac) and I optimized IntegerLiteralTemplate and DecimalLiteralTemplate.
Comment 2 Matt Heitz CLA 2011-06-17 16:50:48 EDT
Done.