RFR: 8000975: (process) Merge UNIXProcess.java.bsd & UNIXProcess.java.linux (& .solaris & .aix)
Alan Bateman
Alan.Bateman at oracle.com
Tue Apr 1 16:00:08 UTC 2014
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
More information about the core-libs-dev
mailing list