Re: Pre-processing during build

From: Mark Rotteveel <mark(at)lawinegevaar(dot)nl>
To: <pgsql-jdbc(at)postgresql(dot)org>
Subject: Re: Pre-processing during build
Date: 2015-06-18 06:44:05
Message-ID: 6be9e38a3cfaaba8b8a3f7008cfb6261@imap.procolix.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-jdbc

On Wed, 17 Jun 2015 23:51:26 +0200, "Markus KARG" <markus(at)headcrashing(dot)eu>
wrote:
> Wrong. 12.1.1 contains more restriction on the initial class than 12.2
> which describes the general process for ANY class. Hence it is a
> difference. That is what you see in the difference of you initial
example
> to mine on Gist. :-)
>
> Sorry I was not aware that you only posted the example to demonstrate
> REFLECTION to fail. Maybe I missed that. I always talked about normal
> instantiation, not about reflection. Also AFAIK JDBC spec does not say
> reflection MUST be possible, does it?

Of course you need to support reflection, in some cases the JVM itself
will use reflection and as I said in an earlier email: a lot of tools and
libraries depend on it. Not supporting reflection will simply make the
driver unusable in a lot of situations.

I can't believe I actually need to argue this point.

Mark

In response to

Browse pgsql-jdbc by date

  From Date Subject
Next Message Andrej Golovnin 2015-06-18 06:58:14 Re: Pre-processing during build
Previous Message Mark Rotteveel 2015-06-18 06:37:58 Re: Pre-processing during build