See also : https://issues.apache.org/jira/browse/KARAF-5641
Hopefully it will work fine on JDK11 as well?