Adding Path-based constructors to various classes

Andrew Luo andrewluotechnologies at
Tue Dec 18 00:12:00 UTC 2018

Many classes such as:

have constructors that use the File API or String but no constructor that takes Path.  Is there any interest in adding these?  The reason I ask this is because we now encourage new code to use Path instead of File, so having to do .toFile() in many places can seems unnecessary.  Then again, this is a minor annoyance, but I think it is a useful addition.  What do you guys think?



More information about the core-libs-dev mailing list