RFR: 8000975: (process) Merge UNIXProcess.java.bsd & UNIXProcess.java.linux (& .solaris & .aix)

Martin Buchholz martinrb at google.com
Tue Apr 1 22:40:49 UTC 2014


In general, you can expect different LaunchMechanisms to be workable for
different Unix flavors at different times.  It would be good to have them
available via a flag for future maintainability.  E.g. if vfork ends up
being as troublesome as everyone says, we can fall back for fork, etc...
So I rather like having different LaunchMechanisms available on different
platforms - just the default would be different.  fork should work
everywhere.


On Tue, Apr 1, 2014 at 12:47 PM, roger riggs <roger.riggs at oracle.com> wrote:

> Hi,
>
> A minor point, but the Enum for LaunchMechanism can be simpler; the
> defined enum values (1,2,3)
> are never used and can be removed along with the extra constructor.
>
>



More information about the core-libs-dev mailing list