Skip to content

JSONTestSuite has 2 failures out of 318 tests - is this a back port regression? #16

@simbo1905

Description

@simbo1905

On branch json-test-suite running:

mvn test -pl json-compatibility-suite

gives:

[ERROR]   Run 256: JsonTestSuiteTest.lambda$createTest$0:49 [File y_object_duplicated_key.json should parse successfully] 
Expecting code not to raise a throwable but caught
  "jdk.sandbox.java.util.json.JsonParseException: The duplicate member name: "a" was already parsed. Location: row 0, col 12.
...
[ERROR]   Run 257: JsonTestSuiteTest.lambda$createTest$0:49 [File y_object_duplicated_key_and_value.json should parse successfully] 
Expecting code not to raise a throwable but caught
  "jdk.sandbox.java.util.json.JsonParseException: The duplicate member name: "a" was already parsed. Location: row 0, col 12.

The other tests pass. Not sure if this is a back port but or expected of upstream.

Metadata

Metadata

Assignees

No one assigned

    Labels

    questionFurther information is requested

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions