On Wed, 23 Aug 2023 13:02:37 GMT, Matthias Baesken <mbaes...@openjdk.org> wrote:
> This might be the case, but it is a separate issue. This issue is about > improving the BackingStoreException . Normally I would not even touch the > prefs C code, but converting the errno int into something more 'nice' has to > be done somewhere. The file operations already do this. All I'm saying is that an option here is to change FileSystemPreferences to use FileChannel as that gets rid of the problematic native code that you are wrestling with. The result should be a BackingStoreException with a better exception message if there is an error creating the file lock or the lock op fails. ------------- PR Comment: https://git.openjdk.org/jdk/pull/15308#issuecomment-1689961219