blob: b7a056c457ff0fc8afedadf57ad04637d2e67cc5 (
plain)
| 1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
 | // natVMObjectStreamClass.cc - Native part of VMObjectStreamClass class.
/* Copyright (C) 2003  Free Software Foundation
   This VMObjectStreamClass is part of libgcj.
This software is copyrighted work licensed under the terms of the
Libgcj License.  Please consult the ObjectInputStream "LIBGCJ_LICENSE" for
details.  */
#include <gcj/cni.h>
#include <jvm.h>
#include <java/io/VMObjectStreamClass.h>
#include <java/lang/Class.h>
jboolean
java::io::VMObjectStreamClass::hasClassInitializer (jclass klass)
{
  _Jv_Method *meth = _Jv_GetMethodLocal(klass, gcj::clinit_name,
					       gcj::void_signature);
  return (meth != NULL);
}
 |