On Mon, Jun 11, 2012 at 10:42 PM, James Carman <[email protected]> wrote: > All, > > When trying to test some of the utility classes (such as > DuckTypinginvoker), it would be useful to have a ProxyFactory to play > with. However, in "core", we don't have access to one since they've > been broken out into their own modules (which reference core). What > if we left "core" for just the "api" and moved all other classes into > a "utils" module? The "utils" module could then import whatever > ProxyFactory implementation it wants as a test-scoped dependency. >
No opposition to the basic principle, though we should also keep in mind the ServiceLoader-based DefaultProxyFactory implementation we added to the core, and which is accessible via ProxyUtils--as well the 'test' module that imports the other modules for the sake of testing the DefaultProxyFactory. Matt > James > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
