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

NonNull annotation is unused and should be removed

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Fixed
    • Icon: P4 P4
    • 8
    • fx2.1
    • javafx

      This has been there forever, used in the Lombok days. The NonNull annotation is not presently in use. However it is in com.sun space, and it also has Class retention, meaning that if it were ever used accidentally, then we'd have some private API leaked in a way that people could detect and rely on. It should therefore be removed.

            rbair Richard Bair (Inactive)
            rbair Richard Bair (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported: