RFR: 8342456: Remove calls to doPrivileged in javafx.graphics/other [v2]

Lukasz Kostyra lkostyra at openjdk.org
Fri Nov 1 09:37:25 UTC 2024


On Thu, 31 Oct 2024 15:16:00 GMT, Glavo <duke at openjdk.org> wrote:

>> Lukasz Kostyra has updated the pull request incrementally with one additional commit since the last revision:
>> 
>>   Scene: Remove missed doPrivileged use
>
> modules/javafx.graphics/src/main/java/com/sun/prism/es2/GLPixelFormat.java line 35:
> 
>> 33:     private long nativePFInfo;
>> 34:     private static int defaultDepthSize;
>> 35:     private static int defaultBufferSize;
> 
> private static final int defaultDepthSize = Integer.getInteger("prism.glDepthSize", 24);
> private static final int defaultBufferSize = Integer.getInteger("prism.glBufferSize", 32);

Done

> modules/javafx.graphics/src/main/java/javafx/scene/Scene.java line 1445:
> 
>> 1443:         }
>> 1444: 
>> 1445:         snapshotRunnableList.add(() -> {
> 
> snapshotRunnableList.add(runnable);

Done

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

PR Review Comment: https://git.openjdk.org/jfx/pull/1619#discussion_r1825624992
PR Review Comment: https://git.openjdk.org/jfx/pull/1619#discussion_r1825628703


More information about the openjfx-dev mailing list