Board index » off-topic » idl2java and generics?

idl2java and generics?


2007-07-03 05:56:11 PM
off-topic11
Is there no way to get idl2java to create code using generics properly
instead of
generating code like this:
---------------
private static java.util.Dictionary _methods = new
java.util.Hashtable();
static {
_methods.put("notify", new int[] { 0, 0 });
---------------
It should be using Dictionary< String, int[]>and Hashtable< String,
int[]>
 
 

Re:idl2java and generics?

On 3 Jul, 10:56, Earl Purple < XXXX@XXXXX.COM >wrote:
Quote
Is there no way to get idl2java to create code using generics properly
instead of
generating code like this:

---------------

private static java.util.Dictionary _methods = new
java.util.Hashtable();

static {
_methods.put("notify", new int[] { 0, 0 });

---------------

It should be using Dictionary< String, int[]>and Hashtable< String,
int[]>
I should add this is using vbrokerj 6.0 on Solaris. And Eclipse is
generating hundreds of warnings.