[8u] RFR Backport of 8203324: Use out of scope in getMacOSXLocale of java_props_macosx.c:120

Simon Tooke stooke at redhat.com
Tue Aug 20 13:49:47 UTC 2019

Backport request

I would like to request a backport of 8203324: (Use out of scope in
getMacOSXLocale of java_props_macosx.c:120).

This backport would increase buildability with newer toolchains on macOS

The original patch does not import cleanly, because another issue [1]
partially addressed the problem.  There are two buffers that have the
same use-out-of-scope issue.  My patch addresses both buffers.  I am not
suggesting backporting the entire fix for 8160199, as it could involve a
change in behaviour to user code.

Thank you for your time,


bug: https://bugs.openjdk.java.net/browse/JDK-8203324

original patch: http://hg.openjdk.java.net/jdk/jdk/rev/01e4ddc3c23f

modified webrev: 

[1] https://bugs.openjdk.java.net/browse/JDK-8160199

More information about the jdk8u-dev mailing list