opened
jacobperron
username_0
This fixes two issues:

1. The default constructor for ParameterAndDescriptor initializes it's members to null.
  This can cause a segfault when trying to access a parameters descriptor if undeclared
  parameters are allowed and it has been set without a descriptor
  (e.g. using setParameters()).

  This change defines the constructor for ParameterAndDescriptor so that we don't hit
  any null values.

2. Parameters that are not declared and set with setParameters() do not have their
  descriptors set to the correct value.
  This change makes sure that the descriptor is initialized with the values of the
   parameter being set.
Fix issues with parameters descriptors
issue
created
jacobperron
username_0
Though there are no explicit tests covering these cases, the tests introduced in https://github.com/osrf/ros2_java/pull/48 caused both of these issues to surface, so at least it's covered.
comment