Closed jjfiv closed 12 years ago
Why would it return "this._name" and not true or false?
Or was it just a stub and it's a very silly question? (:
Are you sure you're looking at the right method? MethodSignature::isMain
returns a boolean; MethodSignature::getName
is immediately below it and returns this._name
Update: making this more type specific has created some problems in vmtest; Jennie is looking into it.
Right now it just compares names, but in java a
main(V)V
is not a valid entry point. We need to check the return type and the parameter types.