--- old/src/jdk.crypto.ec/share/native/libsunec/ECC_JNI.cpp 2015-10-15 12:39:08.351980582 -0400 +++ new/src/jdk.crypto.ec/share/native/libsunec/ECC_JNI.cpp 2015-10-15 12:39:07.395926814 -0400 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2009, 2014, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2009, 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 @@ -24,6 +24,7 @@ */ #include +#include "jni_util.h" #include "impl/ecc_impl.h" #define ILLEGAL_STATE_EXCEPTION "java/lang/IllegalStateException" @@ -36,6 +37,11 @@ extern "C" { /* + * Declare library specific JNI_Onload entry if static build + */ +DEF_STATIC_JNI_OnLoad + +/* * Throws an arbitrary Java exception. */ void ThrowException(JNIEnv *env, const char *exceptionName)