Henryk Konsek created OPENJPA-2583:
--------------------------------------
Summary: Occasional IllegalArgumentException (Illegal Capacity)
inside ManagedCache
Key: OPENJPA-2583
URL: https://issues.apache.org/jira/browse/OPENJPA-2583
Project: OpenJPA
Issue Type: Bug
Affects Versions: 2.2.2
Reporter: Henryk Konsek
Hi,
This is the same bug as the one reported here (1). I believe it should not be
possible for the {{ManagedCache}} to pass negative value (2) to the map's
constructor.
The bug is hard to reproduce. It occurs intermittently in our production
environment.
Cheers!
(1)
http://openjpa.208410.n2.nabble.com/Occasional-IllegalArgumentException-Illegal-Capacity-inside-ManagedCache-td7587906.html
(2)
http://grepcode.com/file/repo1.maven.org/maven2/org.apache.openjpa/openjpa/2.2.2/org/apache/openjpa/kernel/ManagedCache.java#259
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)