1 // natObjectOutputStream.cc - Native part of ObjectOutputStream class.
3 /* Copyright (C) 1998, 1999 Free Software Foundation
5 This ObjectOutputStream is part of libgcj.
7 This software is copyrighted work licensed under the terms of the
8 Libgcj License. Please consult the ObjectOutputStream "LIBGCJ_LICENSE" for
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>
21 java::lang::reflect::Field
*
22 java::io::ObjectOutputStream::getField (jclass klass
, jstring name
)
24 return klass
->getPrivateField (name
);
27 java::lang::reflect::Method
*
28 java::io::ObjectOutputStream::getMethod (jclass klass
, jstring name
,
29 JArray
<jclass
> *arg_types
)
31 return klass
->getPrivateMethod (name
, arg_types
);