Re: Pre-processing during build
От | Markus KARG |
---|---|
Тема | Re: Pre-processing during build |
Дата | |
Msg-id | 00d701d0a9ff$30d5d8a0$928189e0$@eu обсуждение исходный текст |
Ответ на | Re: Pre-processing during build (Mark Rotteveel <mark@lawinegevaar.nl>) |
Список | 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 по дате отправления: