dbTalk Databases Forums  

[BUGS] BUG #2220: PostgreSQL-JDBC 8.1-404 fails to compile with ecj

mailing.database.pgsql-bugs mailing.database.pgsql-bugs


Discuss [BUGS] BUG #2220: PostgreSQL-JDBC 8.1-404 fails to compile with ecj in the mailing.database.pgsql-bugs forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Bernhard Rosenkraenzer
 
Posts: n/a

Default [BUGS] BUG #2220: PostgreSQL-JDBC 8.1-404 fails to compile with ecj - 01-29-2006 , 09:08 PM







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

Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.