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

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

    XMLWordPrintable

Details

    • b25
    • x86_64
    • 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

                bpb Brian Burkhalter
                kbarrett Kim Barrett
                Votes:
                0 Vote for this issue
                Watchers:
                7 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved: