What should Path.getAttribute(null) do?

Joel Uckelman uckelman at nomic.net
Fri Nov 6 11:33:33 PST 2009


What should Path.getAttribute(null) do? Plausible options seem to be:

1. Throw an IllegalArgumentException.
2. Throw a NullPointerException.
3. Return null.

The docs don't specify any behavior.

-- 
J.


More information about the nio-dev mailing list