Amusing discovery of the day

December 29th, 2007

Java bytecode lets you overload method names based on the return type as well as the argument types, even if the language doesn’t.

One Response to “Amusing discovery of the day”

  1. Yardena Says:

    Yep, see Class#getMethod - bridge methods rely on this.

Leave a Reply