On Wed, 11 Jan 2023 18:41:59 GMT, altrisi <d...@openjdk.org> wrote: > Why not just `true` and `false`? Autoboxing handles that.
That was a topic that was talked about in [8299498](https://github.com/openjdk/jdk/pull/11912). It seemed that there was a consensus from a documentation standpoint that it was more clear to use the wrapper methods/fields (valueOf() or in this case Boolean.TRUE) ------------- PR: https://git.openjdk.org/jdk/pull/11872