RFR: 8059976 Convert JavacFileManager to use java.nio.file internally
Liam Miller-Cushon
cushon at google.com
Mon Dec 7 21:09:42 UTC 2015
On Tue, Aug 25, 2015 at 4:42 PM, Jonathan Gibbons <
jonathan.gibbons at oracle.com> wrote:
> I'd be particularly interested in feedback from folk developing custom
> file managers based on top of nio FileSystems.
Sorry for the belated feedback. I just migrated some tests from
JavacPathFileManager to use these changes, and the only issue I encountered
is that JavacFileManager#asPath doesn't handle PathFileObjects. I think
it's just missing:
} else if (file instanceof PathFileObject) {
return ((PathFileObject) file).getPath();
Everything else looks great.
Thanks!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.openjdk.java.net/pipermail/compiler-dev/attachments/20151207/4b4ab30c/attachment.html>
More information about the compiler-dev
mailing list