projects
/
org.ibex.core.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fix infinite loop
[org.ibex.core.git]
/
src
/
org
/
ibex
/
core
/
Ibex.java
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;
}