Bug 8101 - EL should parse integer constants to Longs, not Integers
Summary: EL should parse integer constants to Longs, not Integers
Status: RESOLVED FIXED
Alias: None
Product: Taglibs
Classification: Unclassified
Component: Standard Taglib (show other bugs)
Version: unspecified
Hardware: All All
: P3 normal (vote)
Target Milestone: ---
Assignee: Tomcat Developers Mailing List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-04-15 13:15 UTC by Nathan Abramson
Modified: 2004-11-16 19:05 UTC (History)
0 users



Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Nathan Abramson 2002-04-15 13:15:04 UTC
Currently if you say ${ 9220838762064379904 }, you'll get a
NumberFormatException because the EL is trying to parse the value as
an Integer, not a Long.
Comment 1 Nathan Abramson 2002-04-15 13:21:40 UTC
Fixed by changing IntegerLiteral to use new Long() instead of new
Integer()