FSF GCC merge 02/23/03
[official-gcc.git] / libjava / java / io / natVMObjectStreamClass.cc
blobb7a056c457ff0fc8afedadf57ad04637d2e67cc5
1 // natVMObjectStreamClass.cc - Native part of VMObjectStreamClass class.
3 /* Copyright (C) 2003 Free Software Foundation
5 This VMObjectStreamClass is part of libgcj.
7 This software is copyrighted work licensed under the terms of the
8 Libgcj License. Please consult the ObjectInputStream "LIBGCJ_LICENSE" for
9 details. */
11 #include <gcj/cni.h>
12 #include <jvm.h>
14 #include <java/io/VMObjectStreamClass.h>
15 #include <java/lang/Class.h>
17 jboolean
18 java::io::VMObjectStreamClass::hasClassInitializer (jclass klass)
20 _Jv_Method *meth = _Jv_GetMethodLocal(klass, gcj::clinit_name,
21 gcj::void_signature);
22 return (meth != NULL);