Skip to content

BBC: Blead breaks JSON::XS #23053

Closed
@eserte

Description

@eserte

The testsuite of MLEHMANN/JSON-XS-4.03.tar.gz started to fail on all systems since perl 5.41.9: http://matrix.cpantesters.org/?dist=JSON-XS+4.03

I looked into the t/01_utf8.t failure and it seems that the test code expects that

JSON::XS->new->allow_nonref (1)->utf8 (1)->decode ('"ü"');

fails with an exception, something like

malformed UTF-8 character in JSON string, at character offset 1 (before "\x{fffd}") at t/01_utf8.t line 17.

Since 5.41.9 this exception does not happen anymore.

There are also two failing test cases in t/02_error.t which I did not looked at thoroughly, but I think it's the same issue.

Metadata

Metadata

Assignees

No one assigned

    Labels

    BBCBlead Breaks CPAN - changes in blead broke a cpan module(s)

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions