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 (parent:
f640a0e
)
fix infinite loop
author
crawshaw
<crawshaw@ibex.org>
Sat, 8 Jan 2005 10:05:24 +0000
(10:05 +0000)
committer
crawshaw
<crawshaw@ibex.org>
Sat, 8 Jan 2005 10:05:24 +0000
(10:05 +0000)
darcs-hash:
20050108100524
-2eb37-
98c4075c9104be4547a1972924ebe338c7665ec1
.gz
src/org/ibex/core/Ibex.java
patch
|
blob
|
history
diff --git
a/src/org/ibex/core/Ibex.java
b/src/org/ibex/core/Ibex.java
index
a157239
..
7b27d14
100644
(file)
--- a/
src/org/ibex/core/Ibex.java
+++ b/
src/org/ibex/core/Ibex.java
@@
-380,7
+380,7
@@
public final class Ibex extends JS.Obj implements JS.Cloneable {
}
public static Blessing getBlessing(JS js) {
// CHECKME: is unclone() good enough or do we need getClonee() in Cloneable?
}
public static Blessing getBlessing(JS js) {
// CHECKME: is unclone() good enough or do we need getClonee() in Cloneable?
- while (js instanceof JS.Cloneable && !(js instanceof Blessing)) js = js.unclone();
+ while (js instanceof JS.Clone && !(js instanceof Blessing)) js = js.unclone();
if (!(js instanceof Blessing)) return null;
return (Blessing)js;
}
if (!(js instanceof Blessing)) return null;
return (Blessing)js;
}