These patch fixes the generator, but i am not sure if
it is sufficient (it works well for us).
Fixed behavior: The following code produces an
unexpected exception:
Class c1 =
Class.forName("ru.novosoft.mdf.mof.impl.model.MOFModelPackageImpl");
ModelPackage model = (ModelPackage)c1.newInstance();
model.refAllAssociations();
Output was:
java.lang.RuntimeException: Unknow class:
javax.jmi.model.DependsOn ...
The patch includes derived associations in
MOFModelPackageImpl::createMetaObject(Class cls)
Best regards,
Fabian Buettner
Bremen University
patch file