Uploaded image for project: 'Modular Service Container'
  1. Modular Service Container
  2. MSC-256

ServiceBuilderImpl performs null checks on parameters not javadoced as not allowing null

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Minor Minor
    • 1.4.13.Final
    • None
    • None
    • None

      See JBEAP-17815 for background.

      The root of that issue is in MSC-240 some assertions were added to ServiceBuilderImpl to fail invocations if params were null, replacing a previous 'if x == null then do nothing' approach. Since those assertions have been around for a long time now and are reasonable, I think it's fine they stay, but the javadoc for the ServiceBuilder API should note that the params cannot be null.

              ropalka Richard Opalka
              bstansbe@redhat.com Brian Stansberry
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: