зеркало из https://github.com/mozilla/pluotsorbet.git
Use a more reliable way of creating ad-hoc class infos.
(cherry picked from commit 6d8e1eea11
)
This commit is contained in:
Родитель
330a32cf82
Коммит
e461e69def
|
@ -360,7 +360,7 @@ Native["java/lang/Class.newInstance.()Ljava/lang/Object;"] = function() {
|
|||
name: "ClassNewInstanceSynthetic",
|
||||
signature: "()Ljava/lang/Object;",
|
||||
isStatic: true,
|
||||
classInfo: Object.create(J2ME.ClassInfo.prototype, {
|
||||
classInfo: J2ME.ClassInfo.createFromObject({
|
||||
className: {value: className},
|
||||
vmc: {value: {}},
|
||||
vfc: {value: {}},
|
||||
|
@ -552,7 +552,7 @@ Native["java/lang/Thread.start0.()V"] = function() {
|
|||
var syntheticMethod = new MethodInfo({
|
||||
name: "ThreadStart0Synthetic",
|
||||
signature: "()V",
|
||||
classInfo: Object.create(J2ME.ClassInfo.prototype, {
|
||||
classInfo: J2ME.ClassInfo.createFromObject({
|
||||
className: {value: this.klass.classInfo.className},
|
||||
vmc: {value: {}},
|
||||
vfc: {value: {}},
|
||||
|
|
Загрузка…
Ссылка в новой задаче