AbstractBasicFileAttributeView.java (version 1.5 : 49.0, super bit)
Helmut Schwigon
helmut.schwigon at gmx.de
Fri Feb 6 01:43:34 PST 2009
Hallo,
while testing the package java.nio.file.attribute of the snapshot-release java7(build 98) I detected that is impossible to set any time-attribute to long-values < 0. There is a private method sun.nio.fs.AbstractBasicFileAttributeView.toTimeValue that throws an IllegalArgumentException in this case.
The NTFS file system (f.i.) doesn't make such restriction for the sign of the time-attributes. Therefore negative long-values shouldn't be illegal arguments.
Helmut
--
Jetzt 1 Monat kostenlos! GMX FreeDSL - Telefonanschluss + DSL
für nur 17,95 Euro/mtl.!* http://dsl.gmx.de/?ac=OM.AD.PD003K11308T4569a
More information about the nio-dev
mailing list