source: trunk/src/gcc/libjava/java/io/natObjectOutputStream.cc@ 2

Last change on this file since 2 was 2, checked in by bird, 22 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: 874 bytes
Line 
1// natObjectOutputStream.cc - Native part of ObjectOutputStream class.
2
3/* Copyright (C) 1998, 1999 Free Software Foundation
4
5 This ObjectOutputStream is part of libgcj.
6
7This software is copyrighted work licensed under the terms of the
8Libgcj License. Please consult the ObjectOutputStream "LIBGCJ_LICENSE" for
9details. */
10
11#include <config.h>
12
13#include <gcj/cni.h>
14#include <jvm.h>
15#include <java/io/ObjectOutputStream$PutField.h>
16#include <java/io/ObjectOutputStream.h>
17#include <java/io/IOException.h>
18#include <java/lang/Class.h>
19
20
21java::lang::reflect::Field *
22java::io::ObjectOutputStream::getField (jclass klass, jstring name)
23{
24 return klass->getPrivateField (name);
25}
26
27java::lang::reflect::Method *
28java::io::ObjectOutputStream::getMethod (jclass klass, jstring name,
29 JArray<jclass> *arg_types)
30{
31 return klass->getPrivateMethod (name, arg_types);
32}
33
Note: See TracBrowser for help on using the repository browser.