Return-Type-Based Method Overloading in Java
Written by Jevgeni Kabanov on August 1, 2008 – 2:56 pmReturn-Type-Based Method Overloading in Java — wow! Next you’ll discover that in Java bytecode you can throw/catch any object, not just Throwable subclasses and use that knowledge to implement more weird bytecode hacks! And BTW return-type overloading is used in Java 5 to implement bridge methods that allow overriding super methods with a different return type, so it’s not really so esoteric.
Tags: bytecode, java
Posted in meme | No Comments »
Leave a Comment
Additional comments powered by BackType