--- old/src/jdk.security.auth/windows/native/libjaas/nt.c 2015-10-15 12:39:41.409839749 -0400 +++ new/src/jdk.security.auth/windows/native/libjaas/nt.c 2015-10-15 12:39:40.669798129 -0400 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2000, 2014, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2000, 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 "com_sun_security_auth_module_NTSystem.h" #include @@ -49,6 +50,11 @@ (*env)->ThrowNew(env, clazz, msg); } +/* + * Declare library specific JNI_Onload entry if static build + */ +DEF_STATIC_JNI_OnLoad + JNIEXPORT jlong JNICALL Java_com_sun_security_auth_module_NTSystem_getImpersonationToken0 (JNIEnv *env, jobject obj) {