pg.ddx.io pgsql-jdbc@postgresql.org mailing list archive
help / color / mirror / Atom feedFurther Buildfarm Errors: Missing org.postgresql.util.PGBinaryObject
5+ messages / 2 participants
[nested] [flat]
* Further Buildfarm Errors: Missing org.postgresql.util.PGBinaryObject
@ 2011-09-27 08:41 Mike Fowler <mike@mlfowler.com>
0 siblings, 1 reply; 5+ messages in thread
From: Mike Fowler @ 2011-09-27 08:41 UTC (permalink / raw)
To: pgsql-jdbc
Hi,
The builds are still broken. There is a lot of noise in the ant trace,
expecially for 1.4 and 1.5 but I suspect some or all of it is related to
the problem that is more visible in the 1.6 trace. There are many
references to a class called org.postgresql.util.PGBinaryObject. Once the
missing file is committed I'll check the compilation with the three JDKs I
have. The status of the JDBC build farm can be seen at
http://www.pgbuildfarm.org/cgi-bin/show_status.pl?member=piapiac
compile:
[javac] /home/ubuntu/buildarea/HEAD/pgjdbc/build.xml:125: warning:
'includeantruntime' was not set, defaulting to
build.sysclasspath=last; set to false for repeatable builds
[javac] Compiling 152 source files to
/home/ubuntu/buildarea/HEAD/pgjdbc/build
[javac]
/home/ubuntu/buildarea/HEAD/pgjdbc/org/postgresql/geometric/PGbox.java:13:
cannot resolve symbol
[javac] symbol : class PGBinaryObject
[javac] location: package util
[javac] import org.postgresql.util.PGBinaryObject;
[javac] ^
[javac]
/home/ubuntu/buildarea/HEAD/pgjdbc/org/postgresql/geometric/PGbox.java:25:
cannot resolve symbol
[javac] symbol : class PGBinaryObject
[javac] location: class org.postgresql.geometric.PGbox
[javac] public class PGbox extends PGobject implements PGBinaryObject,
Serializable, Cloneable
[javac] ^
[javac]
/home/ubuntu/buildarea/HEAD/pgjdbc/org/postgresql/geometric/PGpoint.java:14:
cannot resolve symbol
[javac] symbol : class PGBinaryObject
[javac] location: package util
[javac] import org.postgresql.util.PGBinaryObject;
[javac] ^
[javac]
/home/ubuntu/buildarea/HEAD/pgjdbc/org/postgresql/geometric/PGpoint.java:30:
cannot resolve symbol
[javac] symbol : class PGBinaryObject
[javac] location: class org.postgresql.geometric.PGpoint
[javac] public class PGpoint extends PGobject implements
PGBinaryObject, Serializable, Cloneable
[javac] ^
[javac]
/home/ubuntu/buildarea/HEAD/pgjdbc/org/postgresql/jdbc2/AbstractJdbc2Array.java:22:
cannot resolve symbol
[javac] symbol : class SQLFeatureNotSupportedException
[javac] location: package sql
[javac] import java.sql.SQLFeatureNotSupportedException;
[javac] ^
[javac]
/home/ubuntu/buildarea/HEAD/pgjdbc/org/postgresql/jdbc2/AbstractJdbc2Array.java:336:
cannot resolve symbol
[javac] symbol : class SQLFeatureNotSupportedException
[javac] location: class org.postgresql.jdbc2.AbstractJdbc2Array
[javac] throws SQLFeatureNotSupportedException {
[javac] ^
[javac]
/home/ubuntu/buildarea/HEAD/pgjdbc/org/postgresql/jdbc2/AbstractJdbc2Connection.java:21:
cannot resolve symbol
[javac] symbol : class PGBinaryObject
[javac] location: package util
[javac] import org.postgresql.util.PGBinaryObject;
[javac] ^
[javac]
/home/ubuntu/buildarea/HEAD/pgjdbc/org/postgresql/jdbc2/AbstractJdbc2Statement.java:29:
cannot resolve symbol
[javac] symbol : class PGBinaryObject
[javac] location: package util
[javac] import org.postgresql.util.PGBinaryObject;
[javac] ^
[javac]
/home/ubuntu/buildarea/HEAD/pgjdbc/org/postgresql/jdbc2/AbstractJdbc2Array.java:216:
incompatible types
[javac] found : short
[javac] required: java.lang.Object
[javac] arr[i] = ByteConverter.int2(fieldBytes, pos);
[javac] ^
[javac]
/home/ubuntu/buildarea/HEAD/pgjdbc/org/postgresql/jdbc2/AbstractJdbc2Array.java:219:
incompatible types
[javac] found : int
[javac] required: java.lang.Object
[javac] arr[i] = ByteConverter.int4(fieldBytes, pos);
[javac] ^
[javac]
/home/ubuntu/buildarea/HEAD/pgjdbc/org/postgresql/jdbc2/AbstractJdbc2Array.java:222:
incompatible types
[javac] found : long
[javac] required: java.lang.Object
[javac] arr[i] = ByteConverter.int8(fieldBytes, pos);
[javac] ^
[javac]
/home/ubuntu/buildarea/HEAD/pgjdbc/org/postgresql/jdbc2/AbstractJdbc2Array.java:225:
incompatible types
[javac] found : float
[javac] required: java.lang.Object
[javac] arr[i] = ByteConverter.float4(fieldBytes,
pos);
[javac] ^
[javac]
/home/ubuntu/buildarea/HEAD/pgjdbc/org/postgresql/jdbc2/AbstractJdbc2Array.java:228:
incompatible types
[javac] found : double
[javac] required: java.lang.Object
[javac] arr[i] = ByteConverter.float8(fieldBytes,
pos);
[javac] ^
[javac]
/home/ubuntu/buildarea/HEAD/pgjdbc/org/postgresql/jdbc2/AbstractJdbc2Connection.java:546:
cannot resolve symbol
[javac] symbol : class PGBinaryObject
[javac] location: class org.postgresql.jdbc2.AbstractJdbc2Connection
[javac] if (byteValue != null && obj instanceof
PGBinaryObject) {
[javac] ^
[javac]
/home/ubuntu/buildarea/HEAD/pgjdbc/org/postgresql/jdbc2/AbstractJdbc2Connection.java:547:
cannot resolve symbol
[javac] symbol : class PGBinaryObject
[javac] location: class org.postgresql.jdbc2.AbstractJdbc2Connection
[javac] PGBinaryObject binObj = (PGBinaryObject) obj;
[javac] ^
[javac]
/home/ubuntu/buildarea/HEAD/pgjdbc/org/postgresql/jdbc2/AbstractJdbc2Connection.java:547:
cannot resolve symbol
[javac] symbol : class PGBinaryObject
[javac] location: class org.postgresql.jdbc2.AbstractJdbc2Connection
[javac] PGBinaryObject binObj = (PGBinaryObject) obj;
[javac] ^
[javac]
/home/ubuntu/buildarea/HEAD/pgjdbc/org/postgresql/jdbc2/AbstractJdbc2Statement.java:1693:
cannot resolve symbol
[javac] symbol : class PGBinaryObject
[javac] location: class org.postgresql.jdbc2.AbstractJdbc2Statement
[javac] if ((x instanceof PGBinaryObject) &&
connection.binaryTransferSend(oid)) {
[javac] ^
[javac]
/home/ubuntu/buildarea/HEAD/pgjdbc/org/postgresql/jdbc2/AbstractJdbc2Statement.java:1694:
cannot resolve symbol
[javac] symbol : class PGBinaryObject
[javac] location: class org.postgresql.jdbc2.AbstractJdbc2Statement
[javac] PGBinaryObject binObj = (PGBinaryObject) x;
[javac] ^
[javac]
/home/ubuntu/buildarea/HEAD/pgjdbc/org/postgresql/jdbc2/AbstractJdbc2Statement.java:1694:
cannot resolve symbol
[javac] symbol : class PGBinaryObject
[javac] location: class org.postgresql.jdbc2.AbstractJdbc2Statement
[javac] PGBinaryObject binObj = (PGBinaryObject) x;
[javac] ^
[javac] Note: Some input files use or override a deprecated API.
[javac] Note: Recompile with -deprecation for details.
[javac] 19 errors
Regards,
--
Mike Fowler
Registered Linux user: 379787
The Call for Papers for is open for FLOSS UK, contact postgresql2012 AT
flossuk DOT org for details.
^ permalink raw reply [nested|flat] 5+ messages in thread
* Re: Further Buildfarm Errors: Missing org.postgresql.util.PGBinaryObject
@ 2011-09-27 09:35 Dave Cramer <pg@fastcrypt.com>
parent: Mike Fowler <mike@mlfowler.com>
0 siblings, 1 reply; 5+ messages in thread
From: Dave Cramer @ 2011-09-27 09:35 UTC (permalink / raw)
To: Mike Fowler <mike@mlfowler.com>; +Cc: pgsql-jdbc
OK, just committed.
Dave Cramer
dave.cramer(at)credativ(dot)ca
http://www.credativ.ca
On Tue, Sep 27, 2011 at 4:41 AM, Mike Fowler <mike@mlfowler.com> wrote:
> Hi,
>
> The builds are still broken. There is a lot of noise in the ant trace,
> expecially for 1.4 and 1.5 but I suspect some or all of it is related to
> the problem that is more visible in the 1.6 trace. There are many
> references to a class called org.postgresql.util.PGBinaryObject. Once the
> missing file is committed I'll check the compilation with the three JDKs I
> have. The status of the JDBC build farm can be seen at
> http://www.pgbuildfarm.org/cgi-bin/show_status.pl?member=piapiac
>
>
> compile:
> [javac] /home/ubuntu/buildarea/HEAD/pgjdbc/build.xml:125: warning:
> 'includeantruntime' was not set, defaulting to
> build.sysclasspath=last; set to false for repeatable builds
> [javac] Compiling 152 source files to
> /home/ubuntu/buildarea/HEAD/pgjdbc/build
> [javac]
> /home/ubuntu/buildarea/HEAD/pgjdbc/org/postgresql/geometric/PGbox.java:13:
> cannot resolve symbol
> [javac] symbol : class PGBinaryObject
> [javac] location: package util
> [javac] import org.postgresql.util.PGBinaryObject;
> [javac] ^
> [javac]
> /home/ubuntu/buildarea/HEAD/pgjdbc/org/postgresql/geometric/PGbox.java:25:
> cannot resolve symbol
> [javac] symbol : class PGBinaryObject
> [javac] location: class org.postgresql.geometric.PGbox
> [javac] public class PGbox extends PGobject implements PGBinaryObject,
> Serializable, Cloneable
> [javac] ^
> [javac]
> /home/ubuntu/buildarea/HEAD/pgjdbc/org/postgresql/geometric/PGpoint.java:14:
> cannot resolve symbol
> [javac] symbol : class PGBinaryObject
> [javac] location: package util
> [javac] import org.postgresql.util.PGBinaryObject;
> [javac] ^
> [javac]
> /home/ubuntu/buildarea/HEAD/pgjdbc/org/postgresql/geometric/PGpoint.java:30:
> cannot resolve symbol
> [javac] symbol : class PGBinaryObject
> [javac] location: class org.postgresql.geometric.PGpoint
> [javac] public class PGpoint extends PGobject implements
> PGBinaryObject, Serializable, Cloneable
> [javac] ^
> [javac]
> /home/ubuntu/buildarea/HEAD/pgjdbc/org/postgresql/jdbc2/AbstractJdbc2Array.java:22:
> cannot resolve symbol
> [javac] symbol : class SQLFeatureNotSupportedException
> [javac] location: package sql
> [javac] import java.sql.SQLFeatureNotSupportedException;
> [javac] ^
> [javac]
> /home/ubuntu/buildarea/HEAD/pgjdbc/org/postgresql/jdbc2/AbstractJdbc2Array.java:336:
> cannot resolve symbol
> [javac] symbol : class SQLFeatureNotSupportedException
> [javac] location: class org.postgresql.jdbc2.AbstractJdbc2Array
> [javac] throws SQLFeatureNotSupportedException {
> [javac] ^
> [javac]
> /home/ubuntu/buildarea/HEAD/pgjdbc/org/postgresql/jdbc2/AbstractJdbc2Connection.java:21:
> cannot resolve symbol
> [javac] symbol : class PGBinaryObject
> [javac] location: package util
> [javac] import org.postgresql.util.PGBinaryObject;
> [javac] ^
> [javac]
> /home/ubuntu/buildarea/HEAD/pgjdbc/org/postgresql/jdbc2/AbstractJdbc2Statement.java:29:
> cannot resolve symbol
> [javac] symbol : class PGBinaryObject
> [javac] location: package util
> [javac] import org.postgresql.util.PGBinaryObject;
> [javac] ^
> [javac]
> /home/ubuntu/buildarea/HEAD/pgjdbc/org/postgresql/jdbc2/AbstractJdbc2Array.java:216:
> incompatible types
> [javac] found : short
> [javac] required: java.lang.Object
> [javac] arr[i] = ByteConverter.int2(fieldBytes, pos);
> [javac] ^
> [javac]
> /home/ubuntu/buildarea/HEAD/pgjdbc/org/postgresql/jdbc2/AbstractJdbc2Array.java:219:
> incompatible types
> [javac] found : int
> [javac] required: java.lang.Object
> [javac] arr[i] = ByteConverter.int4(fieldBytes, pos);
> [javac] ^
> [javac]
> /home/ubuntu/buildarea/HEAD/pgjdbc/org/postgresql/jdbc2/AbstractJdbc2Array.java:222:
> incompatible types
> [javac] found : long
> [javac] required: java.lang.Object
> [javac] arr[i] = ByteConverter.int8(fieldBytes, pos);
> [javac] ^
> [javac]
> /home/ubuntu/buildarea/HEAD/pgjdbc/org/postgresql/jdbc2/AbstractJdbc2Array.java:225:
> incompatible types
> [javac] found : float
> [javac] required: java.lang.Object
> [javac] arr[i] = ByteConverter.float4(fieldBytes,
> pos);
> [javac] ^
> [javac]
> /home/ubuntu/buildarea/HEAD/pgjdbc/org/postgresql/jdbc2/AbstractJdbc2Array.java:228:
> incompatible types
> [javac] found : double
> [javac] required: java.lang.Object
> [javac] arr[i] = ByteConverter.float8(fieldBytes,
> pos);
> [javac] ^
> [javac]
> /home/ubuntu/buildarea/HEAD/pgjdbc/org/postgresql/jdbc2/AbstractJdbc2Connection.java:546:
> cannot resolve symbol
> [javac] symbol : class PGBinaryObject
> [javac] location: class org.postgresql.jdbc2.AbstractJdbc2Connection
> [javac] if (byteValue != null && obj instanceof
> PGBinaryObject) {
> [javac] ^
> [javac]
> /home/ubuntu/buildarea/HEAD/pgjdbc/org/postgresql/jdbc2/AbstractJdbc2Connection.java:547:
> cannot resolve symbol
> [javac] symbol : class PGBinaryObject
> [javac] location: class org.postgresql.jdbc2.AbstractJdbc2Connection
> [javac] PGBinaryObject binObj = (PGBinaryObject) obj;
> [javac] ^
> [javac]
> /home/ubuntu/buildarea/HEAD/pgjdbc/org/postgresql/jdbc2/AbstractJdbc2Connection.java:547:
> cannot resolve symbol
> [javac] symbol : class PGBinaryObject
> [javac] location: class org.postgresql.jdbc2.AbstractJdbc2Connection
> [javac] PGBinaryObject binObj = (PGBinaryObject) obj;
> [javac] ^
> [javac]
> /home/ubuntu/buildarea/HEAD/pgjdbc/org/postgresql/jdbc2/AbstractJdbc2Statement.java:1693:
> cannot resolve symbol
> [javac] symbol : class PGBinaryObject
> [javac] location: class org.postgresql.jdbc2.AbstractJdbc2Statement
> [javac] if ((x instanceof PGBinaryObject) &&
> connection.binaryTransferSend(oid)) {
> [javac] ^
> [javac]
> /home/ubuntu/buildarea/HEAD/pgjdbc/org/postgresql/jdbc2/AbstractJdbc2Statement.java:1694:
> cannot resolve symbol
> [javac] symbol : class PGBinaryObject
> [javac] location: class org.postgresql.jdbc2.AbstractJdbc2Statement
> [javac] PGBinaryObject binObj = (PGBinaryObject) x;
> [javac] ^
> [javac]
> /home/ubuntu/buildarea/HEAD/pgjdbc/org/postgresql/jdbc2/AbstractJdbc2Statement.java:1694:
> cannot resolve symbol
> [javac] symbol : class PGBinaryObject
> [javac] location: class org.postgresql.jdbc2.AbstractJdbc2Statement
> [javac] PGBinaryObject binObj = (PGBinaryObject) x;
> [javac] ^
> [javac] Note: Some input files use or override a deprecated API.
> [javac] Note: Recompile with -deprecation for details.
> [javac] 19 errors
>
> Regards,
>
> --
> Mike Fowler
> Registered Linux user: 379787
>
> The Call for Papers for is open for FLOSS UK, contact postgresql2012 AT
> flossuk DOT org for details.
>
>
> --
> Sent via pgsql-jdbc mailing list (pgsql-jdbc@postgresql.org)
> To make changes to your subscription:
> http://www.postgresql.org/mailpref/pgsql-jdbc
>
^ permalink raw reply [nested|flat] 5+ messages in thread
* Re: Further Buildfarm Errors: Missing org.postgresql.util.PGBinaryObject
@ 2011-09-27 11:05 Mike Fowler <mike@mlfowler.com>
parent: Dave Cramer <pg@fastcrypt.com>
0 siblings, 1 reply; 5+ messages in thread
From: Mike Fowler @ 2011-09-27 11:05 UTC (permalink / raw)
To: Dave Cramer <pg@fastcrypt.com>; +Cc: Mike Fowler <mike@mlfowler.com>; pgsql-jdbc
> OK, just committed.
>
Thanks! I've run the three compilers and both 1.5 and 1.6 are now building
cleanly. I uncovered a handful of 1.4 compatability problems so I've
attached a patch that makes it all compile clean on all three jdks. The
full regression tests against 8.4,9.0,9.1 and HEAD will kick off later
today.
Regards,
--
Mike Fowler
Registered Linux user: 379787
The Call for Papers for is open for FLOSS UK, contact postgresql2012 AT
flossuk DOT org for details.
Attachments:
morejdk1.4.patch (application/octet-stream, 2.7K) download
Index: org/postgresql/jdbc2/AbstractJdbc2Array.java
===================================================================
RCS file: /cvsroot/jdbc/pgjdbc/org/postgresql/jdbc2/AbstractJdbc2Array.java,v
retrieving revision 1.27
diff -c -r1.27 AbstractJdbc2Array.java
*** org/postgresql/jdbc2/AbstractJdbc2Array.java 26 Sep 2011 12:52:30 -0000 1.27
--- org/postgresql/jdbc2/AbstractJdbc2Array.java 27 Sep 2011 10:58:51 -0000
***************
*** 19,25 ****
import java.math.BigDecimal;
import java.sql.ResultSet;
import java.sql.SQLException;
- import java.sql.SQLFeatureNotSupportedException;
import java.sql.Types;
import java.util.ArrayList;
import java.util.Map;
--- 19,24 ----
***************
*** 213,231 ****
}
switch (elementOid) {
case Oid.INT2:
! arr[i] = ByteConverter.int2(fieldBytes, pos);
break;
case Oid.INT4:
! arr[i] = ByteConverter.int4(fieldBytes, pos);
break;
case Oid.INT8:
! arr[i] = ByteConverter.int8(fieldBytes, pos);
break;
case Oid.FLOAT4:
! arr[i] = ByteConverter.float4(fieldBytes, pos);
break;
case Oid.FLOAT8:
! arr[i] = ByteConverter.float8(fieldBytes, pos);
break;
case Oid.TEXT:
case Oid.VARCHAR:
--- 212,230 ----
}
switch (elementOid) {
case Oid.INT2:
! arr[i] = new Short(ByteConverter.int2(fieldBytes, pos));
break;
case Oid.INT4:
! arr[i] = new Integer(ByteConverter.int4(fieldBytes, pos));
break;
case Oid.INT8:
! arr[i] = new Long(ByteConverter.int8(fieldBytes, pos));
break;
case Oid.FLOAT4:
! arr[i] = new Float(ByteConverter.float4(fieldBytes, pos));
break;
case Oid.FLOAT8:
! arr[i] = new Double(ByteConverter.float8(fieldBytes, pos));
break;
case Oid.TEXT:
case Oid.VARCHAR:
***************
*** 333,339 ****
}
private Class elementOidToClass(int oid)
! throws SQLFeatureNotSupportedException {
switch (oid) {
case Oid.INT2:
return Short.class;
--- 332,338 ----
}
private Class elementOidToClass(int oid)
! throws SQLException {
switch (oid) {
case Oid.INT2:
return Short.class;
^ permalink raw reply [nested|flat] 5+ messages in thread
* Re: Further Buildfarm Errors: Missing org.postgresql.util.PGBinaryObject
@ 2011-09-27 11:15 Dave Cramer <pg@fastcrypt.com>
parent: Mike Fowler <mike@mlfowler.com>
0 siblings, 1 reply; 5+ messages in thread
From: Dave Cramer @ 2011-09-27 11:15 UTC (permalink / raw)
To: Mike Fowler <mike@mlfowler.com>; +Cc: pgsql-jdbc
committed... thanks!
Dave Cramer
dave.cramer(at)credativ(dot)ca
http://www.credativ.ca
On Tue, Sep 27, 2011 at 7:05 AM, Mike Fowler <mike@mlfowler.com> wrote:
>> OK, just committed.
>>
>
> Thanks! I've run the three compilers and both 1.5 and 1.6 are now building
> cleanly. I uncovered a handful of 1.4 compatability problems so I've
> attached a patch that makes it all compile clean on all three jdks. The
> full regression tests against 8.4,9.0,9.1 and HEAD will kick off later
> today.
>
> Regards,
>
> --
> Mike Fowler
> Registered Linux user: 379787
>
> The Call for Papers for is open for FLOSS UK, contact postgresql2012 AT
> flossuk DOT org for details.
^ permalink raw reply [nested|flat] 5+ messages in thread
* Re: Further Buildfarm Errors: Missing org.postgresql.util.PGBinaryObject
@ 2011-09-28 08:28 Mike Fowler <mike@mlfowler.com>
parent: Dave Cramer <pg@fastcrypt.com>
0 siblings, 0 replies; 5+ messages in thread
From: Mike Fowler @ 2011-09-28 08:28 UTC (permalink / raw)
To: Dave Cramer <pg@fastcrypt.com>; +Cc: pgsql-jdbc
> committed... thanks!
Thanks Dave. The last of my build runs completed a short while ago and all
4 have passed.
Regards,
--
Mike Fowler
Registered Linux user: 379787
The Call for Papers for is open for FLOSS UK, contact postgresql2012 AT
flossuk DOT org for details.
^ permalink raw reply [nested|flat] 5+ messages in thread
end of thread, other threads:[~2011-09-28 08:28 UTC | newest]
Thread overview: 5+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2011-09-27 08:41 Further Buildfarm Errors: Missing org.postgresql.util.PGBinaryObject Mike Fowler <mike@mlfowler.com>
2011-09-27 09:35 ` Dave Cramer <pg@fastcrypt.com>
2011-09-27 11:05 ` Mike Fowler <mike@mlfowler.com>
2011-09-27 11:15 ` Dave Cramer <pg@fastcrypt.com>
2011-09-28 08:28 ` Mike Fowler <mike@mlfowler.com>
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox