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 /* 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 * @build TestLibrary RMID ActivationLibrary 33 * @run main/othervm/timeout=240 LookupActivationSystem 34 */ 35 36 import java.rmi.*; 37 import java.rmi.activation.*; 38 import java.rmi.registry.*; 39 import java.rmi.server.*; 40 import java.io.Serializable; 41 42 public class LookupActivationSystem implements Remote, Serializable { 43 44 private static final String NAME = ActivationSystem.class.getName(); 45 46 public static void main(String[] args) throws Exception { 47 48 System.out.println("\nRegression test for bug 6245733\n"); 49 50 RMID rmid = null; 51 | 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 /* 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 |