Re:Impossible Java
by Flowdalic on Tuesday March 28, 2017 @10:32AM
(#13976841)
What if the call site does not use the returned value?
[ Parent
| on HN ]
The bytecode encodes that information, the method identifier includes name, parameter types and return type.
Re:Impossible Java
by tokenizerrr on Tuesday March 28, 2017 @10:58AM
(#13977089)
It's still present in the bytecode (since the VM has to know which method to call).