Objo.
Feedback Forum Docs Objo Studio
Feedback

Bug #496

Random integer APIs fail with Integer.Max

Status
Fixed
Fixed in
v26.6.5
Source discussion
https://forum.objo.dev/d/411-random-number
Last updated
2026-06-21

Upvotes

0 upvotes

Uses your Objo forum account.

Public summary

Random integer generation fails when the caller passes large 64-bit Integer bounds such as Integer.Max. For example, rng.NextInt(0, Integer.Max) throws InvalidArgumentException even though Objo Integer is a signed 64-bit type and the API is documented as accepting Integer min/max bounds.

Objo.

Build apps visually, deploy anywhere.

Feedback is a public read-only status mirror for Objo Studio.