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

Output of some tests contains platform specific line break

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P3
    • 9
    • 9
    • core-libs
    • None
    • b57
    • generic
    • windows

    Backports

      Description

        Output:
        java.lang.AssertionError: Failed executing test test/script/nosecurity/parserapi.js
        at jdk.nashorn.internal.test.framework.ScriptRunnable.runTest(ScriptRunnable.java:77)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:502)
        at org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:80)
        at org.testng.internal.Invoker.invokeMethod(Invoker.java:715)
        at org.testng.internal.Invoker.invokeTestMethod(Invoker.java:907)
        at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:1237)
        at org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:127)
        at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:111)
        at org.testng.TestRunner.privateRun(TestRunner.java:767)
        at org.testng.TestRunner.run(TestRunner.java:617)
        at org.testng.SuiteRunner.runTest(SuiteRunner.java:334)
        at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:329)
        at org.testng.SuiteRunner.privateRun(SuiteRunner.java:291)
        at org.testng.SuiteRunner.run(SuiteRunner.java:240)
        at org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:51)
        at org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:85)
        at org.testng.TestNG.runSuitesSequentially(TestNG.java:1197)
        at org.testng.TestNG.runSuitesLocally(TestNG.java:1122)
        at org.testng.TestNG.run(TestNG.java:1030)
        at org.testng.TestNG.privateMain(TestNG.java:1337)
        at org.testng.TestNG.main(TestNG.java:1306)
        Caused by: java.lang.AssertionError: Test test/script/nosecurity/parserapi.js failed at line 4153 -
          expected: ' "message": "parsernegativetests/caseoutofswitch.js:29:0 Expected an operand but found case/ncase 23:/n^",'
             found: ' "message": "parsernegativetests/caseoutofswitch.js:29:0 Expected an operand but found case/r/ncase 23:/r/n^",'
        at org.testng.Assert.fail(Assert.java:89)
        at jdk.nashorn.internal.test.framework.ScriptRunnable.fail(ScriptRunnable.java:100)
        at jdk.nashorn.internal.test.framework.AbstractScriptRunnable.compare(AbstractScriptRunnable.java:263)
        at jdk.nashorn.internal.test.framework.ScriptRunnable.compare(ScriptRunnable.java:245)
        at jdk.nashorn.internal.test.framework.ScriptRunnable.executeInThisProcess(ScriptRunnable.java:163)
        at jdk.nashorn.internal.test.framework.ScriptRunnable.execute(ScriptRunnable.java:86)
        at jdk.nashorn.internal.test.framework.AbstractScriptRunnable.runTest(AbstractScriptRunnable.java:132)
        at jdk.nashorn.internal.test.framework.ScriptRunnable.runTest(ScriptRunnable.java:75)
        ... 23 more

        Attachments

          Issue Links

            Activity

              People

                slugovoy Sergey Lugovoy (Inactive)
                slugovoy Sergey Lugovoy (Inactive)
                Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved: