Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 348566 - IntegerLiteralTemplate generates invalid code when the value is too big to be an int
Summary: IntegerLiteralTemplate generates invalid code when the value is too big to be...
Status: CLOSED FIXED
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: EDT (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Matt Heitz CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-06-07 09:56 EDT by Matt Heitz CLA
Modified: 2017-02-23 14:16 EST (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.