• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

eclipse-aascw / aas-core-codegen / 35298544509
90%

Build:
DEFAULT BRANCH: main
Ran 18 Sep 2026 02:18AM UTC
Jobs 3
Files 264
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

18 Sep 2026 02:14AM UTC coverage: 85.798% (+0.02%) from 85.779%
35298544509

push

github

web-flow
Reject non-finite floats in the Java JSON (#717)

JSON knows neither an infinity nor a not-a-number. Up to now the Java
jsonization handed both to Jackson, which writes them out as the quoted
strings `"NaN"` and `"Infinity"` -- valid JSON, but no longer a number,
and no parser reads them back as one.

`doubleToJsonNode` refuses a non-finite value. `longToJsonNode` -- which
used to be `toJsonNode` -- refuses an integer outside
[-2^53 + 1, 2^53 - 1], and no longer throws a bare
`IllegalArgumentException` with no path. Mind that this also *changes*
which integers are refused: the previous round-trip check,
`(long)((double)that) != that`, admitted 9007199254740994, as that one
happens to be exactly representable, where C++ and Go refuse it. The
range is now spelled the same way in every target.

`tryDoubleFrom` asks for a number, and no longer for a floating-point
number: JSON has a single number type, so `3` is every bit as good
a double as `3.0` is, and every other SDK reads it as one. It rejects
a non-finite value as well -- Jackson parses those when
`JsonReadFeature.ALLOW_NON_NUMERIC_NUMBERS` is enabled, and the caller
hands us an already-parsed `JsonNode` in any case.

64 of 64 new or added lines in 2 files covered. (100.0%)

34719 of 40466 relevant lines covered (85.8%)

2.57 hits per line

Jobs
ID Job ID Ran Files Coverage
1 3.11 - 35298544509.1 18 Sep 2026 02:22AM UTC 264
85.8
GitHub Action Run
2 3.10 - 35298544509.2 18 Sep 2026 02:22AM UTC 264
85.8
GitHub Action Run
3 3.12 - 35298544509.3 18 Sep 2026 02:22AM UTC 264
85.8
GitHub Action Run
Source Files on build 35298544509
  • Tree
  • List 264
  • Changed 2
  • Source Changed 0
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • 5435a93c on github
  • Prev Build on main (#35297640074)
  • Next Build on main (#35319779908)
  • Delete
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc