Thread: Warnings during compile of 7.4.1 driver under jdk1.4.2_03 on mandrake

Warnings during compile of 7.4.1 driver under jdk1.4.2_03 on mandrake

From
Per-Olof Noren
Date:
Hi all,

During compilation of the driver I discovered a warning concerning a
return statement in a finally-clause.

I not using a cvs version so I can't supply you with a patch
This almost cosmetic issue is probably already fixed anyways?
Output of the build is attached below.


Regards,
Per-Olof Norén
Curalia AB



Buildfile: ./build.xml

all:

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

check_versions:

check_driver:

driver:
     [copy] Copying 1 file to
/usr/local/src/postgresql-7.4.1/src/interfaces/jdbc/org/postgresql
     [echo] Configured build for the JDBC3 edition driver with SSL

compile:
    [javac] Compiling 77 source files to
/usr/local/src/postgresql-7.4.1/src/interfaces/jdbc/build
    [javac]
/usr/local/src/postgresql-7.4.1/src/interfaces/jdbc/org/postgresql/jdbc2/optional/PooledConnectionImpl.java:373:
warning:finally clause cannot complete normally 
    [javac]                 }
    [javac]                 ^
    [javac] Note: Some input files use or override a deprecated API.
    [javac] Note: Recompile with -deprecation for details.
    [javac] 1 warning

examples:
    [javac] Compiling 8 source files to
/usr/local/src/postgresql-7.4.1/src/interfaces/jdbc/build
    [javac] Note: Some input files use or override a deprecated API.
    [javac] Note: Recompile with -deprecation for details.

jar:
      [jar] Building jar:
/usr/local/src/postgresql-7.4.1/src/interfaces/jdbc/jars/postgresql.jar
      [jar] Building jar:
/usr/local/src/postgresql-7.4.1/src/interfaces/jdbc/jars/postgresql-examples.jar

BUILD SUCCESSFUL



Re: Warnings during compile of 7.4.1 driver under jdk1.4.2_03

From
Kris Jurka
Date:

On 12 Jan 2004, Per-Olof Noren wrote:

> Hi all,
>
> During compilation of the driver I discovered a warning concerning a
> return statement in a finally-clause.
>

Here is the patch.

Kris Jurka


Attachment