We should use SetupJdkLibrary instead of SetupNativeCompilation for
hotspot libraries. This does not make any difference right now, but will
facilitate upcoming changes.
I have tested with COMPARE_BUILD on linux to verify that libjvm.so is
bit-by-bit identical after this change. Other platforms do not have such
tight reproducability, but if anything was changed in how the build were
setup, it would have shown on Linux as well.
Bug: https://bugs.openjdk.java.net/browse/JDK-8248547
WebRev:
http://cr.openjdk.java.net/~ihse/JDK-8248547-useSetupJdkLibrary-for-hotspot/webrev.01
/Magnus