Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8282143

Objects.requireNonNull should be ForceInline

    XMLWordPrintable

Details

    • b12

    Backports

      Description

        Objects.requireNonNull is used to be sure that an object is guaranteed to be non-null, the check itself is often elided so the method after being inlined imposes no cost.

        Attachments

          Issue Links

            Activity

              People

                psandoz Paul Sandoz
                qamai Quan Anh Mai
                Votes:
                0 Vote for this issue
                Watchers:
                6 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved: