From fddd3ec49d2eea438050c7a4d233bd33799b50d8 Mon Sep 17 00:00:00 2001 From: Joel Dice Date: Mon, 25 Feb 2013 10:38:06 -0700 Subject: [PATCH 1/2] fix openjdk-src build regression due to RUNTIME_ARRAY changes --- src/classpath-openjdk.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/classpath-openjdk.cpp b/src/classpath-openjdk.cpp index d2f628968d..aea727b673 100644 --- a/src/classpath-openjdk.cpp +++ b/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(RUNTIME_ARRAY_BODY(n), "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(RUNTIME_ARRAY_BODY(n), "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(RUNTIME_ARRAY_BODY(n), "zip") == 0 + or strcmp(RUNTIME_ARRAY_BODY(n), "nio") == 0) { return; } From 2c12c9b0207feecb6903469d54f695d692f8b381 Mon Sep 17 00:00:00 2001 From: Joel Dice Date: Mon, 25 Feb 2013 10:38:37 -0700 Subject: [PATCH 2/2] add note about OpenJDK build infrastructure available on GitHub --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 52bf9c844e..bc9bfb55b3 100644 --- a/README.md +++ b/README.md @@ -324,7 +324,7 @@ _Stand-alone build:_ openjdk-src=$(pwd)/../p/jdk7u-dev/jdk/src test ####Windows (Cygwin): -_Prerequisite:_ Build OpenJDK 7 according to [this site](http://weblogs.java.net/blog/simonis/archive/2011/10/28/yaojowbi-yet-another-openjdk-windows-build-instruction). +_Prerequisite:_ Build OpenJDK 7 according to [this site](http://weblogs.java.net/blog/simonis/archive/2011/10/28/yaojowbi-yet-another-openjdk-windows-build-instruction). Alternatively, use https://github.com/alexkasko/openjdk-unofficial-builds. _Conventional build:_