< prev index next >

src/jdk.jdwp.agent/share/native/libjdwp/debugInit.c

Print this page
rev 12879 : 8136556: Add the ability to perform static builds of MacOSX x64 binaries
Reviewed-by: ihse, bdelsart, gadams, lfoltan, rriggs, hseigel, twisti

*** 1,7 **** /* ! * Copyright (c) 1998, 2014, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License version 2 only, as * published by the Free Software Foundation. Oracle designates this --- 1,7 ---- /* ! * Copyright (c) 1998, 2015, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License version 2 only, as * published by the Free Software Foundation. Oracle designates this
*** 192,202 **** /* OnLoad startup: * Returning JNI_ERR will cause the java_g VM to core dump, be careful. */ JNIEXPORT jint JNICALL ! Agent_OnLoad(JavaVM *vm, char *options, void *reserved) { jvmtiError error; jvmtiCapabilities needed_capabilities; jvmtiCapabilities potential_capabilities; jint jvmtiCompileTimeMajorVersion; --- 192,202 ---- /* OnLoad startup: * Returning JNI_ERR will cause the java_g VM to core dump, be careful. */ JNIEXPORT jint JNICALL ! DEF_Agent_OnLoad(JavaVM *vm, char *options, void *reserved) { jvmtiError error; jvmtiCapabilities needed_capabilities; jvmtiCapabilities potential_capabilities; jint jvmtiCompileTimeMajorVersion;
*** 378,388 **** LOG_MISC(("OnLoad: DONE")); return JNI_OK; } JNIEXPORT void JNICALL ! Agent_OnUnload(JavaVM *vm) { gdata->isLoaded = JNI_FALSE; /* Cleanup, but make sure VM is alive before using JNI, and --- 378,388 ---- LOG_MISC(("OnLoad: DONE")); return JNI_OK; } JNIEXPORT void JNICALL ! DEF_Agent_OnUnload(JavaVM *vm) { gdata->isLoaded = JNI_FALSE; /* Cleanup, but make sure VM is alive before using JNI, and
< prev index next >