【发布时间】:2013-10-14 02:58:47
【问题描述】:
鉴于以下 IDL 文件
#include <CosNotifyComm.idl>
module TestEvent
{
typedef CosNotifyComm::SequencePushConsumer Subscriber;
typedef CosNotification::StructuredEvent CoreEvent;
};
Jacorb (v3.2) 生成带有错误的 SubscriberHelper 类。但是 CoreEventHelper 类是正确生成的。 例如:
公共静态无效插入(org.omg.CORBA.Any any, CosNotifyComm.SequencePushConsumer)
正确的代码是
public static void insert (org.omg.CORBA.Any any, org.omg.CosNotifyComm.SequencePushConsumer s)
这是一个错误吗?如何解决这个问题?
【问题讨论】: