Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
1.7.5, 1.8-beta-2
-
None
-
None
Description
Groovy compiler seems to be generating calls like {{ new Integer() }} and {{ new Long() }} (also for other number wrapper types), which FindBugs tool calls out as performance issues and suggests that the equivalent calls {{ Integer.valueOf() }} and {{ Long.valueOf() }} be used.
Class generation needs to change a bit to support it to reduce the errors reported by FindBugs for groovy classes.
Attachments
Attachments
Issue Links
- relates to
-
GROOVY-4152 Groovy code using constants seems unsuitable for hotswap
- Closed