Integrated: 2277: Integer Overflow when parsing GitHub comment id

Zhao Song zsong at openjdk.org
Tue Jun 4 15:58:23 UTC 2024


When parsing the comment id from Github, skara bot would convert the JSONValue to integer, then convert integer to string and now this is causing integer overflow.

I thought we should just convert it from JSONValue to String.
But Erik pointed out this won't work. We should convert it to long and convert long to string

-------------

Commit messages:
 - Use Long
 - SKARA-2277

Changes: https://git.openjdk.org/skara/pull/1655/files
  Webrev: https://webrevs.openjdk.org/?repo=skara&pr=1655&range=00
  Issue: https://bugs.openjdk.org/browse/SKARA-2277
  Stats: 1 line in 1 file changed: 0 ins; 0 del; 1 mod
  Patch: https://git.openjdk.org/skara/pull/1655.diff
  Fetch: git fetch https://git.openjdk.org/skara.git pull/1655/head:pull/1655

PR: https://git.openjdk.org/skara/pull/1655


More information about the skara-dev mailing list