Affects Version/s: None
Fix Version/s: 2.0
PooledObject inits lastBorrowTime & lastReturnTime (and createTime) using System.currentTimeMillis().
As well as being wasteful to call the System method 3 times, it's possible that the clock will change between invocations.
This could result in getActiveTimeMillis() returning non-zero active time even though the object has never been used.
Should probably init lastBorrowTime & lastReturnTime from createTime.
|Field||Original Value||New Value|
|Status||Open [ 1 ]||Resolved [ 5 ]|
|Fix Version/s||2.0 [ 12311985 ]|
|Resolution||Fixed [ 1 ]|
|Status||Resolved [ 5 ]||Closed [ 6 ]|
|Transition||Time In Source Status||Execution Times||Last Executer||Last Execution Date|
|13h 51m||1||Mark Thomas||13/Dec/11 15:11|
|1114d 1h 17m||1||Phil Steitz||31/Dec/14 16:28|