From: Markus KARG <markus@headcrashing.eu>
To: 'List' <pgsql-jdbc@postgresql.org>
Subject: Re: Pre-processing during build
Date: Thu, 18 Jun 2015 21:44:28 +0200
Message-ID: <00d701d0a9ff$30d5d8a0$928189e0$@eu> (raw)
In-Reply-To: <1522b76450babcc734cee195b99ccb1a@imap.procolix.com>
References: <000c01d0a7b6$97571ee0$c6055ca0$@eu>
<CADK3HHK9TUug9amtabv1a+27u_bb31FCsLBarWsPv_PD12JCcw@mail.gmail.com>
<CAB=Je-FC6NE7z=OMpfGRyOPk--Fw6Uci9iFbu+JQ1THfeuhgHA@mail.gmail.com>
<004b01d0a86a$4e9e6eb0$ebdb4c10$@eu>
<b34d8608ae3b17cfb44f45774728e547@imap.procolix.com>
<002601d0a939$793152d0$6b93f870$@eu>
<1522b76450babcc734cee195b99ccb1a@imap.procolix.com>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-jdbc>
> If that won't work, nobody could write a Java EE program and compile
> and test it agains the official javaee.jar, as that one not even
> 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 does contain bytecode: interfaces and some supporting classes like exceptions.
Wrong. There are lots of classes in that JAR that actually are "broken" from 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 specified in the particular specifications, it is up to the vendor to provide them. So you can compile against that explicitly bytecode-dropped classes without any problem, but you can neither test nor otherwise instantiate them.
Regards
-Markus
--
Sent via pgsql-jdbc mailing list (pgsql-jdbc@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-jdbc
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-jdbc@postgresql.org
Cc: markus@headcrashing.eu
Subject: Re: Pre-processing during build
In-Reply-To: <00d701d0a9ff$30d5d8a0$928189e0$@eu>
References: <000c01d0a7b6$97571ee0$c6055ca0$@eu> <CADK3HHK9TUug9amtabv1a+27u_bb31FCsLBarWsPv_PD12JCcw@mail.gmail.com> <CAB=Je-FC6NE7z=OMpfGRyOPk--Fw6Uci9iFbu+JQ1THfeuhgHA@mail.gmail.com> <004b01d0a86a$4e9e6eb0$ebdb4c10$@eu> <b34d8608ae3b17cfb44f45774728e547@imap.procolix.com> <002601d0a939$793152d0$6b93f870$@eu> <1522b76450babcc734cee195b99ccb1a@imap.procolix.com> <00d701d0a9ff$30d5d8a0$928189e0$@eu>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox