> 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