Right now it select selects the one with the highest version, but when two conflicting extensions are not at the same classloader level, the closest one which will be the one used for most classes.
This message was sent by Atlassian Jira (v9.3.0#930000-sha1:287aeb6)
If image attachments aren't displayed, see this article.