<AWT Dev> Regarding com.apple.eio.FileManager and JEP 272

Anthony Vanelverdinghe anthony.vanelverdinghe at gmail.com
Sun Feb 19 20:26:03 UTC 2017


There's an issue specifically for application data:
     JDK-8024029 Need a method to query app data directory [1]
and an issue for the generic case of OS-specific paths to common locations:
     JDK-8154129 (fs) Shell file system provider [2]

Hope this helps,

[1] https://bugs.openjdk.java.net/browse/JDK-8024029
[2] https://bugs.openjdk.java.net/browse/JDK-8154129

On 19/02/2017 18:24, Andrew Thompson wrote:
> Hi,
> I've been browsing through the docs and commits for JEP 272, the Desktop and Taskbar enhancements intended to replace, extend and take cross platform the old com.apple.eio and eawt classes.
> All in all excellent work. It is great to see these capabilities in true cross platform Java code.
> Along the way three things seem to have been lost:
> 1. A replacement for FileManager.findFolder
> 2. Extended File attributes for creator code and type
> 3. Gesture support.
> Of these three #1, findFolder is the most interesting to me. The ability to look up common user folders (home, application support, preference files) in a cross platform way seems like a great facility to have for writing truly native feeling desktop apps, and there isn't really a good workaround except for hard coding platform specific knowledge.
> Did I miss a replacement or was a ticket entered to address it later?
> Andrew

More information about the awt-dev mailing list