RFR: JDK-8314272: Improve java.util.prefs.BackingStoreException: Couldn't get file lock. [v2]

Alan Bateman alanb at openjdk.org
Fri Sep 1 13:30:41 UTC 2023


On Fri, 1 Sep 2023 13:10:19 GMT, Matthias Baesken <mbaesken at openjdk.org> wrote:

> Hi Alan , Your assumption 'I assume the use of System.getProperty is problematic when running with a SM.' is most likely correct.

You'll need to test with a SM that denies reading the system property to be sure. There are classes in many tool APIs (you've listed some) where this doesn't arise.

In any case, I assume this lookup will go away once you replace this method.

-------------

PR Comment: https://git.openjdk.org/jdk/pull/15308#issuecomment-1702749867


More information about the core-libs-dev mailing list