jdk/src/jdk.attach/solaris/native/libattach/VirtualMachineImpl.c
changeset 33653 c1ee09fe3274
parent 29607 659cd463df20
equal deleted inserted replaced
32995:a62c89adce3d 33653:c1ee09fe3274
     1 /*
     1 /*
     2  * Copyright (c) 2005, 2014, Oracle and/or its affiliates. All rights reserved.
     2  * Copyright (c) 2005, 2015, Oracle and/or its affiliates. All rights reserved.
     3  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     3  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     4  *
     4  *
     5  * This code is free software; you can redistribute it and/or modify it
     5  * This code is free software; you can redistribute it and/or modify it
     6  * under the terms of the GNU General Public License version 2 only, as
     6  * under the terms of the GNU General Public License version 2 only, as
     7  * published by the Free Software Foundation.  Oracle designates this
     7  * published by the Free Software Foundation.  Oracle designates this
    44     _result = _cmd; \
    44     _result = _cmd; \
    45   } while((_result == -1) && (errno == EINTR)); \
    45   } while((_result == -1) && (errno == EINTR)); \
    46 } while(0)
    46 } while(0)
    47 
    47 
    48 /*
    48 /*
       
    49  * Declare library specific JNI_Onload entry if static build
       
    50  */
       
    51 DEF_STATIC_JNI_OnLoad
       
    52 
       
    53 /*
    49  * Class:     sun_tools_attach_VirtualMachineImpl
    54  * Class:     sun_tools_attach_VirtualMachineImpl
    50  * Method:    open
    55  * Method:    open
    51  * Signature: (Ljava/lang/String;)I
    56  * Signature: (Ljava/lang/String;)I
    52  */
    57  */
    53 JNIEXPORT jint JNICALL Java_sun_tools_attach_VirtualMachineImpl_open
    58 JNIEXPORT jint JNICALL Java_sun_tools_attach_VirtualMachineImpl_open