Thread: gcj oddity

gcj oddity

From
"Jonathan T. Higa"
Date:
I don't know whether this has to do with PostgreSQL, gcj, or Mandrake
Linux, but I mention this here in case someone has a nice workaround.
The expression

   new org.postgresql.Driver().acceptsURL("jdbc:postgresql:astro")

is false using gcj from gcc-java-3.2-1mdk (Mandrake Linux 9.0) with
jdbc7.2dev-1.2.jar from postgresql-jdbc-7.2.2-1.1mdk.  Try it!
Obviously, it's supposed to be true, and it is if I use jikes-1.16-2mdk
with j2re-1.4.1-fcs.

Suggestions are appreciated but not necessary.  I'm not on the
pgsql-jdbc mailing list (I found it on the web), so please Cc me on
messages in this thread.

-- Jonathan T. Higa (jthiga@comcast.net)


Re: gcj oddity

From
Dave Cramer
Date:
AFAIK, the driver doesn't work properly with gcj, we test the driver
with either sun's jdk, or ibm's jdk

Dave
On Wed, 2002-11-06 at 19:57, Jonathan T. Higa wrote:
> I don't know whether this has to do with PostgreSQL, gcj, or Mandrake
> Linux, but I mention this here in case someone has a nice workaround.
> The expression
>
>    new org.postgresql.Driver().acceptsURL("jdbc:postgresql:astro")
>
> is false using gcj from gcc-java-3.2-1mdk (Mandrake Linux 9.0) with
> jdbc7.2dev-1.2.jar from postgresql-jdbc-7.2.2-1.1mdk.  Try it!
> Obviously, it's supposed to be true, and it is if I use jikes-1.16-2mdk
> with j2re-1.4.1-fcs.
>
> Suggestions are appreciated but not necessary.  I'm not on the
> pgsql-jdbc mailing list (I found it on the web), so please Cc me on
> messages in this thread.
>
> -- Jonathan T. Higa (jthiga@comcast.net)
>
>
> ---------------------------(end of broadcast)---------------------------
> TIP 3: if posting/reading through Usenet, please send an appropriate
> subscribe-nomail command to majordomo@postgresql.org so that your
> message can get through to the mailing list cleanly
--
Dave Cramer <Dave@micro-automation.net>