summaryrefslogtreecommitdiffstats
path: root/src/java/com/jogamp/gluegen
diff options
context:
space:
mode:
Diffstat (limited to 'src/java/com/jogamp/gluegen')
-rw-r--r--src/java/com/jogamp/gluegen/runtime/ProcAddressTable.java7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/java/com/jogamp/gluegen/runtime/ProcAddressTable.java b/src/java/com/jogamp/gluegen/runtime/ProcAddressTable.java
index 9a05fce..f0be20f 100644
--- a/src/java/com/jogamp/gluegen/runtime/ProcAddressTable.java
+++ b/src/java/com/jogamp/gluegen/runtime/ProcAddressTable.java
@@ -65,9 +65,9 @@ public abstract class ProcAddressTable {
AccessController.doPrivileged(new PrivilegedAction() {
public Object run() {
- DEBUG = (System.getProperty("gluegen.debug.ProcAddressHelper") != null);
+ DEBUG = (System.getProperty("jogamp.debug.ProcAddressHelper") != null);
if (DEBUG) {
- DEBUG_PREFIX = System.getProperty("gluegen.debug.ProcAddressHelper.prefix");
+ DEBUG_PREFIX = System.getProperty("jogamp.debug.ProcAddressHelper.prefix");
}
return null;
}
@@ -90,6 +90,9 @@ public abstract class ProcAddressTable {
public void reset(DynamicLookupHelper lookup) throws RuntimeException {
+ if(null==lookup) {
+ throw new RuntimeException("Passed null DynamicLookupHelper");
+ }
Class tableClass = getClass();
Field[] fields = tableClass.getFields();