Merge pull request #712 from mattrpav/AMQ-8385

[AMQ-8385] Update to target-version for JDK 11