9e54846fac
2004-09-24 Michael Koch <konqueror@gmx.de> * gnu/java/nio/PipeImpl.java: Use VMPipe for native stuff. * gnu/java/nio/SelectorImpl.java: Use VMSelector for native stuff. * gnu/java/nio/VMPipe.java, gnu/java/nio/VMSelector.java: New files. * gnu/java/nio/natPipeImplEcos.cc, gnu/java/nio/natPipeImplPosix.cc, gnu/java/nio/natPipeImplWin32.cc: Ported to VMPipe. * gnu/java/nio/natSelectorImplEcos.cc, gnu/java/nio/natSelectorImplPosix.cc, gnu/java/nio/natSelectorImplWin32.cc: Ported to VMSelector. * Makefile.am: Added new files gnu/java/nio/VMPipe.java and gnu/java/nio/VMSelector.java. * Makefile.in: Regenerated. From-SVN: r88014
28 lines
672 B
C++
28 lines
672 B
C++
// natPipeImplEcos.cc
|
|
|
|
/* Copyright (C) 2003, 2004 Free Software Foundation
|
|
|
|
This file is part of libgcj.
|
|
|
|
This software is copyrighted work licensed under the terms of the
|
|
Libgcj License. Please consult the file "LIBGCJ_LICENSE" for
|
|
details. */
|
|
|
|
#include <config.h>
|
|
#include <platform.h>
|
|
|
|
#include <errno.h>
|
|
#include <string.h>
|
|
#include <unistd.h>
|
|
|
|
#include <gnu/java/nio/PipeImpl.h>
|
|
#include <gnu/java/nio/VMPipe.h>
|
|
#include <java/io/IOException.h>
|
|
|
|
void
|
|
gnu::java::nio::VMPipe::init (gnu::java::nio::PipeImpl *self,
|
|
::java::nio::channels::spi::SelectorProvider*)
|
|
{
|
|
throw new ::java::io::IOException (JvNewStringUTF ("nativeInit() not implemented"));
|
|
}
|