diff src/java.instrument/share/native/libinstrument/InstrumentationImplNativeMethods.c @ 13021:55573c377d64

8136556: Add the ability to perform static builds of MacOSX x64 binaries Reviewed-by: ihse, bdelsart, gadams, lfoltan, rriggs, hseigel, twisti
author bobv
date Mon, 19 Oct 2015 13:41:09 -0400
parents f08705540498
children
line wrap: on
line diff
--- a/src/java.instrument/share/native/libinstrument/InstrumentationImplNativeMethods.c	Thu Oct 15 14:41:37 2015 +0100
+++ b/src/java.instrument/share/native/libinstrument/InstrumentationImplNativeMethods.c	Mon Oct 19 13:41:09 2015 -0400
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 2003, 2008, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2003, 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
@@ -50,6 +50,11 @@
  */
 
 /*
+ * Declare library specific JNI_Onload entry if static build
+ */
+DEF_STATIC_JNI_OnLoad
+
+/*
  * Class:     sun_instrument_InstrumentationImpl
  * Method:    isModifiableClass0
  * Signature: (Ljava/lang/Class;)Z