RFR: JDK-8314272: Improve java.util.prefs.BackingStoreException: Couldn't get file lock. [v2]
Brent Christian
bchristi at openjdk.org
Fri Sep 8 18:47:41 UTC 2023
On Fri, 8 Sep 2023 08:03:51 GMT, Alan Bateman <alanb at openjdk.org> wrote:
> > We could do this mid-term in some follow up action.
>
> It shouldn't be hard to try it. If it works out then it would mean this old crufty code goes away and the JDK is in a better place. If it doesn't work out then the a plan B would be to add to have lockFile0 throw with a useful exception.
I would also like to see what a FileChannel implementation looks like.
Am I right that this would allow the `prefs` native library to be removed entirely?
-------------
PR Comment: https://git.openjdk.org/jdk/pull/15308#issuecomment-1712087144
More information about the core-libs-dev
mailing list