7076310: (file) AclEntry.Builder setFlags throws IllegalArgumentException if set argument is empty

Alan Bateman Alan.Bateman at oracle.com
Thu Dec 22 01:54:17 PST 2011


On 21/12/2011 21:57, Stephen Flores wrote:
> :
>
> I was confused, I thought you wanted a file named AclEntry, but you 
> want a subdirectory named AclEntry, OK. My last bug with regex.Pattern 
> had the test in the "regex" subdirectory at the same level as the 
> Pattern class, not in a Pattern subdirectory, so I put the 
> AclEntryBuilderSetFlags test in the attributes which is at the same 
> level as the AclEntry class. Are the test subdirectory levels 
> different for nio than for other packages or is this a new standard 
> for packages going forward?
The tests are generally organized in directories that correspond to the 
API/area that they are testing. In some areas then it goes down to the 
class level, in other areas then all tests for the classes in a package 
are in the same directory. The main thing is to be locally consistent.

-Alan.


More information about the nio-dev mailing list