Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1Z5fji-0003tV-7Q for pgsql-jdbc@arkaria.postgresql.org; Thu, 18 Jun 2015 19:44:30 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.80) (envelope-from ) id 1Z5fjh-0006NS-J8 for pgsql-jdbc@arkaria.postgresql.org; Thu, 18 Jun 2015 19:44:29 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:RSA_AES_256_CBC_SHA256:256) (Exim 4.80) (envelope-from ) id 1Z5fjg-0006NM-V9 for pgsql-jdbc@postgresql.org; Thu, 18 Jun 2015 19:44:29 +0000 Received: from smtprelay05.ispgateway.de ([80.67.31.99]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84) (envelope-from ) id 1Z5fjZ-0002xj-WB for pgsql-jdbc@postgresql.org; Thu, 18 Jun 2015 19:44:28 +0000 Received: from [88.66.28.181] (helo=Zauselmaus) by smtprelay05.ispgateway.de with esmtpsa (TLSv1.2:DHE-RSA-AES256-GCM-SHA384:256) (Exim 4.84) (envelope-from ) id 1Z5fjY-0006bX-KE for pgsql-jdbc@postgresql.org; Thu, 18 Jun 2015 21:44:20 +0200 From: "Markus KARG" To: "'List'" References: <000c01d0a7b6$97571ee0$c6055ca0$@eu> <004b01d0a86a$4e9e6eb0$ebdb4c10$@eu> <002601d0a939$793152d0$6b93f870$@eu> <1522b76450babcc734cee195b99ccb1a@imap.procolix.com> In-Reply-To: <1522b76450babcc734cee195b99ccb1a@imap.procolix.com> Subject: Re: Pre-processing during build Date: Thu, 18 Jun 2015 21:44:28 +0200 Organization: Markus KARG, Staatl. gepr. Inf. Message-ID: <00d701d0a9ff$30d5d8a0$928189e0$@eu> MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Mailer: Microsoft Office Outlook 12.0 Thread-Index: AdCpj56Z1qx9aFq9RgWQ2imI0FD5qwAbvvBA Content-Language: de X-AVK-Virus-Check: AVA 25.1869;71FD75 X-AVK-Spam-Check: 2; str=0001.0A0C0201.55831F93.01C0,ss=2,re=0.000,recu=0.000,reip=0.000,cl=2,cld=1,fgs=0; F1206 X-Df-Sender: bWFya3VzQGhlYWRjcmFzaGluZy5ldQ== X-Pg-Spam-Score: -2.6 (--) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-jdbc Precedence: bulk Sender: pgsql-jdbc-owner@postgresql.org > If that won't work, nobody could write a Java EE program and compile=20 > and test it agains the official javaee.jar, as that one not even=20 > contains ANY > byte code but SOLELY declarations. And that one's an official JAR from the > makers of Java! >Sorry, but that doesn't make any sense at all. The "official" JavaEE jar d= oes contain bytecode: interfaces and some supporting classes like exception= s. Wrong. There are lots of classes in that JAR that actually are "broken" fro= m the view of the JLS. When you try to instantiate them you'll simply get a= weird exception telling you that for some of them the byte code is missing= . This is done with several APIs of Java EE as due to the way it is specifi= ed in the particular specifications, it is up to the vendor to provide them= . So you can compile against that explicitly bytecode-dropped classes witho= ut any problem, but you can neither test nor otherwise instantiate them. Regards -Markus --=20 Sent via pgsql-jdbc mailing list (pgsql-jdbc@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-jdbc