jacorb generates .java files incorrectly -
given below idl file
#include <cosnotifycomm.idl> module testevent { typedef cosnotifycomm::sequencepushconsumer subscriber; typedef cosnotification::structuredevent coreevent; };
jacorb (v3.2) generates subscriberhelper class errors. coreeventhelper class generated correctly. example:
public static void insert (org.omg.corba.any any, cosnotifycomm.sequencepushconsumer s)
the correct code
public static void insert (org.omg.corba.any any, org.omg.cosnotifycomm.sequencepushconsumer s)
is bug? how workaround this?
since nobody replied, answer question workaround found.
the jacorb idl java generator "idl.bat" provides option -i2jpackage. should pass "-i2jpackage cosnotifycomm:org.omg.cosnotifycomm
" idl.bat while executing it.
if bug or not, still dont know.
Comments
Post a Comment