On 01/04/2014 14:49, roger riggs wrote:
Hi Peter,

The design using enum for the os dependencies does not make it possible
to include only the support needed for a particular platform at build time. Every implementation will be carrying around the support for all the other platforms.
A build time binding would be more efficient.

Roger
I think the approach is okay for now [ assuming we find a better name than "Os" :-) ] but if src/solaris is renamed in JDK 9 to src/unix or some such name then it provides an opportunity to re-visit this is that there is a factory per platform in a platform specific tree.

-Alan

Reply via email to