projects
/
org.ibex.core.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
ad16fb8
)
JSReflection now handles null properly
author
adam
<adam@megacz.com>
Tue, 29 Jun 2004 02:22:59 +0000
(
02:22
+0000)
committer
adam
<adam@megacz.com>
Tue, 29 Jun 2004 02:22:59 +0000
(
02:22
+0000)
darcs-hash:
20040629022259
-5007d-
8e5fe8788d45dbec907c67365b92b7cdd9151efc
.gz
src/org/ibex/js/JSReflection.java
patch
|
blob
|
history
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;