RFR 8218875: Add new FileSystems.newFileSystem methods

Lance Andersen lance.andersen at oracle.com
Wed Feb 20 18:46:59 UTC 2019


> On Feb 20, 2019, at 1:32 PM, Langer, Christoph <christoph.langer at sap.com> wrote:
> 
> Good. Now you can go and change all places where you call newFileSystem(Path, (ClassLoader)null) to newFileSystem(Path) ��

Lol.  Yes I thought about that, but want to finalize whether we are going with  FileSystems::newFileSystem vs FileSystems::of  prior to doing that.


>  
> From: Lance Andersen <lance.andersen at oracle.com <mailto:lance.andersen at oracle.com>> 
> Sent: Mittwoch, 20. Februar 2019 19:12
> To: Alan Bateman <Alan.Bateman at oracle.com <mailto:Alan.Bateman at oracle.com>>
> Cc: Langer, Christoph <christoph.langer at sap.com <mailto:christoph.langer at sap.com>>; nio-dev at openjdk.java.net <mailto:nio-dev at openjdk.java.net>
> Subject: Re: RFR 8218875: Add new FileSystems.newFileSystem methods
>  
>  
> On Feb 20, 2019, at 11:41 AM, Alan Bateman <Alan.Bateman at oracle.com <mailto:Alan.Bateman at oracle.com>> wrote:
>  
> On 20/02/2019 13:17, Langer, Christoph wrote:
> 
> :
> But, in any case, there's one thing I'm missing: Why don't you add a FileSystems.newFileSystem(Path) method? I think that's the method that people want to call usually when they currently call FileSystems.newFileSystem(Path, (ClassLoader)null)...
> 
> I agree that it's worth considering now, if only because zipfs has got a lot of attention.
>  
> Ok,  http://cr.openjdk.java.net/~lancea/8218875/webrev.01/index.html <http://cr.openjdk.java.net/~lancea/8218875/webrev.01/index.html>  adds it
> 
> 
> 
> -Alan
> 
>  
> <image001.gif> <http://oracle.com/us/design/oracle-email-sig-198324.gif>
> 
>  <http://oracle.com/us/design/oracle-email-sig-198324.gif>Lance Andersen| Principal Member of Technical Staff | +1.781.442.2037
> Oracle Java Engineering 
> 1 Network Drive 
> Burlington, MA 01803
> Lance.Andersen at oracle.com <mailto:Lance.Andersen at oracle.com>
>  
> 
> 
>  

 <http://oracle.com/us/design/oracle-email-sig-198324.gif>
 <http://oracle.com/us/design/oracle-email-sig-198324.gif> <http://oracle.com/us/design/oracle-email-sig-198324.gif>
 <http://oracle.com/us/design/oracle-email-sig-198324.gif>Lance Andersen| Principal Member of Technical Staff | +1.781.442.2037
Oracle Java Engineering 
1 Network Drive 
Burlington, MA 01803
Lance.Andersen at oracle.com <mailto:Lance.Andersen at oracle.com>



-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mail.openjdk.java.net/pipermail/nio-dev/attachments/20190220/44ead5d6/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: oracle_sig_logo.gif
Type: image/gif
Size: 658 bytes
Desc: not available
URL: <https://mail.openjdk.java.net/pipermail/nio-dev/attachments/20190220/44ead5d6/oracle_sig_logo-0001.gif>


More information about the nio-dev mailing list