Skip to content

Regression in TokenBuffer#forceUseOfBigDecimal #5786

@sdeleuze

Description

@sdeleuze

Search before asking

  • I searched in the issues and found nothing similar.

Describe the bug

Ad discussed here, #5667 done between 3.1.0-rc1 and 3.1.0 seems to break TokenBuffer#forceUseOfBigDecimal which is not taken in account anymore.

See

Version Information

3.1.0

Reproduction

See https://github.com/spring-projects/spring-framework/blob/main/spring-web/src/test/java/org/springframework/http/codec/JacksonTokenizerTests.java#L309-L324.

Expected behavior

When TokenBuffer#forceUseOfBigDecimal is used, the number type should be JsonParser.NumberType.BIG_DECIMAL like it was in 3.1.0-rc1.

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions