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

Optional.of should document throws NPE

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P3 P3
    • 8
    • 8
    • core-libs
    • b112
    • generic
    • generic
    • Verified

      Optional.of throws NullPointerException if the value provided is null. This should be better documented.

            mduigou Mike Duigou
            mduigou Mike Duigou
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: