currently an older org.apache.sling.commons.osgi is included not featuring the latest signature changes to ServiceUtil from
SLING-5041. this class is also used in sling-mock and osgi-mock based unit tests.
the i18n bundle includes the ServiceUtil class in its bundle instead of creating a runtime dependency to it. this creates problem when running unit tests within an IDE or command line because there the OSGi classpath isolation does not take place and the tests may fail with method signature errors.
to avoid this on future releases we should update to the latest org.apache.sling.commons.osgi 2.4.0.
workaround for the existing releases is to control the dependency order for the unittest and ensure that org.apache.sling.commons.osgi comes first.