Skip to content

Add YAML non-finite number regression test for #1228 - #1282

Merged
stevehu merged 1 commit into
masterfrom
issue1228
Sep 15, 2026
Merged

stevehu merged 1 commit into
masterfrom
issue1228

Conversation

@stevehu

@stevehu stevehu commented Sep 15, 2026

Copy link
Copy Markdown
Contributor

Adds Issue1228Test, covering YAML .nan, .inf and -.inf through the default YAML mapper.

Test contributed by @patpatpat123 in #1228.

Refs #1228

🤖 Generated with Claude Code

https://claude.ai/code/session_01XJ3SkCprrZVpASPFMADg1h

Jackson 3.2 parses YAML .nan/.inf/-.inf as numeric values, and #1241
already handles non-finite numbers during validation. Cover the default
YAML mapper path so these inputs keep producing a type error instead of
a parser exception.

Test contributed by @patpatpat123 in #1228.

Co-Authored-By: Claude Opus 5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01XJ3SkCprrZVpASPFMADg1h
@stevehu
stevehu merged commit 3c433c4 into master Sep 15, 2026
3 checks passed
@stevehu
stevehu deleted the issue1228 branch September 15, 2026 14:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant