Re: Pre-processing during build

From: "Markus KARG" <markus(at)headcrashing(dot)eu>
To: <pgsql-jdbc(at)postgresql(dot)org>
Subject: Re: Pre-processing during build
Date: 2015-06-18 19:50:02
Message-ID: 00da01d0a9ff$f82eddc0$e88c9940$@eu
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-jdbc

>Sorry, but you're the one that is wrong, it is not only about actually calling methods with types, it is about the presence or absence of those types when the JVM does decide to resolve the symbolic reference (eg when you reflect the declared methods). I am about done with this discussion. I think the onus is on you to prove this scheme will work, not for us to prove it won't work (which we already did). Your prove should not only include simple direct instance access, but also when using reflection **which is very common with JDBC drivers** (eg connection pools, tools/libraries that bridge differences in JDBC implementations, etc).

I agree that this thread is done, because I already provided a proof that my hypothesis works (the link was published yesterday), and my hypothesis never said that reflection would work. Whether or not reflection is MANDATORY for JDBC also is a fruitless discussion, as all of you WANT it to be supported.

>It sounds like you want to trade minor complexity in the build/IDE process for a world of hurt for the users of your driver. I don't think that is a good way forward.

I do not. You fear risks that do not exist if you go 100% with the JDBC specifications words, but I accept that you like to be safe from several uncertainties, so it is OK if we skip my idea and go with a different approach -- even when I am still convinced that it would be correct and working (but not for things you just WANT to support like reflection).

-Markus

In response to

Browse pgsql-jdbc by date

  From Date Subject
Next Message John R Pierce 2015-06-18 20:08:06 Re: Pre-processing during build
Previous Message Markus KARG 2015-06-18 19:44:28 Re: Pre-processing during build