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

compiler/compilercontrol/parser/DirectiveParserTest.java fails with "assert failed: 0 != 0"

XMLWordPrintable

    • b112

      The test compiler/compilercontrol/parser/DirectiveParserTest.java fails:

      java.lang.RuntimeException: VM should exit with error on incorrect JSON file: empty array (assert failed: 0 != 0)
      at jdk.test.lib.Asserts.error(Asserts.java:447)
      at jdk.test.lib.Asserts.assertTrue(Asserts.java:374)
      at jdk.test.lib.Asserts.assertFalse(Asserts.java:353)
      at jdk.test.lib.Asserts.assertNotEquals(Asserts.java:292)
      at jdk.test.lib.Asserts.assertNE(Asserts.java:266)
      at compiler.compilercontrol.parser.DirectiveParserTest.arrayTest(DirectiveParserTest.java:111)
      at compiler.compilercontrol.parser.DirectiveParserTest.main(DirectiveParserTest.java:49)
      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:520)
      at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:110)
      at java.lang.Thread.run(Thread.java:804)

      JavaTest Message: Test threw exception: java.lang.RuntimeException: VM should exit with error on incorrect JSON file: empty array (assert failed: 0 != 0)
      JavaTest Message: shutting down test

            neliasso Nils Eliasson (Inactive)
            zmajo Zoltan Majo (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: