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

(opt) reorganize tests for java.util.Optional

    Details

    • Type: Enhancement
    • Status: Resolved
    • Priority: P4
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 11
    • Component/s: core-libs
    • Subcomponent:
    • Resolved In Build:
      b08

      Description

      The tests for java.util.Optional are somewhat disorganized and are hard to maintain. The assertions for empty and present Optionals should be gathered into common methods, and the tests for the various Optional factories and operations should be rearranged to use the common methods.

        Attachments

          Activity

            People

            • Assignee:
              smarks Stuart Marks
              Reporter:
              smarks Stuart Marks
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: