RFR: 8220687: Change signature of StandardJavaFileManager.getJavaFileObjectsFromPaths

Liam Miller-Cushon cushon at google.com
Fri Mar 15 01:19:34 UTC 2019


Hi,

This change adds a getJavaFileObjectsFromPaths(Collection<Path>) method,
and deprecates the existing getJavaFileObjectsFromPaths(Iterable<Path>).
The motivation is the same as JDK-8150111, which made a similar change to
setLocationFromPaths: methods that take Iterable<Path> are error-prone
since Path itself implements Iterable<Path>.

I have two initial questions: do you think this is worthwhile, and if so
what's the correct process (should I file a CSR?).

bug: https://bugs.openjdk.java.net/browse/JDK-8220687
webrev: http://cr.openjdk.java.net/~cushon/8220687/webrev.00/

Thanks,
Liam
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mail.openjdk.java.net/pipermail/compiler-dev/attachments/20190314/c9182344/attachment.html>


More information about the compiler-dev mailing list