Re: Pre-processing during build - Mailing list pgsql-jdbc

From Markus KARG
Subject Re: Pre-processing during build
Date
Msg-id 00d701d0a9ff$30d5d8a0$928189e0$@eu
Whole thread Raw
In response to Re: Pre-processing during build  (Mark Rotteveel <mark@lawinegevaar.nl>)
List pgsql-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
supportingclasses 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
instantiatethem you'll simply get a weird exception telling you that for some of them the byte code is missing. This is
donewith several APIs of Java EE as due to the way it is specified in the particular specifications, it is up to the
vendorto provide them. So you can compile against that explicitly bytecode-dropped classes without any problem, but you
canneither test nor otherwise instantiate them. 

Regards
-Markus



pgsql-jdbc by date:

Previous
From: Vladimir Sitnikov
Date:
Subject: Re: Pre-processing during build
Next
From: "Markus KARG"
Date:
Subject: Re: Pre-processing during build