concurrent, parallel loading stuff

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
24 messages Options
12
Reply | Threaded
Open this post in threaded view
|

Re: FastCollection.add -> UnsupportedOperationException Re: concurrent, parallel loading stuff

Adam Heath-2
Adam Heath wrote:

> Adam Heath wrote:
>> Adam Heath wrote:
>>> BJ Freeman wrote:
>>>> I check the ofbiz code files for any changes since last week and now. I
>>>> did not see any.
>>>> I have a trunk version that does not have this error from last week.
>>> I've got it isolated, but not fixed.  FastList is not functioning the
>>> same as ArrayList, and it's got me purplexed.  Still investigating.
>> Wow, what a bug.
>>
>> ArrayList.subList().add(Object) works.
>>
>> FastList.subList().add(Object) throws UnsupportedOperationException.
>
> I'll file a javolution bug about this.

https://javolution.dev.java.net/issues/show_bug.cgi?id=72

Reply | Threaded
Open this post in threaded view
|

Re: FastCollection.add -> UnsupportedOperationException Re: concurrent, parallel loading stuff

Adam Heath-2
In reply to this post by BJ Freeman
BJ Freeman wrote:
> thanks have updated the thread on user ML

I'm debating whether to roll back my change; granted, that is what
caused this ofbiz bug.  However, there's nothing that says we couldn't
have the same problem occur with other uses of FastList.subList.add().

Reply | Threaded
Open this post in threaded view
|

Re: FastCollection.add -> UnsupportedOperationException Re: concurrent, parallel loading stuff

BJ Freeman

highest priority is ofbiz is stable.
second priority is consistency in code.

=========================
BJ Freeman
http://bjfreeman.elance.com
Strategic Power Office with Supplier Automation  <http://www.businessesnetwork.com/automation/viewforum.php?f=52>
Specialtymarket.com  <http://www.specialtymarket.com/>

Systems Integrator-- Glad to Assist

Chat  Y! messenger: bjfr33man
Linkedin
<http://www.linkedin.com/profile?viewProfile=&key=1237480&locale=en_US&trk=tab_pro>


Adam Heath sent the following on 6/25/2010 4:27 PM:
> BJ Freeman wrote:
>> thanks have updated the thread on user ML
>
> I'm debating whether to roll back my change; granted, that is what
> caused this ofbiz bug.  However, there's nothing that says we couldn't
> have the same problem occur with other uses of FastList.subList.add().
>
>

Reply | Threaded
Open this post in threaded view
|

Re: FastCollection.add -> UnsupportedOperationException Re: concurrent, parallel loading stuff

Adrian Crum-2
In reply to this post by Adam Heath-2
Maybe you could substitute an ArrayList for now and put a FIXME comment before it that refers to the Javolution bug report.

-Adrian

--- On Fri, 6/25/10, Adam Heath <[hidden email]> wrote:

From: Adam Heath <[hidden email]>
Subject: Re: FastCollection.add -> UnsupportedOperationException Re: concurrent, parallel loading stuff
To: [hidden email]
Date: Friday, June 25, 2010, 4:27 PM

BJ Freeman wrote:
> thanks have updated the thread on user ML

I'm debating whether to roll back my change; granted, that is what
caused this ofbiz bug.  However, there's nothing that says we couldn't
have the same problem occur with other uses of FastList.subList.add().





12