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

Martin Buchholz martinrb at google.com
Tue May 6 18:30:12 UTC 2014


On Sun, May 4, 2014 at 3:12 AM, Peter Levart <peter.levart at gmail.com> wrote:

>
>  ---
>  ---
>  +                case SOLARIS:
> +                    if (osArch.equals("x86")) { osArch = "i386"; }
>
>  It's very sad that ... there's no portable way of getting the name of
> libarchdir.  I thought os.arch system property would suffice, but
> apparently not on Solaris?
>
>
> ...and BSD (OS X). Is OS X missing the architecture sub-directories
> because it only supports one architecture now or because it used to employ
> "fat" (multi-architecture) binaries?
>

The JDK should have a non-public API to get the "libarchdir" of the current
JDK, perhaps in the jdk.internal package.



More information about the core-libs-dev mailing list