Thread: BUG #1168: JDBC compile fails using Java 1.5.0-beta2

BUG #1168: JDBC compile fails using Java 1.5.0-beta2

From
"PostgreSQL Bugs List"
Date:
The following bug has been logged online:

Bug reference:      1168
Logged by:          Gavin Flower

Email address:      gavin353@eircom.net

PostgreSQL version: 7.4

Operating system:   Linux

Description:        JDBC compile fails using Java 1.5.0-beta2

Details:

I just downloaded PostgreSQL 7.4.3 and attempted to "make" it with the
option to create JDBC drivers.

I get error messages when using j2sdk1.5b2, however it compiles successfully
using j2sdk1.4.2_04.

I had the same problem with PostgreSQL 7.4.2.

While I don't expect PostgreSQL 7.4.x to take advantage of the features of
Java 1.5 at this stage, I think it is reasonable to expect it to compile.

(Hopefully, PostgreSQL 7.5 will be implemented to benefit from at least some
of the improvements in Java 1.5!)

Re: BUG #1168: JDBC compile fails using Java 1.5.0-beta2

From
Kris Jurka
Date:
On Thu, 17 Jun 2004, PostgreSQL Bugs List wrote:

>
> The following bug has been logged online:
>
> Bug reference:      1168
> PostgreSQL version: 7.4
>
> Description:        JDBC compile fails using Java 1.5.0-beta2
>
> Details:
>
> I just downloaded PostgreSQL 7.4.3 and attempted to "make" it with the
> option to create JDBC drivers.
>
> I get error messages when using j2sdk1.5b2, however it compiles successfully
> using j2sdk1.4.2_04.
>
> I had the same problem with PostgreSQL 7.4.2.
>

7.4.3 builds fine for me with the 1.5 JDK.  Between 7.4.2 and 7.4.3 I did
make this change:

revision 1.36.2.2
date: 2004/04/26 08:28:32;  author: jurka;  state: Exp;  lines: +4 -1
Update the build.xml file to support building with the new 1.5 jdk
and ant 1.6.

Could you be more specific with the version of ant you are using and the
compile error you received?

Kris Jurka

Re: BUG #1168: JDBC compile fails using Java 1.5.0-beta2

From
Kris Jurka
Date:
On Thu, 17 Jun 2004, Kris Jurka wrote:

>
>
> On Thu, 17 Jun 2004, PostgreSQL Bugs List wrote:
>
> >
> > The following bug has been logged online:
> >
> > Bug reference:      1168
> > PostgreSQL version: 7.4
> >
> > Description:        JDBC compile fails using Java 1.5.0-beta2
> >
> > Details:
> >
> > I just downloaded PostgreSQL 7.4.3 and attempted to "make" it with the
> > option to create JDBC drivers.
> >
> > I get error messages when using j2sdk1.5b2, however it compiles successfully
> > using j2sdk1.4.2_04.
> >
> > I had the same problem with PostgreSQL 7.4.2.
> >
>
> 7.4.3 builds fine for me with the 1.5 JDK.  Between 7.4.2 and 7.4.3 I did
> make this change:
>

Actually it builds with the first beta, but now that I've installed beta2
I'm getting failures, will look into it.

Kris Jurka