Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8319958

test/jdk/java/io/File/libGetXSpace.c does not compile on Windows 32-bit

    XMLWordPrintable

Details

    • b24
    • x86
    • windows

    Backports

      Description

        The builds of JDK17 and above are currently failing on 32-bit windows with the following error:

        02:10:33 c:\workspace\openjdk-build\workspace\build\src\test\jdk\java\io\File\libGetXSpace.c(37): fatal error C1083: Cannot open include file: 'sys/statfs.h': No such file or directory

        While the JDK21+ port to this platform is now deprecated as per JEP 449 it makes sense to fix it in there and backport to the earlier lines to avoid any potential further backports of the same file breaking it again. The other option would be to only backport in jdk17u but since it is deprecated rather than removed in JDK21+ I am targeting this for the latest repository.

        Attachments

          Issue Links

            Activity

              People

                shade Aleksey Shipilev
                aleonard Andrew Leonard
                Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved: