# HG changeset patch # User Thomas Wuerthinger # Date 1321441175 -3600 # Node ID 2fd96b3040b95ca92ddb2cea21e8baee873540b0 # Parent e53cfcb230a78ff519d390aa9300a98c052efba8 Fixed build issue. diff -r e53cfcb230a7 -r 2fd96b3040b9 src/share/vm/graal/graalEnv.cpp --- a/src/share/vm/graal/graalEnv.cpp Wed Nov 16 01:52:31 2011 +0100 +++ b/src/share/vm/graal/graalEnv.cpp Wed Nov 16 11:59:35 2011 +0100 @@ -132,7 +132,7 @@ } } - if (found_klass.is_null() == NULL && !cpool.is_null() && cpool->has_preresolution()) { + if (found_klass.is_null() && !cpool.is_null() && cpool->has_preresolution()) { // Look inside the constant pool for pre-resolved class entries. for (int i = cpool->length() - 1; i >= 1; i--) { if (cpool->tag_at(i).is_klass()) {