This is an automated email from the git hooks/post-receive script. ebourg-guest pushed a commit to tag REL8_3_605 in repository libpostgresql-jdbc-java.
commit 0c4b197eb29bcb7e470dba28fb97ae58bcdd73e5 Author: Kris Jurka <[email protected]> Date: Thu Jan 15 04:18:10 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/jdbc23/AbstractJdbc23PooledConnection.java | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/org/postgresql/ds/jdbc23/AbstractJdbc23PooledConnection.java b/org/postgresql/ds/jdbc23/AbstractJdbc23PooledConnection.java index b7137bd..56d4f79 100644 --- a/org/postgresql/ds/jdbc23/AbstractJdbc23PooledConnection.java +++ b/org/postgresql/ds/jdbc23/AbstractJdbc23PooledConnection.java @@ -3,7 +3,7 @@ * Copyright (c) 2004-2008, PostgreSQL Global Development Group * * IDENTIFICATION -* $PostgreSQL: pgjdbc/org/postgresql/ds/jdbc23/AbstractJdbc23PooledConnection.java,v 1.4 2008/01/08 06:56:27 jurka Exp $ +* $PostgreSQL: pgjdbc/org/postgresql/ds/jdbc23/AbstractJdbc23PooledConnection.java,v 1.4.2.1 2009/01/07 05:29:05 jurka Exp $ * *------------------------------------------------------------------------- */ @@ -272,11 +272,11 @@ public abstract class AbstractJdbc23PooledConnection } if (method.getName().equals("equals")) { - return proxy == args[0]; + return new Boolean(proxy == args[0]); } if (method.getName().equals("hashCode")) { - return System.identityHashCode(proxy); + return new Integer(System.identityHashCode(proxy)); } try { @@ -413,11 +413,11 @@ public abstract class AbstractJdbc23PooledConnection } 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

