I thought there would be an update to the xdoclet version coming in M3, but I still have the same bug:
Hashtable<String,String> env = new Hashtable<String,String>();
// this works instead: Hashtable env = new Hashtable();
env.put(Context.INITIAL_CONTEXT_FACTORY, Consts.CONTEXT_INITIAL_FACTORY);
env.put(Context.PROVIDER_URL, Consts.CONTEXT_PROVIDER_URL);
Context ic = new InitialContext(env);
It still fails to run XDoclet, this is an known error in xdoclet which is fixed since some version so I can continue using Java5 syntax.
Will the updated xdoclet be able to run this in the final 4.0?