No. If the cl is null, you do not want the context class loader. Instead you probably want ClassLoader.getSystemClassLoader().