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

DirectivesParser::test() has output that looks like failure in ExecuteInternalVMTests

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Duplicate
    • Icon: P4 P4
    • 10
    • 9
    • hotspot


      with java -XX:+ExecuteInternalVMTests -version :

      ...
      Running test: TestChunkedList_test()
      Running test: JSONTest::test()
      Running test: Test_log_length()
      Running test: DirectivesParser::test()
      Internal error on line 1 byte 2: Directive missing required match.
        Got EOS.
        At '}'.
      {}
      Internal error on line 1 byte 3: Directive missing required match.
        At '}]'.
      [{}]
      Internal error on line 1 byte 3: Directive missing required match.
        At '},{}]'.
      [{},{}]
      Internal error on line 1 byte 2: Directive missing required match.
        At '},{}'.
      {},{}
      Syntax error on line 2 byte 3: DirectivesParser can only start with an array containing directive objects, or one single directive.
        At '['.
        [
          {
            match: "foo/bar.*",
            inline : "+java/util.*",
            PrintAssembly: true,
            BreakAtExecute: true,
          }
        ]
      ]

      Value error on line 4 byte 20: The key 'PrintInlining' does not allow an array of values.
        At '['.
          PrintInlining: [
            true,
            false
          ],
        }
      ]

      Value error on line 7 byte 9: Method pattern error: Missing leading inline type (+/-)
        At '"foo",'.
              "foo",
              "bar",
            ]
          }
        }
      ]

      Value error on line 8 byte 9: Method pattern error: Missing leading inline type (+/-)
        At '"bar",'.
              "bar",
            ]
          }
        }
      ]

      Key error on line 1 byte 7: Key 'c1' not allowed after 'c1' key.
        At 'c1:{c1:{c1:{c1:{c1:{c1:{}}}}}}}}]'.
      [{c1:{c1:{c1:{c1:{c1:{c1:{c1:{}}}}}}}}]
      Value error on line 5 byte 12: Key of type match needs a value of type string
        At 'true,'.
          match: true,
          inline: true,
          enable: true,
          c1: {
            preset: true,
          }
        }
      ]

      ...

            ppunegov Pavel Punegov
            coleenp Coleen Phillimore
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: