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

(fs) java/nio/file/FileStore/Basic.java found filesystem twice

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P4
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 13
    • Component/s: core-libs
    • Labels:
    • Subcomponent:
    • Resolved In Build:
      b25
    • CPU:
      x86_64
    • OS:
      linux

      Backports

        Description

        Test iterates over result of FileSystems.getDefault().getFileStores(), and has an assertion that the current store is different from the previous one in the list. That assertion failed:

        [Note: Actual hostname redacted to "<testhostname>" to avoid exposing confidential internal hostname.]

        /tmp/common1 (<testhostname>:/export/local) (name=<testhostname>:/export/local type=nfs)
        /tmp/common1 (<testhostname>:/export/local) (name=<testhostname>:/export/local type=nfs)
        ----------System.err:(14/758)----------
        java.lang.RuntimeException: Assertion failed
        at Basic.assertTrue(Basic.java:57)
        at Basic.doTests(Basic.java:142)
        at Basic.main(Basic.java:49)
        at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
        at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.base/java.lang.reflect.Method.invoke(Method.java:567)
        at com.sun.javatest.regtest.agent.MainActionHelper$AgentVMRunnable.run(MainActionHelper.java:298)
        at java.base/java.lang.Thread.run(Thread.java:830)

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  bpb Brian Burkhalter
                  Reporter:
                  kbarrett Kim Barrett
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  4 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: