Browse documentation

ServiceLoader

Provider classes discovered through Java's ServiceLoader mechanism are excluded automatically.

What it covers

Classes matched as ServiceLoader provider-lookup targets, resolved by convention through META-INF/services/ entries, are excluded from both renaming and nativization, since ServiceLoader resolves a provider by its class name at runtime, a lookup a bytecode-level rename would silently break.