getServerVersion(etc) first calls getAdapterVersion(etc), which is a deprecated method which iterates through JBossServerType.UNKNOWN's list of versions first and executes its string comparisons that way, including attempted matches on major versions only. If it finds no match, then it executes major.minor. 

I'll update the comment.