(fs) FileSystemProvider fails to initializes if run with file.encoding set to Cp037

XMLWordPrintable

    • b115
    • generic, x86
    • generic, linux
    • Not verified

        If JCK tests run under EBCDIC simulator ~500 test groups with ~2000 test cases fail to initialize with the following exception:

        FAILED: Unexpected java.lang.ExceptionInInitializerError
            Caused by java.lang.RuntimeException: default directory must be absolute
        java.lang.ExceptionInInitializerError
                at java.nio.file.FileSystems.getDefault(FileSystems.java:176)
                at java.nio.file.Paths.get(Paths.java:84)
                at javasoft.sqe.tests.api.java.nio.file.Path.ObjectTests$2.runTest(ObjectTests.java:131)
        ...

        All subsequent actions fail respectively with:

        FAILED: Unexpected java.lang.NoClassDefFoundError: Could not initialize class java.nio.file.FileSystems$DefaultFileSystemHolder
        java.lang.NoClassDefFoundError: Could not initialize class java.nio.file.FileSystems$DefaultFileSystemHolder
                at java.nio.file.FileSystems.getDefault(FileSystems.java:176)
                at java.nio.file.Paths.get(Paths.java:84)
                at javasoft.sqe.tests.api.java.nio.file.Path.ObjectTests$3.runTest(ObjectTests.java:192)
        ...

              Assignee:
              Alan Bateman
              Reporter:
              Arkadiy Sutchilin (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: