RFR JDK-8071501 perfMemory_solaris.cpp failing to compile with "Error: dd_fd is not a member of DIR."
gerald.thornbrugh at oracle.com
Wed Mar 4 22:04:49 UTC 2015
We discussed this option and decided to stay with the legacy prototypes
for JDK8 and JDK9 for now. We will open up an RFE to move to the POSIX
prototypes in the future.
> As the overall direction is be POSIX compatible,
> it might be better to change the code to use POSIX declaration,
> and define __XOPEN_OR_POSIX for Solaris 10 compatibility.
> On 2015-03-05 00:04, Gerald Thornbrugh wrote:
>> Please review my JDK8 and JDK9 fix for JDK-8071501
>> perfMemory_solaris.cpp failing to compile with
>> "Error: dd_fd is not a member of DIR."
>> This compiler error occurs when Solaris 11 include files are used to
>> build hotspot and the POSIX
>> version of the DIR structure is used in the build process. The fix
>> forces all Solaris builds to use
>> the same version of the DIR structure.
>> JDK8 Webrev: http://cr.openjdk.java.net/~gthornbr/fd/jdk8/webrev/
>> JDK9 Webrev: http://cr.openjdk.java.net/~gthornbr/fd/jdk9/webrev/
>> I have completed JPRT bulds and tests on platforms without issues.
More information about the hotspot-runtime-dev