OSDN Git Service

2004-01-09 Andrew Haley <aph@redhat.com>
[pf3gnuchains/gcc-fork.git] / libjava / java / lang / natClassLoader.cc
index 5e7c943..4f15930 100644 (file)
@@ -262,6 +262,7 @@ _Jv_PrepareCompiledClass (jclass klass)
          int mod = f->getModifiers ();
          // If we have a static String field with a non-null initial
          // value, we know it points to a Utf8Const.
+         _Jv_ResolveField(f, klass->loader);
          if (f->getClass () == &java::lang::String::class$
              && java::lang::reflect::Modifier::isStatic (mod))
            {