RFR: JDK-8161360, , Deprecated vfork() should not be used on Solaris

Dmitry Samersoff dmitry.samersoff at oracle.com
Thu Sep 1 13:30:35 UTC 2016


Valid launch mechanisms for Solaris set in ProcessImpl.java as:

  SOLARIS(LaunchMechanism.POSIX_SPAWN, LaunchMechanism.FORK),

So it's not possible to set VFORK as LaunchMechanism for Solaris.
and this fix doesn't change anything from customer perspective.


On 2016-09-01 04:55, Martin Buchholz wrote:
> Does an attempt to use vfork on Solaris result in something reasonable like
> UnsupportedOperationException?
> On Wed, Aug 31, 2016 at 4:55 AM, Alan Burlison <Alan.Burlison at oracle.com>
> wrote:
>> vfork(2) is deprecated on Solaris and using it generates compiler
>> warnings. When compiled with warnings-as-errors, this results in
>> compilation failures.
>> Bug:    https://bugs.openjdk.java.net/browse/JDK-8161360
>> Webrev: http://cr.openjdk.java.net/~alanbur/JDK-8161360
>> Thanks,
>> --
>> Alan Burlison
>> --

Dmitry Samersoff
Oracle Java development team, Saint Petersburg, Russia
* I would love to change the world, but they won't give me the sources.

More information about the core-libs-dev mailing list