RFR: 8211296: Remove HotSpot deprecation warning suppression for Mac/clang
Kim Barrett
kim.barrett at oracle.com
Sun Sep 30 01:23:41 UTC 2018
Please review this change to HotSpot build options and code to
eliminate the suppression of deprecation warnings when building with
clang.
There are two code changes:
(1) Replace calls to finite() with C99 isfinite(). This also affects
gcc-based builds, but isfinite has been supported there for a long
time too.
(2) Remove call to _dyld_bind_fully_image_containing_address, which
seems to have been deprecated since MacOSX 10.5. Instead use the
recommended replacement "dlopen(RTLD_NOW)". However, it might be we
don't need to do anything here anymore. I ran tier1-5 test without
the dlopen without any problems. But I'm not familiar with the
original problem, so not sure that's convincing. Perhaps another RFE
to determine whether this code can be deleted?
CR:
https://bugs.openjdk.java.net/browse/JDK-8211296
Webrev:
http://cr.openjdk.java.net/~kbarrett/8211296/open.00/
Testing:
Mach5 tier1, tier1-5 on MacOSX.
More information about the build-dev
mailing list