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

Test java/nio/channels/FileChannel/BlockDeviceSize.java fails on Linux

    XMLWordPrintable

Details

    • Bug
    • Resolution: Duplicate
    • P4
    • tbd
    • 9, 11, 12.0.2, 17
    • core-libs
    • None

    Description

      Test java/nio/channels/FileChannel/BlockDeviceSize.java might fail with java.lang.RuntimeException: size differs when retrieved in different ways: 1073741824 != 0
      at BlockDeviceSize.main(BlockDeviceSize.java:49)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      at java.lang.reflect.Method.invoke(Method.java:520)
      at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:92)
      at java.lang.Thread.run(Thread.java:804)

      Attachments

        Issue Links

          Activity

            People

              bpb Brian Burkhalter
              lmesnik Leonid Mesnik
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: