source: trunk/gcc/libjava/java/io/natVMObjectStreamClass.cc

Last change on this file was 1389, checked in by bird, 21 years ago

Initial revision

  • Property cvs2svn:cvs-rev set to 1.1
  • Property svn:eol-style set to native
  • Property svn:executable set to *
File size: 639 bytes
Line 
1// natVMObjectStreamClass.cc - Native part of VMObjectStreamClass class.
2
3/* Copyright (C) 2003 Free Software Foundation
4
5 This VMObjectStreamClass is part of libgcj.
6
7This software is copyrighted work licensed under the terms of the
8Libgcj License. Please consult the ObjectInputStream "LIBGCJ_LICENSE" for
9details. */
10
11#include <gcj/cni.h>
12#include <jvm.h>
13
14#include <java/io/VMObjectStreamClass.h>
15#include <java/lang/Class.h>
16
17jboolean
18java::io::VMObjectStreamClass::hasClassInitializer (jclass klass)
19{
20 _Jv_Method *meth = _Jv_GetMethodLocal(klass, gcj::clinit_name,
21 gcj::void_signature);
22 return (meth != NULL);
23}
Note: See TracBrowser for help on using the repository browser.