[BUG #7713] need to re-enable shortest classAttribute detection

- 'statics' optimization needs this for comparisons