if (result != null) synchronized (this) { if (loadedNativeCode == null) loadedNativeCode = new ArrayList(1); if (loadedNativeCode.contains(result)) {  String temp = copyToTempLibrary(result); if (temp != null) result = temp; } else { loadedNativeCode.add(result); } }
	public String findLibrary(String libname) {		ClassLoadingHook[] hooks = adaptor.getHookRegistry().getClassLoadingHooks();		String result = null;		for (int i = 0; i < hooks.length; i++) {			result = hooks[i].findLibrary(this, libname);			if (result != null)				return result;		}		return result;	}