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 /*
25 * @test
26 * @bug 6245733
27 * @summary synopsis: rmid's registry's list operation doesn't include
28 * activation system
29 * @author Ann Wollrath
30 *
31 * @library ../../../testlibrary
32 * @modules java.rmi/sun.rmi.registry
33 * java.rmi/sun.rmi.server
34 * java.rmi/sun.rmi.transport
35 * java.rmi/sun.rmi.transport.tcp
36 * @build TestLibrary RMID ActivationLibrary
37 * @run main/othervm/timeout=240 LookupActivationSystem
38 */
39
40 import java.rmi.*;
41 import java.rmi.activation.*;
42 import java.rmi.registry.*;
43 import java.rmi.server.*;
44 import java.io.Serializable;
45
46 public class LookupActivationSystem implements Remote, Serializable {
47
48 private static final String NAME = ActivationSystem.class.getName();
49
50 public static void main(String[] args) throws Exception {
51
52 System.out.println("\nRegression test for bug 6245733\n");
53
54 RMID rmid = null;
55
|
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 /*
25 * @test
26 * @bug 6245733
27 * @summary synopsis: rmid's registry's list operation doesn't include
28 * activation system
29 * @author Ann Wollrath
30 *
31 * @library ../../../testlibrary
32 * @modules java.rmi/sun.rmi.registry
33 * java.rmi/sun.rmi.server
34 * java.rmi/sun.rmi.transport
35 * java.rmi/sun.rmi.transport.tcp
36 * java.base/sun.nio.ch
37 * @build TestLibrary RMID ActivationLibrary
38 * @run main/othervm/timeout=240 LookupActivationSystem
39 */
40
41 import java.rmi.*;
42 import java.rmi.activation.*;
43 import java.rmi.registry.*;
44 import java.rmi.server.*;
45 import java.io.Serializable;
46
47 public class LookupActivationSystem implements Remote, Serializable {
48
49 private static final String NAME = ActivationSystem.class.getName();
50
51 public static void main(String[] args) throws Exception {
52
53 System.out.println("\nRegression test for bug 6245733\n");
54
55 RMID rmid = null;
56
|