No reason really, except that exception gets thrown :-) That ManagerHelper thing is really old now. It was useful [way] back when there were two different ways to make Manager calls (static and non-static).
I'd say we could tear it out (if it helps), or maybe don't overload the method -- maybe it's just me, but overloaded methods make for easy bugs sometimes (esp. if one of the variants take Object arg) > -----Original Message----- > From: [EMAIL PROTECTED] [mailto:tc-dev- > [EMAIL PROTECTED] On Behalf Of Saravanan Subbiah > Sent: Monday, October 15, 2007 6:28 PM > To: [email protected] > Subject: [tc-dev] Overloading ManagerUtil methods ? > > Any reason I cant overload ManagerUtil methods ? I get this exception. > > WARN Exception in thread "main" java.lang.RuntimeException: > Duplicated method name [lookupObject] on interface > com.tc.object.bytecode.ManagerUtil > WARN at > com.tc.object.bytecode.ManagerHelperFactory.findMethods(ManagerHelperFa > ctory.java:40) > WARN at > com.tc.object.bytecode.ManagerHelperFactory.<init>(ManagerHelperFactory > .java:26) > WARN at > com.tc.object.config.StandardDSOClientConfigHelperImpl.<init>(StandardD > SOClientConfigHelperImpl.java:109) > WARN at > com.tc.object.tools.BootJarTool.main(BootJarTool.java:2446) > > -- > This e-mail incorporates Terracotta's confidentiality policy, which is > online at http://www.terracottatech.com/emailconfidentiality.shtml > > _______________________________________________ > tc-dev mailing list > [email protected] > http://lists.terracotta.org/mailman/listinfo/tc-dev
_______________________________________________ tc-dev mailing list [email protected] http://lists.terracotta.org/mailman/listinfo/tc-dev
