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); >>pool.setWhen

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); >pool.setWhenExhaustedAction(GenericObje

[pool] NPE in GKOP borrowObject

2009-05-24 Thread Phil Steitz
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); pool.setWhenExhaustedAction(GenericObjectPool.WHEN_EXHAUSTED_GROW);