RFR: JDK-8314272: Improve java.util.prefs.BackingStoreException: Couldn't get file lock. [v2]
Matthias Baesken
mbaesken at openjdk.org
Fri Sep 8 07:46:43 UTC 2023
On Fri, 8 Sep 2023 07:19:55 GMT, Alan Bateman <alanb at openjdk.org> wrote:
> we shouldn't be hardcoding the values of error numbers like this.
Then print the good old int value and rely on OS tools to convert this, it is rather easy and available on some distros).
Or move the current error-code handling code from nio to java.base (we have already coding for this in the JDK but cannot use it).
> replace the Unix implementation so that it uses FileChannel/Files
We could do this mid-term in some follow up action.
-------------
PR Comment: https://git.openjdk.org/jdk/pull/15308#issuecomment-1711225903
More information about the core-libs-dev
mailing list