aboutsummaryrefslogtreecommitdiffstats
path: root/src/java/com/jogamp/gluegen/runtime/ProcAddressTable.java
diff options
context:
space:
mode:
authorMichael Bien <[email protected]>2010-06-10 18:26:45 +0200
committerMichael Bien <[email protected]>2010-06-10 18:26:45 +0200
commit336ab1ae582753bac4e53e884124c28550a2b0dc (patch)
tree0125c22248112b5fe4804cc8823a4f5b34fb139b /src/java/com/jogamp/gluegen/runtime/ProcAddressTable.java
parentbf388223461ceb1013e893a3e274a98f258dbc5d (diff)
parent1d9b041200dcc44a353706377bfd6ac999a14d7e (diff)
Merge branch 'master' of github.com:mbien/gluegen
Diffstat (limited to 'src/java/com/jogamp/gluegen/runtime/ProcAddressTable.java')
-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();