https://issues.apache.org/bugzilla/show_bug.cgi?id=49126
Summary: jasper.compiler.Generator.createJspId() can generate
negative number
Product: Tomcat 7
Version: trunk
Platform: PC
OS/Version: Windows XP
Status: NEW
Severity: normal
Priority: P2
Component: Jasper
AssignedTo: [email protected]
ReportedBy: [email protected]
jasper.compiler.Generator.createJspId()
can create a jsp prefix containing a negative number, viz:
jsp_-2147483648_
this is because Math.abs(Integer.MIN_VALUE) == Integer.MIN_VALUE
If this is acceptable, then it should be documented.
[Findbugs adds: One out of 2^32 strings have a hashCode of Integer.MIN_VALUE,
including "polygenelubricants" "GydZG_" and ""DESIGNING WORKHOUSES".]
--
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]