changeset 3639:2fd96b3040b9

Fixed build issue.
author Thomas Wuerthinger <thomas.wuerthinger@oracle.com>
date Wed, 16 Nov 2011 11:59:35 +0100
parents e53cfcb230a7
children d7e8627a1016 a8021a9f2a14
files src/share/vm/graal/graalEnv.cpp
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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()) {