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

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

    Details

    • Subcomponent:
    • Resolved In Build:
      b115
    • CPU:
      generic, x86
    • OS:
      generic, linux
    • Verification:
      Not verified

      Backports

        Description

        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)
        ...

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  alanb Alan Bateman
                  Reporter:
                  asutchil Arkadiy Sutchilin (Inactive)
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  4 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved:
                    Imported:
                    Indexed: