santuario-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 44956] Concurrent creation of a XMLSignature instance produces an ArrayIndexOutOfBoundsException
Date Wed, 14 May 2008 21:11:30 GMT
https://issues.apache.org/bugzilla/show_bug.cgi?id=44956


Raul Benito <raul-info@r-bg.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED




--- Comment #3 from Raul Benito <raul-info@r-bg.com>  2008-05-14 14:11:29 PST ---
Good Analysis. I don't know why I forgot to remove add(null) in the contractor
that was the purpose of nullList, don't create and add a null to a list that
98% percent of the time will just have a null. And not to change the rest of
the code that depend on the null, as we don't have enough (any?) testcases that
check that behavior.
I have just add all the lines(including the unmodifiableList) even after
checking that the only add left checks before if the list is the null one. It
looks like a good way to detect the next error.
Thanks for detecting and for the report.

Regards


-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

Mime
View raw message