mirror of
https://github.com/corda/corda.git
synced 2025-01-01 02:36:44 +00:00
various Windows OpenJDK 7 fixes
This commit is contained in:
parent
75b5d3df4a
commit
0167868797
3
makefile
3
makefile
@ -387,7 +387,6 @@ ifeq ($(platform),windows)
|
||||
lflags = -L$(lib) $(common-lflags) -lws2_32 -liphlpapi -mwindows -mconsole
|
||||
cflags = -I$(inc) $(common-cflags) -DWINVER=0x0500 -DTARGET_PLATFORM_WINDOWS
|
||||
|
||||
|
||||
ifeq (,$(filter mingw32 cygwin,$(build-platform)))
|
||||
openjdk-extra-cflags += -I$(src)/openjdk/caseSensitive
|
||||
cxx = x86_64-w64-mingw32-g++ -m32
|
||||
@ -425,6 +424,8 @@ ifeq ($(platform),windows)
|
||||
strip = x86_64-w64-mingw32-strip
|
||||
inc = "$(win64)/include"
|
||||
lib = "$(win64)/lib"
|
||||
else
|
||||
shared += -Wl,--add-stdcall-alias
|
||||
endif
|
||||
endif
|
||||
|
||||
|
@ -203,6 +203,7 @@ ifeq ($(platform),windows)
|
||||
$(openjdk-src)/windows/native/sun/nio/ch/DatagramChannelImpl.c \
|
||||
$(openjdk-src)/windows/native/sun/nio/ch/DatagramDispatcher.c \
|
||||
$(openjdk-src)/windows/native/sun/nio/ch/FileChannelImpl.c \
|
||||
$(openjdk-src)/windows/native/sun/nio/ch/FileDispatcherImpl.c \
|
||||
$(openjdk-src)/windows/native/sun/nio/ch/FileKey.c \
|
||||
$(openjdk-src)/windows/native/sun/nio/ch/IOUtil.c \
|
||||
$(openjdk-src)/windows/native/sun/nio/ch/Net.c \
|
||||
|
@ -3863,7 +3863,7 @@ EXPORT(JVM_FindClassFromClassLoader)(Thread* t, const char* name,
|
||||
}
|
||||
|
||||
extern "C" JNIEXPORT jclass JNICALL
|
||||
EXPORT(JVM_FindClassFromBootLoader)(Thread* t, const char* name)
|
||||
JVM_FindClassFromBootLoader(Thread* t, const char* name)
|
||||
{
|
||||
return EXPORT(JVM_FindClassFromClassLoader)(t, name, false, 0, false);
|
||||
}
|
||||
@ -5344,7 +5344,7 @@ EXPORT(JVM_CX8Field)(JNIEnv*, jobject*, jfieldID*, jlong, jlong)
|
||||
{ abort(); }
|
||||
|
||||
extern "C" JNIEXPORT void JNICALL
|
||||
JVM_SetNativeThreadName(JNIEnv*, jobject, jstring) { abort(); }
|
||||
EXPORT(JVM_SetNativeThreadName)(JNIEnv*, jobject, jstring) { abort(); }
|
||||
|
||||
} // namespace local
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user