Javadoc does not specify... Is null allowed in Files.setAttribute() as an attribute value?

Colin Decker cgdecker at google.com
Mon Dec 8 18:10:30 UTC 2014


On Mon Dec 08 2014 at 10:39:32 AM Francis Galiegue <fgaliegue at gmail.com>
wrote:
>
> OK, then I rephrase my question: why isn't JSR 305 in the JDK? It has
> been there for a handful of years, is well specified, is used by a
> good number of very useful tools, is immensely useful as
> documentation, yet it isnt there.


I don't think JSR 305 is well-specified. There isn't even Javadoc for most
of the annotations. There are differing interpretations of its annotations,
particularly with regard to things like what @Nullable on a parameter of an
interface method means (do all implementations of that interface have to
accept null?). Not to mention that type annotations change things quite a
bit.

--
> Francis Galiegue, fgaliegue at gmail.com, https://github.com/fge
> JSON Schema in Java: http://json-schema-validator.herokuapp.com
> Parsers in pure Java: https://github.com/parboiled1/grappa (redde
> Caesaris: https://github.com/sirthias)
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.openjdk.java.net/pipermail/nio-dev/attachments/20141208/20d4609e/attachment.html>


More information about the nio-dev mailing list