Re: BUG #2220: PostgreSQL-JDBC 8.1-404 fails to compile with

From: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
To: Bernhard Rosenkraenzer <bero(at)arklinux(dot)org>
Cc: pgsql-bugs(at)postgresql(dot)org
Subject: Re: BUG #2220: PostgreSQL-JDBC 8.1-404 fails to compile with
Date: 2006-01-31 21:54:24
Message-ID: 200601312154.k0VLsO613365@candle.pha.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs pgsql-jdbc


You need to file jdbc reports on the jdbc users lists.

---------------------------------------------------------------------------

Bernhard Rosenkraenzer wrote:
>
> The following bug has been logged online:
>
> Bug reference: 2220
> Logged by: Bernhard Rosenkraenzer
> Email address: bero(at)arklinux(dot)org
> PostgreSQL version: 8.1.2
> Operating system: Linux (Ark Linux 2006.1-pre)
> Description: PostgreSQL-JDBC 8.1-404 fails to compile with ecj
> Details:
>
> PostgreSQL-JDBC 8.1-404 fails to compile (ecj bytecode compiler w/ gij 4.1
> JDK):
>
> [javac] 1. ERROR in
> /usr/src/ark/BUILD/postgresql-jdbc-8.1-404.src/org/postgresql/jdbc3g/Jdbc3gA
> rray.java
> [javac] (at line 17)
> [javac] public class Jdbc3gArray extends
> org.postgresql.jdbc2.AbstractJdbc2Array implements java.sql.Array
> [javac] ^^^^^^^^^^^
> [javac] The type Jdbc3gArray must implement the inherited abstract
> method Array.getArray(long, int, Map)
> [javac] ----------
> [javac] 2. ERROR in
> /usr/src/ark/BUILD/postgresql-jdbc-8.1-404.src/org/postgresql/jdbc3g/Jdbc3gA
> rray.java
> [javac] (at line 17)
> [javac] public class Jdbc3gArray extends
> org.postgresql.jdbc2.AbstractJdbc2Array implements java.sql.Array
> [javac] ^^^^^^^^^^^
> [javac] The type Jdbc3gArray must implement the inherited abstract
> method Array.getArray(Map)
> [javac] ----------
> [javac] 3. ERROR in
> /usr/src/ark/BUILD/postgresql-jdbc-8.1-404.src/org/postgresql/jdbc3g/Jdbc3gA
> rray.java
> [javac] (at line 17)
> [javac] public class Jdbc3gArray extends
> org.postgresql.jdbc2.AbstractJdbc2Array implements java.sql.Array
> [javac] ^^^^^^^^^^^
> [javac] The type Jdbc3gArray must implement the inherited abstract
> method Array.getResultSet(long, int, Map)
> [javac] ----------
> [javac] 4. ERROR in
> /usr/src/ark/BUILD/postgresql-jdbc-8.1-404.src/org/postgresql/jdbc3g/Jdbc3gA
> rray.java
> [javac] (at line 17)
> [javac] public class Jdbc3gArray extends
> org.postgresql.jdbc2.AbstractJdbc2Array implements java.sql.Array
> [javac] ^^^^^^^^^^^
> [javac] The type Jdbc3gArray must implement the inherited abstract
> method Array.getResultSet(Map)
> [javac] ----------
> [javac] 5. ERROR in
> /usr/src/ark/BUILD/postgresql-jdbc-8.1-404.src/org/postgresql/jdbc3g/Jdbc3gA
> rray.java
> [javac] (at line 24)
> [javac] public Object getArray(Map < String, Class < ? >> map)
> throws SQLException
> [javac] ^^^^^
> [javac] The type Class is not generic; it cannot be parameterized with
> arguments <?>
> [javac] ----------
> [javac] 6. ERROR in
> /usr/src/ark/BUILD/postgresql-jdbc-8.1-404.src/org/postgresql/jdbc3g/Jdbc3gA
> rray.java
> [javac] (at line 29)
> [javac] public Object getArray(long index, int count, Map < String,
> Class < ? >> map) throws SQLException
> [javac]
> ^^^^^
> [javac] The type Class is not generic; it cannot be parameterized with
> arguments <?>
> [javac] ----------
> [javac] 7. ERROR in
> /usr/src/ark/BUILD/postgresql-jdbc-8.1-404.src/org/postgresql/jdbc3g/Jdbc3gA
> rray.java
> [javac] (at line 34)
> [javac] public ResultSet getResultSet(Map < String, Class < ? >>
> map) throws SQLException
> [javac] ^^^^^
> [javac] The type Class is not generic; it cannot be parameterized with
> arguments <?>
> [javac] ----------
> [javac] 8. ERROR in
> /usr/src/ark/BUILD/postgresql-jdbc-8.1-404.src/org/postgresql/jdbc3g/Jdbc3gA
> rray.java
> [javac] (at line 39)
> [javac] public ResultSet getResultSet(long index, int count, Map <
> String, Class < ? >> map)
> [javac] throws SQLException
> [javac]
> ^^^^^
> [javac] The type Class is not generic; it cannot be parameterized with
> arguments <?>
> [javac] ----------
> [javac] ----------
> [javac] 9. ERROR in
> /usr/src/ark/BUILD/postgresql-jdbc-8.1-404.src/org/postgresql/jdbc3g/Jdbc3gC
> allableStatement.java
> [javac] (at line 15)
> [javac] class Jdbc3gCallableStatement extends
> Jdbc3gPreparedStatement implements CallableStatement
> [javac] ^^^^^^^^^^^^^^^^^^^^^^^
> [javac] The type Jdbc3gCallableStatement must implement the inherited
> abstract method CallableStatement.getObject(String, Map)
> [javac] ----------
> [javac] 10. ERROR in
> /usr/src/ark/BUILD/postgresql-jdbc-8.1-404.src/org/postgresql/jdbc3g/Jdbc3gC
> allableStatement.java
> [javac] (at line 15)
> [javac] class Jdbc3gCallableStatement extends
> Jdbc3gPreparedStatement implements CallableStatement
> [javac] ^^^^^^^^^^^^^^^^^^^^^^^
> [javac] The type Jdbc3gCallableStatement must implement the inherited
> abstract method CallableStatement.getO
> [javac] bject(int, Map)
> [javac] ----------
> [javac] 11. ERROR in
> /usr/src/ark/BUILD/postgresql-jdbc-8.1-404.src/org/postgresql/jdbc3g/Jdbc3gC
> allableStatement.java
> [javac] (at line 26)
> [javac] public Object getObject(int i, Map < String, Class < ? >>
> map) throws SQLException
> [javac]
> [javac] ^^^^^
> [javac] The type Class is not generic; it cannot be parameterized with
> arguments <?>
> [javac] ----------
> [javac] 12. ERROR in
> /usr/src/ark/BUILD/postgresql-jdbc-8.1-404.src/org/postgresql/jdbc3g/Jdbc3gC
> allableStatement.java
> [javac] (at line 31)
> [javac] public Object getObject(String s, Map < String, Class < ? >>
> map) throws SQLException
> [javac] ^^^^^
> [javac] The type Class is not generic; it cannot be parameterized with
> arguments <?>
> [javac] ----------
> [javac] ----------
> [javac] 13. ERROR in
> /usr/src/ark/BUILD/postgresql-jdbc-8.1-404.src/org/postgresql/jdbc3g/Jdbc3gC
> onnection.java
> [javac] (at line 21)
> [javac] public class Jdbc3gConnection extends
> org.postgresql.jdbc3.AbstractJdbc3Connection im
> [javac] plements java.sql.Connection
> [javac] ^^^^^^^^^^^^^^^^
> [javac] The type Jdbc3gConnection must implement the inherited abstract
> method Connection.setTypeMap(Map)
> [javac] ----------
> [javac] 14. ERROR in
> /usr/src/ark/BUILD/postgresql-jdbc-8.1-404.src/org/postgresql/jdbc3g/Jdbc3gC
> onnection.java
> [javac] (at line 56)
> [javac] public void setTypeMap(Map < String, Class < ? >> map)
> throws SQLException
> [javac] ^^^^^
> [javac] The type Class is not generic; it cannot be parameterized with
> arguments <?>
> [javac] ----------
> [javac] ----------
> [javac] 15. ERROR in
> /usr/src/ark/BUILD/postgresql-jdbc-8.1-404.src/org/postgresql/jdbc3g/Jdbc3gR
> esultSet.java
> [javac] (at line 23)
> [javac] public class Jdbc3gResultSet extends
> org.postgresql.jdbc3.AbstractJdbc3ResultSet implements java.sql.ResultSet
> [javac] ^^^^^^^^^^^^^^^
> [javac] The type Jdbc3gResultSet must implement the inherited abstract
> method ResultSet.getObject(String, Map)
> [javac] ----------
> [javac] 16. ERROR in
> /usr/src/ark/BUILD/postgresql-jdbc-8.1-404.src/org/postgresql/jdbc3g/Jdbc3gR
> esultSet.java
> [javac] (at line 23)
> [javac] public class Jdbc3gResultSet extends
> org.postgresql.jdbc3.AbstractJdbc3ResultSet implements java.sql.ResultSet
> [javac] ^^^^^^^^^^^^^^^
> [javac] The type Jdbc3gResultSet must implement the inherited abstract
> method ResultSet.getObject(int, Map)
> [javac] ----------
> [javac] 17. ERROR in
> /usr/src/ark/BUILD/postgresql-jdbc-8.1-404.src/org/postgresql/jdbc3g/Jdbc3gR
> esultSet.java
> [javac] (at line 63)
> [javac] public Object getObject(String s, Map < String, Class < ? >>
> map) throws SQLException
> [javac] ^^^^^
> [javac] The type Class is not generic; it cannot be parameterized with
> arguments <?>
> [javac] ----------
> [javac] 18. ERROR in
> /usr/src/ark/BUILD/postgresql-jdbc-8.1-404.src/org/postgresql/jdbc3g/Jdbc3gR
> esultSet.java
> [javac] (at line 68)
> [javac] public Object getObject(int i, Map < String, Class < ? >>
> map) throws SQLException
> [javac]
> [javac] ^^^^^
> [javac] The type Class is not generic; it cannot be parameterized with
> arguments <?>
>
>
> The ones about Class not being generic are probably just GNU classpath
> lagging a bit behind the Java specs, but the abstract method errors look
> like genuine bugs.
>
> ---------------------------(end of broadcast)---------------------------
> TIP 9: In versions below 8.0, the planner will ignore your desire to
> choose an index scan if your joining column's datatypes do not
> match
>

--
Bruce Momjian | http://candle.pha.pa.us
pgman(at)candle(dot)pha(dot)pa(dot)us | (610) 359-1001
+ If your life is a hard drive, | 13 Roberts Road
+ Christ can be your backup. | Newtown Square, Pennsylvania 19073

In response to

Browse pgsql-bugs by date

  From Date Subject
Next Message Bruce Momjian 2006-01-31 22:24:32 Re: [PATCHES] BUG #2221: Bad delimiters allowed in COPY ...
Previous Message Bruce Momjian 2006-01-31 21:20:55 Re: [BUGS] BUG #2195: log_min_messages crash server when in DEBUG3 to

Browse pgsql-jdbc by date

  From Date Subject
Next Message Euler Taveira de Oliveira 2006-01-31 23:26:18 pt_BR: translation updates
Previous Message Guido Neitzer 2006-01-31 15:52:19 Re: Shopping Cart