Bug#358345: libpgjava: FTBFS: compile error

Arnaud Vandyck avdyk at debian.org
Mon Apr 24 15:52:22 UTC 2006


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

stigge at antcom.de wrote:
> building the package libpgjava in a clean sid build environment
> (with pbuilder) on i386 results in:

[...]

>     [javac] ----------
>     [javac] 46. ERROR in /tmp/buildd/libpgjava-8.1-404/org/postgresql/jdbc2/Jdbc2Blob.java
>     [javac]  (at line 13)
>     [javac] 	public class Jdbc2Blob extends AbstractJdbc2Blob implements java.sql.Blob
>     [javac] 	             ^^^^^^^^^
>     [javac] The type Jdbc2Blob must implement the inherited abstract method Blob.setBytes(long, byte[])
>     [javac] ----------

[...]

> BUILD FAILED
> /tmp/buildd/libpgjava-8.1-404/build.xml:117: Compile failed; see the compiler error output for details.

Good news: it's easy to fix;
Bad news: we have to drop jdbc2 support.

Well it's maybe not has bad has it seems, jdbc2 is really old. The
problem seems to be the java.sql api changed and some interfaces added
new methods. We could add stubs. What do you think?

1° drop jdbc2 for postgresql driver?

2° add stubs to the postgresql driver classes?

Thanks for your comments,

- --
  .''`.
 : :' :rnaud
 `. `'
   `-
Java Trap: http://www.gnu.org/philosophy/java-trap.html
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFETPQ14vzFZu62tMIRAr0JAJ9sHAjFbL2sTJXucehJQBkfZRefOwCcDZ7N
mscQoVGhwcRsl4qstI1HAuA=
=WZHy
-----END PGP SIGNATURE-----




More information about the pkg-java-maintainers mailing list