| From: | pgsql-bugs(at)postgresql(dot)org |
|---|---|
| To: | pgsql-bugs(at)postgresql(dot)org |
| Subject: | pg v7.1RC1: jdbc1 fails to compile |
| Date: | 2001-03-28 01:11:14 |
| Message-ID: | 200103280111.f2S1BEY30452@hub.org |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-bugs |
Michael Fischer v. Mollard (mfvm(at)epost(dot)de) reports a bug with a severity of 3
The lower the number the more severe it is.
Short Description
pg v7.1RC1: jdbc1 fails to compile
Long Description
When I was compiling postgresql-7.1RC1 (on a debian 2.2 with a jdk118_v3 from
blackdown.org) I got the following error:
[javac] /home/mfvm/postgresql-7.1RC1/src/interfaces/jdbc/org/postgresql/jdbc1/Statement.java:291: Missing term.
[javac] if (result != null) && ((org.postgresql.ResultSet)result.reallyResultSet())
[javac] ^
[javac] /home/mfvm/postgresql-7.1RC1/src/interfaces/jdbc/org/postgresql/jdbc1/Statement.java:291: Invalid expression statement.
[javac] if (result != null) && ((org.postgresql.ResultSet)result.reallyResultSet())
[javac] ^
[javac] /home/mfvm/postgresql-7.1RC1/src/interfaces/jdbc/org/postgresql/jdbc1/Statement.java:291: ';' expected.
[javac] if (result != null) && ((org.postgresql.ResultSet)result.reallyResultSet())
It seems as if this line does not contain valid java code. Simply using
(result != null && ((org.postgresql.ResultSet)result).reallyResultSet())
which is a copy and paste from line 279, solves the compilation problem and seems
to be the right thing.
Sample Code
No file was uploaded with this report
| From | Date | Subject | |
|---|---|---|---|
| Next Message | webmaster | 2001-03-28 06:37:31 | pq_shadow |
| Previous Message | Fernando Schutz | 2001-03-27 20:46:29 | I can't initialize |