This method of the SecurityClassLoader Class sets the thread group associated with the class loader. Call this method before using the loader to load classes.
protected void setThreadGroup(ThreadGroup tg);
tg | The thread group to associate with the class loader. |
SecurityException if the loader already has an associated ThreadGroup object.