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

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

    Details

    • Resolved In Build:
      b01
    • CPU:
      arm
    • OS:
      linux
    • Verification:
      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

            • Assignee:
              njian Ningsheng Jian
              Reporter:
              njian Ningsheng Jian
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: