On Tue, 18 Jun 2002, David Jencks wrote: > I don't see how to compile something on 1.3 that calls a method that is not > in the jdbc 2 spec, but if you have a reference to an example of how to do > what you suggest I'll take a look. > > IMO reflection is worse than a preprocessor. > > david jencks
During init, check what the current vm is. If 1.3, replace self with Foo13. If 1.4, replace self with Foo14. Reflection would only get used at init time, and not runtime. Of course, I'm not certain how hard it is to do that 'replace self' bit. ---------------------------------------------------------------------------- Bringing you mounds of caffeinated joy >>> http://thinkgeek.com/sf <<< _______________________________________________ Jboss-development mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-development