Re: [math] Serialization

2009-05-25 Thread Ted Dunning
Bill, Did you commit those changes? I ask because I see similar issues with abstract and static classes. Gamma is an example of the static class issue. This class has only static methods, but it is marked as serializable (why?). ContinuedFraction is a good example of an abstract class that is

Re: [pool] NPE in GKOP borrowObject

2009-05-25 Thread Mark Thomas
Phil Steitz wrote: I added (but have not yet committed) the following test case to validate the WHEN_EXHAUSTED_GROW contract. public void testWhenExhaustedGrow() throws Exception { pool.setMaxActive(1); pool.setMaxTotal(1);

Re: [COLLECTIONS] 3.3 RC1 for review

2009-05-25 Thread Henri Yandell
On Sat, May 23, 2009 at 3:33 AM, sebb seb...@gmail.com wrote: On 23/05/2009, Henri Yandell flame...@gmail.com wrote: Maven release plugin is the one doing the copy to the branch. So I  don't see the commit message (well.. it's probably somewhere in the  huge load of text that passes through).

Re: [pool] NPE in GKOP borrowObject

2009-05-25 Thread Mark Thomas
Mark Thomas wrote: Phil Steitz wrote: I added (but have not yet committed) the following test case to validate the WHEN_EXHAUSTED_GROW contract. public void testWhenExhaustedGrow() throws Exception { pool.setMaxActive(1); pool.setMaxTotal(1);

Re: [ALL] fix site doc version so it agrees with release [was: [compress] Two issues with releasing the release]

2009-05-25 Thread Henri Yandell
I realize this thread went the wrong direction. Why the green? Just noticed Taglibs has the same problem (it uses the Commons CSS :) ). Very ugly. Presumably we used to use a different colour and the CSS has been changed? Hen On Fri, May 22, 2009 at 4:08 AM, sebb seb...@gmail.com wrote: On

[pool] removing the maven 1 build

2009-05-25 Thread Phil Steitz
Going once, going twice... Anyone have a problem with this? Phil - To unsubscribe, e-mail: dev-unsubscr...@commons.apache.org For additional commands, e-mail: dev-h...@commons.apache.org

[pool] Exception in GKOP allocate()

2009-05-25 Thread Phil Steitz
I just saw this in one of my load tests [java] java.util.NoSuchElementException [java] at java.util.LinkedList.remove(LinkedList.java:644) [java] at java.util.LinkedList.removeFirst(LinkedList.java:134) [java] at

[continuum] BUILD FAILURE: Commons - Commons Pool -

2009-05-25 Thread contin...@vmbuild.apache.org
Online report : http://vmbuild.apache.org/continuum/buildResult.action?buildId=193279projectId=116 Build statistics: State: Failed Previous State: Ok Started at: Mon 25 May 2009 08:34:39 -0700 Finished at: Mon 25 May 2009 08:36:44 -0700 Total time: 2m 5s Build Trigger: Schedule

[pool] Re: [continuum] BUILD FAILURE: Commons - Commons Pool -

2009-05-25 Thread Phil Steitz
vmware is known to do funny things with timing. Assm this is one of those, per comment in the test case. contin...@vmbuild.apache.org wrote: Online report : http://vmbuild.apache.org/continuum/buildResult.action?buildId=193279projectId=116 Build statistics: State: Failed Previous State:

Re: [pool] Exception in GKOP allocate()

2009-05-25 Thread Mark Thomas
Phil Steitz wrote: I just saw this in one of my load tests [java] java.util.NoSuchElementException [java] at java.util.LinkedList.remove(LinkedList.java:644) [java] at java.util.LinkedList.removeFirst(LinkedList.java:134) [java] at

Re: [math] Serialization

2009-05-25 Thread Luc Maisonobe
Bill Barker a écrit : Ok, most of the rest look like transient classes (e.g. all of linear.decomposition). So asking for what needs to be Serialized, and what doesn't. As the main developer of the decomposition package, I can say the reasons for having these classes Serializable are the same

Re: [pool] Exception in GKOP allocate()

2009-05-25 Thread Phil Steitz
Mark Thomas wrote: Phil Steitz wrote: I just saw this in one of my load tests [java] java.util.NoSuchElementException [java] at java.util.LinkedList.remove(LinkedList.java:644) [java] at java.util.LinkedList.removeFirst(LinkedList.java:134) [java] at

Re: [math] Serialization

2009-05-25 Thread Bill Barker
- Original Message - From: Ted Dunning ted.dunn...@gmail.com To: Commons Developers List dev@commons.apache.org Sent: Sunday, May 24, 2009 11:47 PM Subject: Re: [math] Serialization Bill, Did you commit those changes? Yes, but just for o.a.c.m.linear. I ask because I see

Re: [math] Serialization

2009-05-25 Thread Bill Barker
- Original Message - From: Luc Maisonobe luc.maison...@free.fr To: Commons Developers List dev@commons.apache.org Sent: Monday, May 25, 2009 12:39 PM Subject: Re: [math] Serialization Bill Barker a écrit : Ok, most of the rest look like transient classes (e.g. all of

Re: [math] Serialization

2009-05-25 Thread Ted Dunning
This sounds like the germ of a repair process. Nuke all Serializable declarations without test cases. Then, add them back where people care enough to guarantee correctness by demonstrating a correct round trip. On Mon, May 25, 2009 at 4:32 PM, Bill Barker billwbar...@verizon.netwrote: But

Re: [pool] Exception in GKOP allocate()

2009-05-25 Thread Phil Steitz
When I do this // Second utilise any spare capacity to create new objects if ((_maxActive 0 || pool.activeCount + pool.internalProcessingCount _maxActive) (_maxTotal 0 || _totalActive + _totalIdle + _totalInternalProcessing _maxTotal)) {

Re: [math] Serialization

2009-05-25 Thread Bill Barker
- Original Message - From: Ted Dunning ted.dunn...@gmail.com To: Commons Developers List dev@commons.apache.org Sent: Monday, May 25, 2009 4:52 PM Subject: Re: [math] Serialization This sounds like the germ of a repair process. Nuke all Serializable declarations without test cases.

Re: [COLLECTIONS] 3.3 RC1 for review

2009-05-25 Thread sebb
On 25/05/2009, Henri Yandell flame...@gmail.com wrote: On Sat, May 23, 2009 at 3:33 AM, sebb seb...@gmail.com wrote: On 23/05/2009, Henri Yandell flame...@gmail.com wrote: Maven release plugin is the one doing the copy to the branch. So I don't see the commit message (well.. it's

Re: [pool] removing the maven 1 build

2009-05-25 Thread sebb
On 25/05/2009, Phil Steitz phil.ste...@gmail.com wrote: Going once, going twice... Anyone have a problem with this? OK by me, as there is an Ant build for testing with Java 1.3. Phil - To unsubscribe, e-mail:

[vfs] LRUFilesCache safe for production use? Google App Engine/Java plug-in

2009-05-25 Thread Vince Bonfanti
I'm working on a Google App Engine/Java (GAE/J) plug-in for VFS (it's almost done) and have a few questions: 1. Is the LRUFilesCache safe for production use? GAE/J won't allow using the default SoftRefFilesCache because it doesn't allow background threads. I've found a few really old messages

Re: [pool] Exception in GKOP allocate()

2009-05-25 Thread Phil Steitz
-_allocationQueue.removeFirst(); +_allocationQueue.remove(latch); both places in allocate() makes the problem go away. I am not sure that is a good fix, but it eliminates the problem. Must have something to do with the latch notifies. I also don't