[CAMEL-16965]tests in camel-leveldb failed with JDK17
[CAMEL-16965]tests in camel-leveldb failed with JDK17

tdiesler/camel,tadayosi/camel,pax95/camel,pax95/camel,adessaigne/camel,tadayosi/camel,pax95/camel,pax95/camel,tadayosi/camel,adessaigne/camel,tadayosi/camel,pax95/camel,cunningt/camel,tadayosi/camel,christophd/camel,cunningt/camel,apache/camel,apache/camel,apache/camel,adessaigne/camel,christophd/camel,apache/camel,cunningt/camel,pax95/camel,adessaigne/camel,tadayosi/camel,tdiesler/camel,christophd/camel,tdiesler/camel,cunningt/camel,christophd/camel,adessaigne/camel,apache/camel,cunningt/camel,tdiesler/camel,tdiesler/camel,adessaigne/camel,apache/camel,tdiesler/camel,cunningt/camel,christophd/camel,christophd/camel