Skip to content

Commit

Permalink
JACOBIN-575 Added breadcrumbs for pushing J functions into the GMT at…
Browse files Browse the repository at this point in the history
… class instantiation.
  • Loading branch information
platypusguy committed Jan 14, 2025
1 parent 6f78e5b commit fe58bf6
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/config/buildno.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,4 @@

package config

var BuildNo = 3417
var BuildNo = 3418
4 changes: 2 additions & 2 deletions src/jvm/instantiate.go
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ func InstantiateClass(classname string, frameStack *list.List) (any, error) {
case 'L', '[':
fldValue = object.Null
}
statics.AddStatic(staticName, statics.Static{Type: string(fldType[0]), Value: fldValue}) // CURR
statics.AddStatic(staticName, statics.Static{Type: string(fldType[0]), Value: fldValue})
}
}
} // loop through the fields if any
Expand All @@ -147,7 +147,7 @@ func InstantiateClass(classname string, frameStack *list.List) (any, error) {
// and work our way down to the present class, adding fields to FieldTable.
// so we add the present class into position[0] and then loop through
// the slice of class names
superclasses = append([]string{classname}, superclasses...)
superclasses = append([]string{classname}, superclasses...) // CURR: JACOBIN-575 we need to add methods to GMT
for j := len(superclasses) - 1; j >= 0; j-- {
superclassName := superclasses[j]
c := classloader.MethAreaFetch(superclassName)
Expand Down

0 comments on commit fe58bf6

Please sign in to comment.