Hi Samuel, Wolfy seems to have solved the bug. I will create a branch in my repo and will report back.
Angelo > Em 07/05/2015, à(s) 16:25, Samuel Pelletier <[email protected]> escreveu: > > Ângelo, > > I added some debug output and I think I found the problem but have no > solution yet... > > Activator.getDefault().log("IEOSQLGeneratorFactory object class : " + > o.getClass().getName()); > for (Class anInterface : o.getClass().getInterfaces()) { > Activator.getDefault().log("interface : " + > anInterface.getName()); > } > Activator.getDefault().log("IEOSQLGeneratorFactory object class Loader > : " + o.getClass().getClassLoader()) > Activator.getDefault().log("IEOSQLGeneratorFactory class Loader : " + > IEOSQLGeneratorFactory.class.getClassLoader()); > > The output: > !MESSAGE IEOSQLGeneratorFactory object class : > org.objectstyle.wolips.eomodeler.core.sql.EOFSQLGeneratorFactory > !MESSAGE interface : > org.objectstyle.wolips.eomodeler.core.sql.IEOSQLGeneratorFactory > !MESSAGE IEOSQLGeneratorFactory object class Loader : > org.eclipse.osgi.internal.loader.EquinoxClassLoader@289c2793[org.objectstyle.wolips.eomodeler.eclipse:4.4.20150506.01(id=1470)] > !MESSAGE IEOSQLGeneratorFactory class Loader : > org.eclipse.osgi.internal.loader.EquinoxClassLoader@2dcbf825[org.objectstyle.wolips.eomodeler.core:4.4.20150506.01(id=1469)] > > So these are 2 different class objects from 2 class loader for the same class. > > Anyone know how to fix this ? > > Samuel Ângelo Andrade Cirino [email protected] "O homem sensato se adapta ao mundo. O insensato insiste em tentar adaptar o mundo a ele. Todo o progresso depende, portanto, do homem insensato" Sir George Benard Shaw "The reasonable man adapts himself to the world: the unreasonable one persists in trying to adapt the world to himself. Therefore all progress depends on the unreasonable man." Sir George Benard Shaw
_______________________________________________ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list ([email protected]) Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to [email protected]
