зеркало из https://github.com/mozilla/pluotsorbet.git
Merge pull request #1029 from marco-c/remove_duplicate_native
Remove duplicate native (already implemented in bindings.ts)
This commit is contained in:
Коммит
362a029690
|
@ -280,13 +280,6 @@ Native["java/lang/Object.getClass.()Ljava/lang/Class;"] = function() {
|
|||
return J2ME.getRuntimeKlass($.ctx.runtime, this.klass).classObject;
|
||||
};
|
||||
|
||||
Native["java/lang/Object.hashCode.()I"] = function() {
|
||||
var hashCode = this.hashCode;
|
||||
while (!hashCode)
|
||||
hashCode = this.hashCode = util.id();
|
||||
return hashCode;
|
||||
};
|
||||
|
||||
Native["java/lang/Object.wait.(J)V"] = function(timeout) {
|
||||
$.ctx.wait(this, timeout.toNumber());
|
||||
};
|
||||
|
|
Загрузка…
Ссылка в новой задаче