This is an automated email from the git hooks/post-receive script. ebourg-guest pushed a commit to tag REL8_0_324 in repository libpostgresql-jdbc-java.
commit 4df60471557d00e133c59328d5f16198517ca6b8 Author: Kris Jurka <[email protected]> Date: Thu Jan 15 04:18:30 2009 +0000 My previous patch to fix the equals and hashcode for connection pools didn't build with a 1.4 JDK. 1.5+ was doing autoboxing which I didn't originally notice. --- org/postgresql/ds/common/PooledConnectionImpl.java | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/org/postgresql/ds/common/PooledConnectionImpl.java b/org/postgresql/ds/common/PooledConnectionImpl.java index 084662e2..4453a1d 100644 --- a/org/postgresql/ds/common/PooledConnectionImpl.java +++ b/org/postgresql/ds/common/PooledConnectionImpl.java @@ -3,7 +3,7 @@ * Copyright (c) 2004-2005, PostgreSQL Global Development Group * * IDENTIFICATION -* $PostgreSQL: pgjdbc/org/postgresql/ds/common/PooledConnectionImpl.java,v 1.10 2005/01/17 10:59:04 jurka Exp $ +* $PostgreSQL: pgjdbc/org/postgresql/ds/common/PooledConnectionImpl.java,v 1.10.2.1 2009/01/07 05:29:24 jurka Exp $ * *------------------------------------------------------------------------- */ @@ -262,11 +262,11 @@ public class PooledConnectionImpl implements PooledConnection } if (method.getName().equals("hashCode")) { - return System.identityHashCode(proxy); + return new Integer(System.identityHashCode(proxy)); } if (method.getName().equals("equals")) { - return proxy == args[0]; + return new Boolean(proxy == args[0]); } try { @@ -403,11 +403,11 @@ public class PooledConnectionImpl implements PooledConnection } if (method.getName().equals("hashCode")) { - return System.identityHashCode(proxy); + return new Integer(System.identityHashCode(proxy)); } if (method.getName().equals("equals")) { - return proxy == args[0]; + return new Boolean(proxy == args[0]); } return method.invoke(st, args); } -- Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-java/libpostgresql-jdbc-java.git _______________________________________________ pkg-java-commits mailing list [email protected] http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-java-commits

