RFR (M): JDK-8200298 Unify all unix versions of libjsig/jsig.c (original) (raw)

Magnus Ihse Bursie magnus.ihse.bursie at oracle.com
Tue Mar 27 09:42:31 UTC 2018


When I was about to update jsig.c, I noticed that the four copies for aix, linux, macosx and solaris were basically the same, with only small differences. Some of the differences were not even well motivated, but were likely the result of this code duplication causing the code to diverge.

A better solution is to unify them all into a single unix version, with the few platform-specific changes handled on a per-platform basis.

I've made the following notable changes:

Also worth noting:

To facilitate code review, here is a specially crafted webrev that shows the differences compared to each of the individual, original per-OS versions of jsig.c: http://cr.openjdk.java.net/~ihse/JDK-8200298-unify-libjsig/webrev.01

Bug: https://bugs.openjdk.java.net/browse/JDK-8200298 WebRev: http://cr.openjdk.java.net/~ihse/JDK-8200298-unify-libjsig/webrev.03

/Magnus



More information about the build-dev mailing list