Amusing discovery of the day
December 29th, 2007Java bytecode lets you overload method names based on the return type as well as the argument types, even if the language doesn’t.
Java bytecode lets you overload method names based on the return type as well as the argument types, even if the language doesn’t.
December 29th, 2007 at 9:40 pm
Yep, see Class#getMethod - bridge methods rely on this.