summaryrefslogtreecommitdiffstats
path: root/src/jogl
diff options
context:
space:
mode:
Diffstat (limited to 'src/jogl')
-rw-r--r--src/jogl/classes/jogamp/opengl/awt/AWTUtil.java12
-rw-r--r--src/jogl/classes/jogamp/opengl/awt/Java2D.java2
2 files changed, 7 insertions, 7 deletions
diff --git a/src/jogl/classes/jogamp/opengl/awt/AWTUtil.java b/src/jogl/classes/jogamp/opengl/awt/AWTUtil.java
index 29328f216..51143ab51 100644
--- a/src/jogl/classes/jogamp/opengl/awt/AWTUtil.java
+++ b/src/jogl/classes/jogamp/opengl/awt/AWTUtil.java
@@ -58,8 +58,8 @@ public class AWTUtil {
if(!headlessMode) {
try {
j2dClazz = Class.forName("jogamp.opengl.awt.Java2D");
- isOGLPipelineActive = j2dClazz.getMethod("isOGLPipelineActive", null);
- isQueueFlusherThread = j2dClazz.getMethod("isQueueFlusherThread", null);
+ isOGLPipelineActive = j2dClazz.getMethod("isOGLPipelineActive", (Class[])null);
+ isQueueFlusherThread = j2dClazz.getMethod("isQueueFlusherThread", (Class[])null);
j2dOk = true;
} catch (Exception e) {}
}
@@ -82,8 +82,8 @@ public class AWTUtil {
if(j2dOk) {
try {
- if( !((Boolean)isOGLPipelineActive.invoke(null, null)).booleanValue() ||
- !((Boolean)isQueueFlusherThread.invoke(null, null)).booleanValue() ) {
+ if( !((Boolean)isOGLPipelineActive.invoke(null, (Object[])null)).booleanValue() ||
+ !((Boolean)isQueueFlusherThread.invoke(null, (Object[])null)).booleanValue() ) {
JAWTUtil.lockToolkit();
}
} catch (Exception e) { j2dOk=false; }
@@ -105,8 +105,8 @@ public class AWTUtil {
if(j2dOk) {
try {
- if( !((Boolean)isOGLPipelineActive.invoke(null, null)).booleanValue() ||
- !((Boolean)isQueueFlusherThread.invoke(null, null)).booleanValue() ) {
+ if( !((Boolean)isOGLPipelineActive.invoke(null, (Object[])null)).booleanValue() ||
+ !((Boolean)isQueueFlusherThread.invoke(null, (Object[])null)).booleanValue() ) {
JAWTUtil.unlockToolkit();
}
} catch (Exception e) { j2dOk=false; }
diff --git a/src/jogl/classes/jogamp/opengl/awt/Java2D.java b/src/jogl/classes/jogamp/opengl/awt/Java2D.java
index d57cde12a..e240169e1 100644
--- a/src/jogl/classes/jogamp/opengl/awt/Java2D.java
+++ b/src/jogl/classes/jogamp/opengl/awt/Java2D.java
@@ -265,7 +265,7 @@ public class Java2D {
checkActive();
try {
- return ((Boolean) isQueueFlusherThreadMethod.invoke(null, null)).booleanValue();
+ return ((Boolean) isQueueFlusherThreadMethod.invoke(null, (Object[])null)).booleanValue();
} catch (InvocationTargetException e) {
throw new GLException(e.getTargetException());
} catch (Exception e) {