The GitHub Actions job "gradle in /grails-forge - Update #1551666183" on grails-core.git/7.0.x has failed. Run started by GitHub user dependabot[bot] (triggered by dependabot[bot]).
Head commit for run: 2f7a097e2473d4cbf85b178bb157fe9b3e4e31c1 / Walter B Duque de Estrada <[email protected]> Fix JsonScanner number parsing for bare exponents and -Infinity (#16284) Two bugs found while adding test coverage for JsonReader/JsonWriter on 8.1.x, cherry-picked here since JsonScanner is unchanged since 7.0.x: - SAW_EXPONENT_DIGITS was the only numeric scanner state whose terminator switch omitted an explicit end-of-input case (every sibling state treats EOF the same as a closing delimiter), so a bare exponent-notation number with nothing following it (e.g. a top-level "1e2") threw JsonParseException instead of parsing. - SAW_MINUS_I appended the character it read on every iteration of its "-Infinity" match loop, including the terminator character read immediately after matching the literal's final 'y' - so the buffer handed to Double.parseDouble always carried one extra trailing character, and "-Infinity" failed to parse in every context (end-of-input, before a comma, before a closing bracket). This branch has no prior JsonReader test coverage, so a minimal JsonReaderSpec is added here with just the two regression tests - broader JsonReader/JsonWriter coverage exists only on 8.1.x. Claude-Session: https://claude.ai/code/session_01QAjfckcY4EJsxranv1RyGV Co-authored-by: Claude Sonnet 5 <[email protected]> Report URL: https://github.com/apache/grails-core/actions/runs/33604915744 With regards, GitHub Actions via GitBox
