classes are matched using only major and minor version numbers