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

ARM32: test java/io/File/SetLastModified.java fails on ARM32

    XMLWordPrintable

Details

    • b01
    • arm
    • linux
    • Not verified

    Description

      Error log:
      =======
      STDOUT:
      check with file size: 1
      check with file size: 1073741825
      check with file size: 0
      STDERR:
      java.lang.Exception: setLastModified failed on file: ./x.SetLastModified.dir/x.SetLastModified
      ========

      It's caused by the test creating a file >2G, the size of which won't fit in a 32-bit signed off_t. This causes a stat() call to return EOVERFLOW. Presumably this fails on all 32-bit platforms.

      Attachments

        Activity

          People

            njian Ningsheng Jian (Inactive)
            njian Ningsheng Jian (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: