Skip to content

Commit

Permalink
JACOBIN-300 Corrected typo
Browse files Browse the repository at this point in the history
  • Loading branch information
platypusguy committed Aug 20, 2023
1 parent e586f2b commit c2a0a31
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/jvm/instantiate.go
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ func instantiateClass(classname string) (*object.Object, error) {
desc := k.Data.CP.Utf8Refs[f.Desc]
name := k.Data.CP.Utf8Refs[f.Name]
if log.Level == log.FINE {
reciteField := fmt.Sprintf("Class: %s ield[%d] name: %s, type: %s", k.Data.Name, i,
reciteField := fmt.Sprintf("Class: %s field[%d] name: %s, type: %s", k.Data.Name, i,
name, desc)
_ = log.Log(reciteField, log.FINE)
}
Expand Down Expand Up @@ -140,6 +140,7 @@ func instantiateClass(classname string) (*object.Object, error) {
obj.FieldTable[name] = *fieldToAdd
} // end of handling fields for one class or superclass
} // end of handling fields for classes with superclasses other than Object

return &obj, nil
}

Expand Down

0 comments on commit c2a0a31

Please sign in to comment.