diff --git a/core/src/processing/opengl/PGraphicsOpenGL.java b/core/src/processing/opengl/PGraphicsOpenGL.java index 383581140..368be4a50 100644 --- a/core/src/processing/opengl/PGraphicsOpenGL.java +++ b/core/src/processing/opengl/PGraphicsOpenGL.java @@ -53,7 +53,8 @@ public class PGraphicsOpenGL extends PGraphics { // Using the technique alternative to finalization described in: // http://www.oracle.com/technetwork/articles/java/finalization-137655.html static private ReferenceQueue refQueue = new ReferenceQueue<>(); - static private List> reachableWeakReferences = new LinkedList<>(); + private static List> reachableWeakReferences = + new LinkedList<>(); static final private int MAX_DRAIN_GLRES_ITERATIONS = 10;