I accidentally passed a null to setProperty() and got an NPE. Okay. The
javadoc says this method relies on Hashtable, which, in turn, is documented
to throw an NPE when put() key/value is null. So, since setProperty()
bubbles up the exception, I think this method should gain a @throws tag to
make the exception explicit.

Worth creating a JIRA for this? (I don't have a JIRA account)

Cheers,
Paul

Reply via email to