users@jaxb.java.net

Code injector plugin in Java 1.6.0_18

From: Aleksei Valikov <valikov_at_gmx.net>
Date: Sun, 6 Jun 2010 22:28:34 +0200

Hi,

Is it just me or you guys also miss the code injector plugin bundled
with Java 1.6.0_18?

When I open:

...\jdk1.6.0_18\lib\tools.jar\META-INF\services\com.sun.tools.internal.xjc.Plugin

I see:

com.sun.tools.internal.xjc.addon.locator.SourceLocationAddOn
com.sun.tools.internal.xjc.addon.sync.SynchronizedMethodAddOn
com.sun.tools.internal.xjc.addon.at_generated.PluginImpl
com.sun.tools.internal.xjc.addon.episode.PluginImpl

The jaxb-xjc 2.1.13 distribution from here:

http://repo1.maven.org/maven2/com/sun/xml/bind/jaxb-xjc/2.1.13/jaxb-xjc-2.1.13.jar

Lists five plugins including the code injector:

com.sun.tools.xjc.addon.code_injector.PluginImpl
com.sun.tools.xjc.addon.locator.SourceLocationAddOn
com.sun.tools.xjc.addon.sync.SynchronizedMethodAddOn
com.sun.tools.xjc.addon.at_generated.PluginImpl
com.sun.tools.xjc.addon.episode.PluginImpl

Is code injector plugin excluded from JDK for some reason?

Bye.
/lexi