Artifact used (ex. androidx.appcompat:appcompat:1.0.0-alpha1): fragment Version used: 1.0.0-rc02
Fragment.instantiate() caches the parsed Class instances, but keeps all Class instances in a single map. This means that if you have two separate ClassLoaders, the Class instance from the first ClassLoader might be returned when it should actually call loadClass from the second ClassLoader.
Description
Version used: 1.0.0-rc02
Fragment.instantiate() caches the parsed Class instances, but keeps all Class instances in a single map. This means that if you have two separate ClassLoaders, the Class instance from the first ClassLoader might be returned when it should actually call loadClass from the second ClassLoader.