7029979: (fs) Path.toRealPath(boolean) should be toRealPath(LinkOption...)

Alan Bateman Alan.Bateman at oracle.com
Wed Mar 23 07:16:35 PDT 2011


Rémi Forax wrote:
>
> In my opinion, you should decouple LinkOption from the type used in 
> toRealPath
> to allow to specify any other options (not only link options).
> I propose to introduce PathResolverOption as a supertype of LinkOption
> with toRealPath declared toRealPath(PathResolverOption... options).
Do you have other examples in mind? I'd prefer not introduce another 
type for this and I'm wondering if these other examples are really 
something toRealPath should be supporting or not.

-Alan


More information about the nio-dev mailing list