Maintenance Notice

The bugs.java.com site will be undergoing maintenance on 15th Dec 2017 21:00 PST to 16th Dec 2017 1:00 AM PST.
JDK-8000975 : (process) Merge UNIXProcess.java.bsd & UNIXProcess.java.linux
  • Type: Enhancement
  • Component: core-libs
  • Sub-Component: java.lang
  • Affected Version: 9
  • Priority: P4
  • Status: Closed
  • Resolution: Fixed
  • Submitted: 2012-10-16
  • Updated: 2015-01-21
  • Resolved: 2014-05-12
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availabitlity Release.

To download the current JDK release, click here.
JDK 8 JDK 9
8u40Fixed 9 b14Fixed
Related Reports
Relates :  
Description
There are no appreciable differences between these files. It may be a better idea to have a base "posix" class and create new files for exceptions to the base behaviour. (e.g. UNIXProcess.java.solaris)
Comments
Here's a preview of an attempt to merge all 4 UNIXProcess.java.[linux|bsd|solaris|aix] variants into common source: http://cr.openjdk.java.net/~plevart/jdk9-dev/UNIXProcess/webrev.01/ It's not finished yet (OS resolving code missing - only for Linux currently, but it resembles the logic currently present in jdk9-dev - just refactored)
2014-03-23