11 * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License 12 * version 2 for more details (a copy is included in the LICENSE file that 13 * accompanied this code). 14 * 15 * You should have received a copy of the GNU General Public License version 16 * 2 along with this work; if not, write to the Free Software Foundation, 17 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. 18 * 19 * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA 20 * or visit www.oracle.com if you need additional information or have any 21 * questions. 22 */ 23 24 /* @test 25 * @bug 4134233 26 * @bug 4213186 27 * @summary synopsis: ActivationSystem.unregisterGroup should unregister objects in group 28 * @author Ann Wollrath 29 * 30 * @library ../../../testlibrary 31 * @build TestLibrary RMID ActivationLibrary ActivateMe 32 * @run main/othervm/policy=security.policy UnregisterGroup 33 */ 34 35 import java.io.*; 36 import java.rmi.*; 37 import java.rmi.activation.*; 38 import java.rmi.server.*; 39 import java.util.Properties; 40 41 public class UnregisterGroup extends Activatable implements ActivateMe 42 { 43 private static volatile Exception exception = null; 44 private static volatile String error = null; 45 private static volatile boolean done = false; 46 private static final int NUM_OBJECTS = 10; 47 48 public UnregisterGroup(ActivationID id, MarshalledObject mobj) 49 throws Exception 50 { | 11 * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License 12 * version 2 for more details (a copy is included in the LICENSE file that 13 * accompanied this code). 14 * 15 * You should have received a copy of the GNU General Public License version 16 * 2 along with this work; if not, write to the Free Software Foundation, 17 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. 18 * 19 * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA 20 * or visit www.oracle.com if you need additional information or have any 21 * questions. 22 */ 23 24 /* @test 25 * @bug 4134233 26 * @bug 4213186 27 * @summary synopsis: ActivationSystem.unregisterGroup should unregister objects in group 28 * @author Ann Wollrath 29 * 30 * @library ../../../testlibrary 31 * @modules java.rmi/sun.rmi.registry 32 * java.rmi/sun.rmi.server 33 * java.rmi/sun.rmi.transport 34 * java.rmi/sun.rmi.transport.tcp 35 * @build TestLibrary RMID ActivationLibrary ActivateMe 36 * @run main/othervm/policy=security.policy UnregisterGroup 37 */ 38 39 import java.io.*; 40 import java.rmi.*; 41 import java.rmi.activation.*; 42 import java.rmi.server.*; 43 import java.util.Properties; 44 45 public class UnregisterGroup extends Activatable implements ActivateMe 46 { 47 private static volatile Exception exception = null; 48 private static volatile String error = null; 49 private static volatile boolean done = false; 50 private static final int NUM_OBJECTS = 10; 51 52 public UnregisterGroup(ActivationID id, MarshalledObject mobj) 53 throws Exception 54 { |