Details

    • Sub-task
    • Status: Closed
    • Major
    • Resolution: Not A Problem
    • None
    • 0.16
    • Tang
    • None

    Description

      Attempt to set a RequiredParameter to null should probably use a default value if available or throw a meaningful exception.

      To reproduce, see the comment to REEF-932

      I modified that patch to include the default value for

      @NamedParameter(default_value = "abc")
        class FooStringness implements Name<String> {
        }
      

      but that code also throws IllegalStateException.

      We probably should use the default value instead and log (a) the warning that the RequiredParameter is set to null (b) the default we use.

      Attachments

        Activity

          People

            Unassigned Unassigned
            dss-2009@yandex.ru Sergey Dudoladov
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: