Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

Fix compilation errors after changes to #define THREAD_RUNTIME_ARRAY #44

Closed
wants to merge 1 commit into from

2 participants

@csoren

Recent changes to the #define THREAD_RUNTIME_ARRAY broke the classpath-openjdk.cpp build

@dicej
Owner

Thanks for pointing this out. I've committed a different patch with the same effect which is more portable to other compilers: fddd3ec

@dicej dicej closed this
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
This page is out of date. Refresh to see the latest.
Showing with 4 additions and 4 deletions.
  1. +4 −4 src/classpath-openjdk.cpp
View
8 src/classpath-openjdk.cpp
@@ -1873,7 +1873,7 @@ loadLibrary(Thread* t, object, uintptr_t* arguments)
#ifdef AVIAN_OPENJDK_SRC
if (not absolute) {
- if (strcmp(n, "net") == 0) {
+ if (strcmp(n_body, "net") == 0) {
bool ran;
{ ACQUIRE(t, t->m->classLock);
@@ -1890,7 +1890,7 @@ loadLibrary(Thread* t, object, uintptr_t* arguments)
}
return;
- } else if (strcmp(n, "management") == 0) {
+ } else if (strcmp(n_body, "management") == 0) {
bool ran;
{ ACQUIRE(t, t->m->classLock);
@@ -1907,8 +1907,8 @@ loadLibrary(Thread* t, object, uintptr_t* arguments)
}
return;
- } else if (strcmp(n, "zip") == 0
- or strcmp(n, "nio") == 0)
+ } else if (strcmp(n_body, "zip") == 0
+ or strcmp(n_body, "nio") == 0)
{
return;
}
Something went wrong with that request. Please try again.