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

jdk/jshell/CommandCompletionTest.java failures on Windows

    XMLWordPrintable

Details

    • b27
    • generic
    • windows

    Backports

      Description

        The test jdk/jshell/CommandCompletionTest.java fails on some Windows machines; seems it has problems with UserHome entries :

        test CommandCompletionTest.testUserHome(): failure
        java.lang.AssertionError: Command: /env --class-path ~/3D Objects|, output: []: lists don't have the same size expected [1] but found [0]
                at org.testng.Assert.fail(Assert.java:99)
                at org.testng.Assert.failNotEquals(Assert.java:1037)
                at org.testng.Assert.assertEqualsImpl(Assert.java:140)
                at org.testng.Assert.assertEquals(Assert.java:122)
                at org.testng.Assert.assertEquals(Assert.java:907)
                at org.testng.Assert.assertEquals(Assert.java:1089)
                at CommandCompletionTest.assertCompletion(CommandCompletionTest.java:89)
                at CommandCompletionTest.assertCompletion(CommandCompletionTest.java:83)
                at CommandCompletionTest.lambda$testUserHome$91(CommandCompletionTest.java:356)
                at ReplToolTesting$PromptedCommandOutputStream.write(ReplToolTesting.java:824)
                at java.base/java.io.PrintStream.write(PrintStream.java:537)

        Attachments

          Issue Links

            Activity

              People

                jlahoda Jan Lahoda
                mbaesken Matthias Baesken
                Votes:
                1 Vote for this issue
                Watchers:
                5 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved: