can't compile JDBC1

From: pgsql-bugs(at)postgresql(dot)org
To: pgsql-bugs(at)postgresql(dot)org
Subject: can't compile JDBC1
Date: 2001-04-14 19:35:29
Message-ID: 200104141935.f3EJZT141585@hub.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

joachim wolf (wolfjo(at)web(dot)de) reports a bug with a severity of 2
The lower the number the more severe it is.

Short Description
can't compile JDBC1

Long Description
in postgresql 7.1, compiling of JDBC1 isn't possible, syntax errors in the java source (JDBC2 works):

make[3]: Entering directory `/usr/src/postgresql-7.1/src/interfaces/jdbc'
/opt/java/ant/bin/ant -buildfile ../../../build.xml -Dmajor=7 -Dminor=1 -Dfullversion=7.1 -Ddef_pgport=5432
Buildfile: ../../../build.xml

jar:

call:

prepare:
[mkdir] Created dir: /usr/src/postgresql-7.1/src/interfaces/jdbc/build
[mkdir] Created dir: /usr/src/postgresql-7.1/src/interfaces/jdbc/jars

check_versions:

driver:
[copy] Copying 1 files to /usr/src/postgresql-7.1/src/interfaces/jdbc/org/postgresql
Configured build for the JDBC1 edition driver.

compile:
[javac] Compiling 37 source files to /usr/src/postgresql-7.1/src/interfaces/jdbc/build
[javac] /usr/src/postgresql-7.1/src/interfaces/jdbc/org/postgresql/jdbc1/Statement.java:291: Missing term.
[javac] if (result != null) && ((org.postgresql.ResultSet)result.reallyResultSet())
[javac] ^
[javac] /usr/src/postgresql-7.1/src/interfaces/jdbc/org/postgresql/jdbc1/Statement.java:291: Invalid expression statement.
[javac] if (result != null) && ((org.postgresql.ResultSet)result.reallyResultSet())
[javac] ^
[javac] /usr/src/postgresql-7.1/src/interfaces/jdbc/org/postgresql/jdbc1/Statement.java:291: ';' expected.
[javac] if (result != null) && ((org.postgresql.ResultSet)result.reallyResultSet())
[javac] ^
[javac] 3 errors

BUILD FAILED

/usr/src/postgresql-7.1/src/interfaces/jdbc/build.xml:99: Compile failed, messages should have been provided.

Sample Code

No file was uploaded with this report

Browse pgsql-bugs by date

  From Date Subject
Next Message Tom Lane 2001-04-14 23:05:07 Re: Bug in send()
Previous Message Stephan Szabo 2001-04-14 18:50:09 Re: Error on reference to inherited primary key