new File(parent, child) when child is absolute (original) (raw)
Weijun Wang weijun.wang at oracle.com
Sat Apr 27 03:14:58 UTC 2013
- Previous message: RFR : 7178639 : (XXS) Remove incorrect documentation from Deque.push(E e)
- Next message: new File(parent, child) when child is absolute
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
I thought that in this case parent is just ignored and it's still the child itself. Turns out this is not true, and
new File("/tmp", "/etc/passwd") is /tmp/etc/passwd
Is this really useful in any way?
Thanks Max
- Previous message: RFR : 7178639 : (XXS) Remove incorrect documentation from Deque.push(E e)
- Next message: new File(parent, child) when child is absolute
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]