Merge "Relax namespace restriction on system server classloader" am: a8135325c1 am: 3c6b4961cb

am: 097ff24545

Change-Id: I9fcc4eeb399da4bdfef2a415e175f2a59f332c84
This commit is contained in:
Dimitry Ivanov
2016-10-07 09:00:19 +00:00
committed by android-build-merger

View File

@@ -560,11 +560,11 @@ public class ZygoteInit {
*/
private static PathClassLoader createSystemServerClassLoader(String systemServerClasspath,
int targetSdkVersion) {
String librarySearchPath = System.getProperty("java.library.path");
String libraryPath = System.getProperty("java.library.path");
return PathClassLoaderFactory.createClassLoader(systemServerClasspath,
librarySearchPath,
null /* libraryPermittedPath */,
libraryPath,
libraryPath,
ClassLoader.getSystemClassLoader(),
targetSdkVersion,
true /* isNamespaceShared */);