test/javax/management/remote/rest/DefaultRestAdapter.java
branchjmx-rest-api
changeset 55994 9721e36abeb0
parent 55987 0daf2ad15492
child 55995 a798bdd52997
equal deleted inserted replaced
55987:0daf2ad15492 55994:9721e36abeb0
     1 /*
       
     2  * Copyright (c) 2016, Oracle and/or its affiliates. All rights reserved.
       
     3  * ORACLE PROPRIETARY/CONFIDENTIAL. Use is subject to license terms.
       
     4  */
       
     5 
       
     6  /*
       
     7  * @test
       
     8  * @run main/othervm -Dcom.sun.management.jmxremote.rest.port=8686 -Dcom.sun.management.config.file=/home/harsha/work/jdk10_rest/jdk/test/javax/management/remote/rest/mgmt1.properties DefaultRestAdapter
       
     9  */
       
    10 import java.io.IOException;
       
    11 import java.util.Arrays;
       
    12 
       
    13 public class DefaultRestAdapter {
       
    14 
       
    15     public static void main(String[] args) throws IOException, Exception {
       
    16         Arrays.asList(args).stream().forEach(System.out::println);
       
    17         Thread.sleep(1000000);
       
    18     }
       
    19 }
       
    20 
       
    21 
       
    22