Re: Pre-processing during build

From: Andrej Golovnin <andrej(dot)golovnin(at)gmail(dot)com>
To: Mark Rotteveel <mark(at)lawinegevaar(dot)nl>
Cc: List <pgsql-jdbc(at)postgresql(dot)org>
Subject: Re: Pre-processing during build
Date: 2015-06-18 06:58:14
Message-ID: CAM6ZMz8+zKVeW0igb38=fMTOFNV-JwHcjfXzih4MwYSwUmv0dQ@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-jdbc

Hi Mark,

>>
>> An official Java SE standard since v1.3, BTW, to prevent further
>> discussions about versions. ;-)
>
> Proxies use reflection (which is why they are part of the
> java.lang.reflect package.
>

Just because the class is in the package java.lang.reflect, it does
not mean it uses the reflection. Proxies are on the fly generated
classes and use generic byte code to invoke methods. No reflection is
involved. Just take a look at the class sun.misc.ProxyClassFactory.

Best regards,
Andrej Golovnin

In response to

Responses

Browse pgsql-jdbc by date

  From Date Subject
Next Message Mark Rotteveel 2015-06-18 07:05:05 Re: Pre-processing during build
Previous Message Mark Rotteveel 2015-06-18 06:44:05 Re: Pre-processing during build