On Mon, 8 Feb 2021 18:47:09 GMT, Sergey Bylokhov <s...@openjdk.org> wrote:

>> src/java.desktop/macosx/native/libawt_lwawt/java2d/metal/MTLGraphicsConfig.m 
>> line 82:
>> 
>>> 80:     (JNIEnv *env, jclass mtlgc)
>>> 81: {
>>> 82:     FILE *f = popen("/usr/sbin/system_profiler SPDisplaysDataType", 
>>> "r");
>> 
>> How robust is this? It seems like the contents of this could be an 
>> implementation detail and subject to change. Is it documented by Apple?
>
> I suggest fixing this before the integration.

Fixed with JDK-8259825.

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

PR: https://git.openjdk.java.net/jdk/pull/2403

Reply via email to