I raised the question of my compile failures on the Debian lists and got
this reply:
------- Forwarded Message
Date: 13 Mar 2001 23:48:51 +0100
From: Juergen Kreileder <jk@blackdown.de>
To: "Oliver Elphick" <olly@lfix.co.uk>
cc: Stefan Gybas <stefan@gybas.com>, debian-postgresql@cochrane.atnet.at, debian-java@lists.debian.org
Subject: Re: PG7.1b5 .debs
>>>>> "Oliver" == Oliver Elphick <olly@lfix.co.uk> writes:
Oliver> [javac] /usr3/home/olly/mypackages/pg7.1/postgresql-7.1beta5/sr
c/interfaces/jdbc/org/postgresql/jdbc1/Statement.java:291: Missing term. Oliver> [javac] if (result !=
null)&& ((org.postgresql.Resul
tSet)result.reallyResultSet())
That's illegal code, try:
if (result != null && ((org.postgresql.ResultSet) result).reallyResultSet())
Oliver> I can't see anything wrong with the code and assume it Oliver> must be something to do with my setup.
From looking at cvsweb, I would say the code is broken since version 1.5:
http://www.postgresql.org/cgi/cvsweb.cgi/pgsql/src/interfaces/jdbc/org/postgres
ql/jdbc1/Statement.java.diff?r1=1.4&r2=1.5
Juergen
- --
Juergen Kreileder, Blackdown Java-Linux Team
http://www.blackdown.org/java-linux.html
JVM'01: http://www.usenix.org/events/jvm01/
------- End of Forwarded Message
--
Oliver Elphick Oliver.Elphick@lfix.co.uk
Isle of Wight http://www.lfix.co.uk/oliver
PGP: 1024R/32B8FAA1: 97 EA 1D 47 72 3F 28 47 6B 7E 39 CC 56 E4 C1 47
GPG: 1024D/3E1D0C1C: CA12 09E0 E8D5 8870 5839 932A 614D 4C34 3E1D 0C1C
======================================== "Let your light so shine before men, that they may see your good works,
andglorify your Father which is in heaven." Matthew 5:16