Skip to content

Enable StrictNullChecks by default #886

Closed

Description

@k163377

Previously, the StrictNullChecks option was disabled by default, which compromised null safety.
Therefore, I propose to enable this option by default in 3.0.

As a side note, since 2.19, improvements in #885 have significantly reduced the throughput degradation when the StrictNullChecks option is enabled, and the deserialization performance is almost the same as when it is disabled.
Thus, performance concerns have at least been addressed.

Please vote with 👍 or 👎.

Activity

  1. added
    3.x
    on Jan 19, 2025
  2. cowtowncoder commented on Jan 19, 2025

    @cowtowncoder
    Member

    @k163377 I'll update https://github.com/FasterXML/jackson-future-ideas/wiki/JSTEP-2 and add an entry or two from here. But going forward maybe you can add links from there?

  3. k163377 commented on Jan 20, 2025

    @k163377
    ContributorAuthor

    @cowtowncoder
    Thank you, I will do so.

  4. k163377 commented on Mar 22, 2025

    @k163377
    ContributorAuthor

    The change have been reflected (sorry for not making it to RC1 in time).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    3.x

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions