Re: [mdr-users] MDRClassLoader is a singleton : problem when reloading
Martin Matula <[email protected]> Mon, 17 Oct 2005 16:25:32 +0200
| Newsgroups | gmane.comp.java.netbeans.modules.mdr.user |
|---|---|
| Message-ID | <[email protected]> |
Could you please file an enhancement request? Thanks, Martin Olivier RICHAUD wrote: > Hi all, > > I have an issue with relaoding the same model within MDR. For example, I > have a class A and I change its internal structure. Although I create a > new instance of NBMDRepository, the reload of that class will fail. > > Indeed, in BaseObjectHandler, the default class loader is a singleton > which is not recreated, so that although I have a new instance of > NBMDRepository, this doesn't help. One solution would be to attach the > default class loader to an instance of NBMDRepository. > > Regards. > > Olivier >