[
https://issues.apache.org/jira/browse/WICKET-4859?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Sven Meier resolved WICKET-4859.
--------------------------------
Resolution: Fixed
Fix Version/s: 6.3.0
Assignee: Sven Meier
The counter has to be static since it is used to assure unique component ids
among all AbstractToolbar instances. I've changed the static field to long,
similar to RepeatingView.
> Integer overflow in AbstractToolbar
> -----------------------------------
>
> Key: WICKET-4859
> URL: https://issues.apache.org/jira/browse/WICKET-4859
> Project: Wicket
> Issue Type: Bug
> Components: wicket-extensions
> Affects Versions: 6.2.0, 1.5.9
> Reporter: count negative
> Assignee: Sven Meier
> Fix For: 6.3.0
>
>
> private static int counter = 0;
> This counter will overflow anytime... Please remove static.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira