David M. Lloyd
David M. Lloyd
I've added a 'Previous solutions' section and expanded on a few of the requirements; hopefully that will clarify things.
Here's the current WIP version of the new thread pool extension: https://github.com/dmlloyd/wildfly-core/commit/e5bacff73f. This should be good enough a basis to start working out a test plan, and to get a...
We should coordinate this with the WildFly team since they still rely on it for now.
We should stick with working with `Path` rather than `File` (though we could have convenience wrappers which accept `File` and convert them to `Path`). Recursive directory processing should prefer `SecureDirectoryStream`...
To make matters worse, `SecureDirectoryStream` was not available on Mac until Java 24 AFAIK.
Interestingly, as of Java 26 (maybe), more operations are being added to `SecureDirectoryStream`: https://github.com/openjdk/jdk/pull/26950
One issue I struggled a little bit with is in regards to one detail of copying. Most copy utilities will look at your destination path, and if it's a directory,...
I've looked into this a bit, and here is what I've found: * There are no secure operation to create symbolic links or directories in `SecureDirectoryStream`. There is a somewhat...
I think that pressing this idea as "common sense" distracts from the fact that doing this flattening would be incorrect, even if you hide it behind a mode. The reason...
Any segment with a `.` in it (like a class name or logging category) would not be unambiguously representable.