RFR: 8301302: Platform preferences API [v32]

Michael Strauß mstrauss at openjdk.org
Wed Nov 29 22:15:10 UTC 2023


On Wed, 29 Nov 2023 22:03:49 GMT, Kevin Rushforth <kcr at openjdk.org> wrote:

> I did a quick test instrumenting the destructor with print statements, and I'm pretty sure I know why it's crashing. You don't initialize `preferences` in the constructor, so the null check in the destructor is reading uninitialized data in case the preferences are never created. if you add `, preferences(NULL)` that should fix it.

Good catch, I've changed it accordingly.

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

PR Comment: https://git.openjdk.org/jfx/pull/1014#issuecomment-1832784019


More information about the openjfx-dev mailing list