My post on the KVM-INTEREST group concerned code space optimization -- I agree that it's not a particularly useful performance optimization.
As you can see, however, it does save a significant amount of code space -- in the case of String.class vs "".getClass()
it saves 419 bytes, mainly thanks to the removal of the extra static method. This probably isn't exactly a winning argument in the J2SE world, but in the sadly constrained
MIDP world this kind of saving can make a difference...
Henry
[This message has been edited by Henry Clout (edited September 27, 2001).]