CAMEL-7314 Fixed the test error of camel-jdbc with JDK8