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

XMLWordPrintable

    • Type: Bug
    • Resolution: Duplicate
    • Priority: P4
    • tbd
    • Affects Version/s: 9, 11, 12.0.2, 17
    • Component/s: core-libs
    • None

      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)

            Assignee:
            Brian Burkhalter
            Reporter:
            Leonid Mesnik
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved: