spring-framework / org.springframework.instrument.classloading / ResourceOverridingShadowingClassLoader / suppress

suppress

open fun suppress(oldPath: String): Unit

Ensure that a resource with the given path is not found.

Parameters

oldPath - the path of the resource to hide even if it exists in the parent ClassLoader