projects
/
org.ibex.core.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
give an error when trying to trap private variables
[org.ibex.core.git]
/
src
/
org
/
ibex
/
js
/
JSReflection.java
diff --git
a/src/org/ibex/js/JSReflection.java
b/src/org/ibex/js/JSReflection.java
index
070a35b
..
69fb9b3
100644
(file)
--- a/
src/org/ibex/js/JSReflection.java
+++ b/
src/org/ibex/js/JSReflection.java
@@
-10,6
+10,7
@@
import java.lang.reflect.*;
public class JSReflection extends JS {
public static Object wrap(Object o) throws JSExn {
+ if (o == null) return null;
if (o instanceof String) return o;
if (o instanceof Boolean) return o;
if (o instanceof Number) return o;