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

File separator mismatch on Win-64

    XMLWordPrintable

Details

    • b21

    Description

      Four AOT tests has the wrong file separator when run on Windows:

      JavaTest Message: JUnit Failure: itShouldReturnSourceWhenAllIsValid(jdk.tools.jaotc.test.collect.jar.JarSourceProviderTest): expected:<[this/bar]> but was:<[this\bar]>
      java.lang.AssertionError: expected:<[this/bar]> but was:<[this\bar]>

      compiler/aot/jdk.tools.jaotc.test/src/jdk/tools/jaotc/test/collect/ClassSourceTest.java
      compiler/aot/jdk.tools.jaotc.test/src/jdk/tools/jaotc/test/collect/SearchPathTest.java
      compiler/aot/jdk.tools.jaotc.test/src/jdk/tools/jaotc/test/collect/jar/JarSourceProviderTest.java
      compiler/aot/jdk.tools.jaotc.test/src/jdk/tools/jaotc/test/collect/module/ModuleSourceProviderTest.java

      Attachments

        Issue Links

          Activity

            People

              rbackman Rickard Backman (Inactive)
              jwilhelm Jesper Wilhelmsson
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: