summaryrefslogtreecommitdiff
path: root/native/jni/java-io
Commit message (Collapse)AuthorAgeFilesLines
* Replace all .cvsignore files with .gitignoreIvan Maidanski2012-10-151-0/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2012-06-10 Ivan Maidanski <ivmai@mail.ru> * compat/.gitignore, * compat/java.net/.gitignore, * doc/.gitignore, * doc/api/.gitignore, * doc/www.gnu.org/.gitignore, * doc/www.gnu.org/announce/.gitignore, * doc/www.gnu.org/cp-tools/.gitignore, * doc/www.gnu.org/docs/.gitignore, * doc/www.gnu.org/downloads/.gitignore, * doc/www.gnu.org/events/.gitignore, * doc/www.gnu.org/faq/.gitignore, * examples/.gitignore, * external/.gitignore, * external/jsr166/.gitignore, * external/relaxngDatatype/.gitignore, * external/sax/.gitignore, * external/w3c_dom/.gitignore, * gnu/classpath/.gitignore, * gnu/java/locale/.gitignore, * gnu/java/security/.gitignore, * gnu/test/.gitignore, * include/.gitignore, * java/util/.gitignore, * lib/.gitignore, * native/.gitignore, * native/fdlibm/.gitignore, * native/jawt/.gitignore, * native/jni/.gitignore, * native/jni/classpath/.gitignore, * native/jni/gconf-peer/.gitignore, * native/jni/gstreamer-peer/.gitignore, * native/jni/gtk-peer/.gitignore, * native/jni/java-io/.gitignore, * native/jni/java-lang/.gitignore, * native/jni/java-math/.gitignore, * native/jni/java-net/.gitignore, * native/jni/java-nio/.gitignore, * native/jni/java-util/.gitignore, * native/jni/midi-alsa/.gitignore, * native/jni/midi-dssi/.gitignore, * native/jni/native-lib/.gitignore, * native/jni/qt-peer/.gitignore, * native/jni/xmlj/.gitignore, * native/plugin/.gitignore, * native/testsuite/.gitignore, * native/vmi/.gitignore, * resource/.gitignore, * resource/META-INF/services/.gitignore, * scripts/.gitignore, * test/.gitignore, * test/gnu.java.lang.reflect/.gitignore, * test/java.io/.gitignore, * test/java.lang.reflect/.gitignore, * test/java.net/.gitignore, * test/java.util/.gitignore, * tools/.gitignore, * tools/gnu/classpath/tools/doclets/.gitignore, * tools/gnu/classpath/tools/doclets/debugdoclet/.gitignore, * tools/gnu/classpath/tools/doclets/htmldoclet/.gitignore, * tools/gnu/classpath/tools/doclets/xmldoclet/.gitignore, * tools/gnu/classpath/tools/doclets/xmldoclet/doctranslet/.gitignore, * tools/gnu/classpath/tools/gjdoc/.gitignore, * tools/gnu/classpath/tools/gjdoc/expr/.gitignore, * tools/gnu/classpath/tools/java2xhtml/.gitignore, * tools/gnu/classpath/tools/taglets/.gitignore, * vm/.gitignore, * vm/reference/.gitignore: Renamed from .cvsignore. Signed-off-by: Pekka Enberg <penberg@kernel.org>
* PR libgcj/52694Andrew Haley2012-03-291-0/+4
| | | | | * native/jni/java-io/java_io_VMConsole.c (IUCLC): Define, if undefined.
* Add java/io/Console class and java/lang/System.console() methodPekka Enberg2012-01-082-1/+92
| | | | | | | | | | | | | | | | | | | | | | | | | | | This patch implements java/io/Console and adds a console() method to java/lang/System. The implementation is lame but it works reasonably well. 2012-01-07 Pekka Enberg <penberg@kernel.org> * include/Makefile.am: Add java_io_VMConsole.h. * java/io/Console: Add Java 1.6 java/io/Console API. * java/lang/System.java: (console): Add Java 1.6 console() API. * vm/reference/java/io/VMConsole: Add new class. * native/jni/java-io/Makefile.am: Add java_io_VMConsole.c. * native/jni/java-io/java_io_VMConsole.c: Add native helpers for java/io/Console. Signed-off-by: Pekka Enberg <penberg@kernel.org>
* 2008-06-23 Andrew Haley <aph@redhat.com>Andrew Haley2008-06-231-1/+2
| | | | | | | | | | | | | | | | | | | | | * native/jawt/Makefile.am, native/fdlibm/Makefile.am, native/jni/java-util/Makefile.am, native/jni/gstreamer-peer/Makefile.am, native/jni/native-lib/Makefile.am, native/jni/gconf-peer/Makefile.am, native/jni/gtk-peer/Makefile.am, native/jni/xmlj/Makefile.am, native/jni/midi-alsa/Makefile.am, native/jni/java-nio/Makefile.am, native/jni/midi-dssi/Makefile.am, native/jni/classpath/Makefile.am, native/jni/java-io/Makefile.am, native/jni/java-lang/Makefile.am, native/jni/java-net/Makefile.am (AM_CFLAGS): Add @EXTRA_CFLAGS@. * configure.ac (EXTRA_CFLAGS): New macro. * lib/Makefile.am (resources): Add .svn.
* 2008-04-09 Mario Torre <neugens@aicas.com>Mario Torre2008-04-091-51/+55
| | | | | | | | | | | * java/io/File.java (canWrite): use canWriteDirectory(String). * vm/reference/java/io/VMFile.java (canWriteDirectory): new native method. * native/jni/java-io/java_io_VMFile.c: correct indentation, sync function names with header file definition. (Java_java_io_VMFile_canRead): use cpio_checkAccess to get access permission. Removed unused variable. (Java_java_io_VMFile_canWrite): likewise. (Java_java_io_VMFile_canWriteDirectory): new function.
* 2008-01-09 Stefan Huehner <stefan@huehner.org>Andrew John Hughes2008-01-111-1/+1
| | | | | | | | * native/jni/java-io/java_io_VMObjectStreamClass.c, * native/jni/java-lang/java_lang_VMDouble.c, * native/jni/java-net/java_net_VMInetAddress.c: Don't discard const by casting (const char *) to (char *) when it's not needed.
* 2007-11-06 Mario Torre <neugens@limasoftware.net>Mario Torre2007-11-061-0/+88
| | | | | | | | | | | | | | | | | | | * vm/reference/java/io/VMFile.java: (getTotalSpace): new method. (getUsableSpace): likewise. (getFreeSpace): likewise. * java/io/File.java: (getTotalSpace): new method. (getUsableSpace): likewise. (getFreeSpace): likewise. * native/jni/java-io/java_io_VMFile.c: (Java_java_io_VMFile_getTotalSpace): new function. (Java_java_io_VMFile_getFreeSpace): likewise. (Java_java_io_VMFile_getUsableSpace): likewise. * native/jni/native-lib/cpio.h: (cpio_df): new function. (CPFILE_DF_TYPE): enum type for cpio_df. * native/jni/native-lib/cpio.c: (cpio_df): new function. * include/java_io_VMFile.h: regenerated. * configure.ac: added check for statvfs.
* 2007-02-09 Mario Torre <neugens@limasoftware.net>Mario Torre2007-02-091-0/+153
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * vm/reference/java/io/VMFile.java: (canExecute): new 1.6 native method. (setReadable): likewise. (setWritable): likewise. (setExecutable): likewise. * java/io/File.java: added import for gnu.classpath.NotImplementedException. (setReadOnly): new 1.6 method. (canExecute): likewise. (setReadable): likewise. (setWritable): likewise. (setExecutable): likewise. (getUsableSpace): added stub for new 1.6 method. (getFreeSpace): likewise. (getTotalSpace): likewise. (checkExec): new private method to support new 1.6 additions. * native/jni/java-io/java_io_VMFile.c: set_file_permissions: new helper function. Java_java_io_VMFile_setReadable: new native method to bakcup 1.6 methods in VMFile.java. Java_java_io_VMFile_setWritable: likewise. Java_java_io_VMFile_setExecutable: likewise. Java_java_io_VMFile_canExecute: likewise. * native/jni/native-lib/cpio.h: added new flags: CPFILE_FLAG_EXEC, CPFILE_FLAG_USR and CPFILE_FLAG_OFF. cpio_chmod: new function declaration. cpio_checkAccess: likewise. * native/jni/native-lib/cpio.c: cpio_chmod: new function definition. cpio_checkAccess: likewise.
* 2006-09-22 Casey Marshall <csm@gnu.org>Casey Marshall2006-09-231-1/+1
| | | | | | | | * native/jni/java-io/java_io_VMFile.c (Java_java_io_VMFile_list): remove `const' from `filename.' * native/jni/native-lib/cpio.c (cpio_readDir): remove `const' from `filename.' * native/jni/native-lib/cpio.h (cpio_readDir): likewise.
* 2006-09-22 Casey Marshall <csm@gnu.org>Casey Marshall2006-09-231-3/+8
| | | | | | | | | | | * configure.ac (AC_CHECK_FUNCS): check for `readdir_r.' * native/jni/java-io/java_io_VMFile.c (Java_java_io_VMFile_list): allocate `filename,' and handle changes to `cpio_readDir.' * native/jni/native-lib/cpio.c (cpio_readDir): use `readdir_r' if available; copy the filename into the destination buffer; return an error code if readdir returns NULL, but errno is 0. * native/jni/native-lib/cpio.h (cpio_readDir): change second parameter to `const char *.'
* Merge NATIVE_LAYER branch.Mark Wielaard2006-08-212-105/+104
|
* 2006-06-07 Gary Benson <gbenson@redhat.com>Gary Benson2006-06-071-1/+235
| | | | | | | | | | | | PR 24895 * native/jni/java-io/java_io_VMFile.c (Java_java_io_VMFile_toCanonicalForm): New method. * configure.ac: Added checks for lstat and readlink. * include/java_io_VMFile.h: Added new method. * vm/reference/java/io/VMFile.java: Use new method. * gnu/java/io/PlatformHelper.java (toCanonicalForm): Removed. * NEWS: Documented the above. * java/io/File.java: Javadoc fix.
* PR classpath/26623:Tom Tromey2006-03-101-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | * native/jni/qt-peer/Makefile.am (nativeexeclib_LTLIBRARIES): Renamed. * native/jni/midi-alsa/Makefile.am (nativeexeclib_LTLIBRARIES): Renamed. * native/jni/java-net/Makefile.am (nativeexeclib_LTLIBRARIES): Renamed. * native/jni/java-lang/Makefile.am (nativeexeclib_LTLIBRARIES): Renamed. * native/jni/xmlj/Makefile.am (nativeexeclib_LTLIBRARIES): Renamed. * native/jni/gtk-peer/Makefile.am (nativeexeclib_LTLIBRARIES): Renamed. * native/jni/midi-dssi/Makefile.am (nativeexeclib_LTLIBRARIES): Renamed. * native/jni/java-io/Makefile.am (nativeexeclib_LTLIBRARIES): Renamed. * native/jni/java-nio/Makefile.am (nativeexeclib_LTLIBRARIES): Renamed. * native/jni/java-util/Makefile.am (nativeexeclib_LTLIBRARIES): Renamed. * native/jawt/Makefile.am (nativeexeclib_LTLIBRARIES): Renamed. * configure.ac (nativeexeclibdir): Renamed from nativelibdir.
* 2006-01-25 Roman Kennke <kennke@aicas.com>Roman Kennke2006-01-253-30/+19
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * configure.ac * native/Makefile.am * native/jni/classpath/Makefile.am * native/jni/classpath/jcl.c * native/jni/classpath/jcl.h * native/jni/classpath/native_state.c * native/jni/gtk-peer/Makefile.am * native/jni/java-io/Makefile.am * native/jni/java-io/java_io_VMFile.c * native/jni/java-io/java_io_VMObjectStreamClass.c * native/jni/java-lang/Makefile.am * native/jni/java-net/Makefile.am * native/jni/java-net/java_net_VMInetAddress.c * native/jni/java-net/javanet.c * native/jni/java-net/javanet.h * native/jni/java-nio/Makefile.am * native/jni/java-nio/gnu_java_nio_VMPipe.c * native/jni/java-nio/gnu_java_nio_VMSelector.c * native/jni/java-nio/gnu_java_nio_channels_FileChannelImpl.c * native/jni/java-nio/java_nio_MappedByteBufferImpl.c * native/jni/java-nio/java_nio_VMDirectByteBuffer.c * native/jni/java-util/Makefile.am * native/jni/java-util/java_util_VMTimeZone.c * native/jni/midi-dssi/Makefile.am * native/jni/xmlj/Makefile.am * native/target/Makefile.am * native/target/Linux/target_native_math.h * native/target/Linux/target_native_memory.h * native/target/Linux/Makefile.am * native/target/Linux/target_native_io.h * native/target/Linux/target_native_math_float.h * native/target/Linux/target_native_math_int.h * native/target/generic/target_generic.c * native/target/generic/target_generic_io.c * native/target/generic/target_generic_math.h * native/target/generic/target_generic_memory.h * native/target/generic/target_generic_misc.c * native/target/generic/target_generic_network.c * native/target/generic/Makefile.am * native/target/generic/target_generic.h * native/target/generic/target_generic_file.h * native/target/generic/target_generic_io.h * native/target/generic/target_generic_math_float.h * native/target/generic/target_generic_math_int.h * native/target/generic/target_generic_misc.h * native/target/generic/target_generic_network.h: Reverted target native related changes back to the state of the 0.20 release. * native/target/MinGW/.cvsignore * native/target/MinGW/Makefile.am * native/target/MinGW/target_native.h * native/target/MinGW/target_native_file.h * native/target/MinGW/target_native_io.h * native/target/MinGW/target_native_math.h * native/target/MinGW/target_native_memory.h * native/target/MinGW/target_native_misc.h * native/target/MinGW/target_native_network.h * native/target/RTEMS/.cvsignore * native/target/RTEMS/Makefile.am * native/target/RTEMS/target_native.h * native/target/RTEMS/target_native_file.h * native/target/RTEMS/target_native_io.h * native/target/RTEMS/target_native_math.h * native/target/RTEMS/target_native_memory.h * native/target/RTEMS/target_native_misc.h * native/target/RTEMS/target_native_network.h * native/target/SunOS/.cvsignore * native/target/SunOS/Makefile.am * native/target/SunOS/target_native.h * native/target/SunOS/target_native_file.h * native/target/SunOS/target_native_io.h * native/target/SunOS/target_native_math.h * native/target/SunOS/target_native_memory.h * native/target/SunOS/target_native_misc.h * native/target/SunOS/target_native_network.h * native/target/embOS/.cvsignore * native/target/embOS/Makefile.am * native/target/embOS/target_native.h * native/target/embOS/target_native_file.h * native/target/embOS/target_native_io.c * native/target/embOS/target_native_io.h * native/target/embOS/target_native_math.h * native/target/embOS/target_native_memory.h * native/target/embOS/target_native_misc.h * native/target/embOS/target_native_network.h * native/target/posix/.cvsignore * native/target/posix/Makefile.am * native/target/posix/target_posix.c * native/target/posix/target_posix.h * native/target/posix/target_posix_file.c * native/target/posix/target_posix_file.h * native/target/posix/target_posix_io.c * native/target/posix/target_posix_io.h * native/target/posix/target_posix_math.c * native/target/posix/target_posix_math.h * native/target/posix/target_posix_memory.c * native/target/posix/target_posix_memory.h * native/target/posix/target_posix_misc.c * native/target/posix/target_posix_misc.h * native/target/posix/target_posix_network.c * native/target/posix/target_posix_network.h: Removed.
* 2006-01-17 Christian Thalinger <twisti@complang.tuwien.ac.at>Christian Thalinger2006-01-171-5/+8
| | | | | | | | | | | | | * configure.ac: Set TARGET. * native/Makefile.am, native/jni/classpath/Makefile.am, native/jni/gtk-peer/Makefile.am, native/jni/java-io/Makefile.am, native/jni/java-lang/Makefile.am, native/jni/java-net/Makefile.am, native/jni/java-nio/Makefile.am, native/jni/midi-dssi/Makefile.am, native/jni/xmlj/Makefile.am, native/target/Makefile.am, native/target/Linux/Makefile.am, native/target/generic/Makefile.am, native/target/posix/Makefile.am: Build libclasspath.so with jcl and target stuff linked in and link it against lib*.so libraries.
* 2006-01-17 Roman Kennke <kennke@aicas.com>Roman Kennke2006-01-171-3/+8
| | | | | | * native/jni/java-io/java_io_VMObjectStreamClass.c: (getFieldReference): Use MALLOC/FREE macros for portability instead of direct call to malloc() and free().
* 2006-01-17 Roman Kennke <kennke@aicas.com>Roman Kennke2006-01-171-8/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * native/jni/classpath/jcl.c: Added missing imports. (JCL_realloc): Fixed signature to include oldsize. This is needed for some targets. Make this function use the MEMORY_REALLOC macro for portability. * native/jni/classpath/jcl.h (JCL_realloc): Adjusted signature. * native/jni/java-io/java_io_VMFile.c: (Java_java_io_VMFile_create): Use target layer macro for handling errno, for portability. (Java_java_io_VMFile_length): Release filename string in error cases before returning. (Java_java_io_VMFile_list): Initialize filename variable. Use new version of JCL_realloc. * native/jni/java-net/java_net_VMInetAddress.c: (Java_java_net_VMInetAddress_getHostByName): Use renamed macro TARGET_NATIVE_NETWORK_GET_HOSTADDRESS_BY_NAME. * native/jni/java-net/javanet.c: (_javanet_bind): Make errorstr variable const to avoid compiler warning. (_javanet_set_option): Fixed typo. (_javanet_get_option): Fixed typo. * native/jni/java-nio/gnu_java_nio_channels_FileChannelImpl.c: (Java_gnu_java_nio_channels_FileChannelImpl_open): Made error_string variable const to avoid compiler warning. * native/target/generic/target_generic_file.h: Replaced // comments with /* */ comments to avoid compiler warnings. Added some spaces to make code better readable. * native/target/generic/target_generic_memory.h: Replaced // comments with /* */ comments to avoid compiler warnings. * native/target/generic/target_generic_misc.c: Removed unused TARGET_NATIVE_MISC_FORMAT_STRING macro. This caused compiler warnings due to use of varargs. * native/target/generic/target_generic_misc.h: Removed unused TARGET_NATIVE_MISC_FORMAT_STRING macro. This caused compiler warnings due to use of varargs. * native/target/generic/target_generic_network.h: Replaced // comments with /* */ comments to avoid compiler warnings. (targetGenericNetwork_receive): Fixed signature to use signed chars for buffer parameter to avoid warning when passing a jbyte to the function.
* 2006-01-16 Roman Kennke <kennke@aicas.com>Roman Kennke2006-01-161-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * jni/java-io/java_io_VMFile.c (Java_java_io_VMFile_list): Use new 4 argument version of TARGET_NATIVE_FILE_READ_DIR macro. * target/Linux/target_native_io.h: Fixed comment at #endif. * target/Linux/target_native_memory.h: New file. Contains portability macros for memory operations. * target/generic/target_generic.c: New file. Contains some functions for portability. * target/generic/target_generic.h: Use posix target and shorter macro names if CP_NEW is set. * target/generic/target_generic_file.h: Use posix target and shorter macro names if CP_NEW is set. (TARGET_NATIVE_FILE_READ_DIR): New parameter for maxNameLength. * target/generic/target_generic_io.c: New file. Contains some functions for IO portability. * target/generic/target_generic_io.h: Use posix target and shorter macro names if CP_NEW is set. * target/generic/target_generic_misc.c: New file. Contains some functions for miscallaneaous portability issues. * target/generic/target_generic_misc.h: Use posix target and shorter macro names if CP_NEW is set. * target/generic/target_generic_network.c: New file. Contains some functions for networking portability. * target/generic/target_generic_network.h: Use posix target and shorter macro names if CP_NEW is set. * target/posix/Makefile.am, * target/posix/target_posix.c, * target/posix/target_posix.h, * target/posix/target_posix_file.c, * target/posix/target_posix_file.h, * target/posix/target_posix_io.c, * target/posix/target_posix_io.h, * target/posix/target_posix_math.c, * target/posix/target_posix_math.h, * target/posix/target_posix_memory.c, * target/posix/target_posix_memory.h, * target/posix/target_posix_misc.c, * target/posix/target_posix_misc.h, * target/posix/target_posix_network.c, * target/posix/target_posix_network.h: New files. This implements the target native layer macros for Posix-like systems.
* 2006-01-16 Roman Kennke <kennke@aicas.com>Roman Kennke2006-01-161-1/+1
| | | | | | | | | | | | | | | | | | | | | | * native/target/generic/target_generic_math_float.h: Removed. This file has been replaced by target_generic_math.h. * native/target/generic/target_generic_math_int.h: Removed. This file has been replaced by target_generic_math.h. * native/target/generic/target_generic_math.h: New file. Replaces the old _int and _float versions. * native/target/Linux/target_native_math_float.h: Removed. This file has been replaced by target_native_math.h. * native/target/Linux/target_native_math_int.h: Removed. This file has been replaced by target_native_math.h. * native/target/Linux/target_native_math.h: New file. Replaces the old _int and _float versions. * native/target/Linux/Makefile.am: Adjusted for the changed filenames. * native/jni/java-io/java_io_VMFile.c: Include target_native_math.h instead of target_native_math_int.h. * native/jni/java-nio/gnu_java_nio_channels_FileChannelImpl.c: Likewise. * native/target/generic/target_generic_file.h: Likewise.
* 2005-11-25 Guilhem Lavaux <guilhem@kaffe.org>Guilhem Lavaux2005-11-264-426/+1
| | | | | | | | | | | * native/jni/java-io/javaio.c, native/jni/java-io/javaio.h: Removed. * native/jni/java-io/java_io_VMFile.c: Removed dependency on javaio.h * native/jni/java-nio/gnu_java_nio_channels_FileChannelImpl.c: Likewise.
* 2005-10-23 Guilhem Lavaux <guilhem@kaffe.org>Guilhem Lavaux2005-10-231-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | * configure.ac: Added support for "--with-native-libdir" and "--with-glibj-dir". Generate copy-vmresources.sh * lib/Makefile.am: Call copy-vmresources.sh to fetch possible vm resources from the vmdirs. * lib/copy-vmresources.sh.in: New script file. * lib/gen-classlist.sh.in: Include com/ as base package for the vm directories. * native/jawt/Makefile.am, native/jni/gtk-peer/Makefile.am, native/jni/java-io/Makefile.am, native/jni/java-lang/Makefile.am, native/jni/java-net/Makefile.am, native/jni/java-nio/Makefile.am, native/jni/java-util/Makefile.am, native/jni/midi-alsa/Makefile.am, native/jni/midi-dssi/Makefile.am, native/jni/qt-peer/Makefile.am, native/jni/xmlj/Makefile.am: Install libraries in nativelibdir and not pkglib.
* * all files: Update for new FSF address.Mark Wielaard2005-07-025-10/+10
|
* * java/io/ObjectInputStream.javaMark Wielaard2005-04-301-22/+0
| | | | | | | | | | | | | | (currentLoader): Don't create SecurityManager, directly call VMObjectInputStream.currentClassLoader(). (resolveProxyClass): Use currentLoader(). * vm/reference/java/io/VMObjectInputStream.java (currentClassLoader(SecurityManager)): Removed. (currentClassLoader): New method. * native/jni/java-io/java_io_VMObjectInputStream.c (Java_java_io_VMObjectInputStream_currentClassLoader): Removed. * include/java_io_VMObjectInputStream.h: Regenerated. * NEWS: Document new interface and reference implementation.
* 2005-04-16 Michael Koch <konqueror@gmx.de>Michael Koch2005-04-162-12/+12
| | | | | | | | | | | | | | | * include/Makefile.am: Removed java_io_ObjectInputStream.h and added java_io_VMObjectInputStream.h. * include/java_io_ObjectInputStream.h: Removed. * include/java_io_VMObjectInputStream.h: New file. * java/io/ObjectInputStream.java (currentClassLoader): Removed. (allocateObject): Likewise. * native/jni/java-io/Makefile.am: Removed java_io_ObjectInputStream.c and added java_io_VMObjectInputStream.c. * native/jni/java-io/java_io_ObjectInputStream.c: Removed. * native/jni/java-io/java_io_VMObjectInputStream.c: New file. * vm/reference/java/io/VMObjectInputStream.java: Likewise.
* 2005-04-08 Guilhem Lavaux <guilhem@kaffe.org>Guilhem Lavaux2005-04-084-550/+542
| | | | | | | | | | | | | | | | | | | | | | | | | | | | * native/jni/classpath/jcl.h, native/jni/java-io/java_io_ObjectInputStream.c, native/jni/java-io/java_io_VMFile.c, native/jni/java-io/java_io_VMObjectStreamClass.c, native/jni/java-io/javaio.c, native/jni/java-lang/java_lang_Double.c, native/jni/java-lang/java_lang_Math.c, native/jni/java-lang/java_lang_Object.c, native/jni/java-lang/java_lang_VMDouble.c, native/jni/java-lang/java_lang_VMFloat.c, native/jni/java-lang/java_lang_VMProcess.c, native/jni/java-lang/java_lang_VMSystem.c, native/jni/java-lang/java_lang_reflect_Array.c, native/jni/java-net/gnu_java_net_PlainDatagramSocketImpl.c, native/jni/java-net/gnu_java_net_PlainSocketImpl.c, native/jni/java-net/java_net_InetAddress.c, native/jni/java-net/java_net_NetworkInterface.c, native/jni/java-net/javanet.c, native/jni/java-nio/gnu_java_nio_VMPipe.c, native/jni/java-nio/gnu_java_nio_channels_FileChannelImpl.c, native/jni/java-nio/java_nio.c, native/jni/java-nio/java_nio_MappedByteBufferImpl.c, native/jni/java-nio/java_nio_VMDirectByteBuffer.c, native/jni/java-util/java_util_VMTimeZone.c: Reindented using GNU indent (GNU style).
* * native/jni/java-io/java_io_VMFile.cMark Wielaard2005-01-092-0/+4
| | | | | | | | | | | | (Java_java_io_VMFile_create): Call JCL_free_cstring() when done with string. * native/jni/java-io/javaio.c (_javaio_open_read): Likewise. (_javaio_open_readwrite): Likewise. * native/jni/java-lang/java_lang_VMSystem.c (Java_java_lang_VMSystem_getenv): Likewise. * native/jni/java-nio/gnu_java_nio_channels_FileChannelImpl.c (Java_gnu_java_nio_channels_FileChannelImpl_open): Likewise.
* 2004-12-06 Guilhem Lavaux <guilhem@kaffe.org>Guilhem Lavaux2004-12-061-21/+7
| | | | | | | | | | | | | | | | | | | | | | | Jeroen Frijters <jeroen@frijters.net> * java/io/ObjectInputStream.java (newObject): Changed prototype. Get a constructor reflect object directly. (callConstructor): Removed. (allocateObject): Changed prototype. (readClassDescriptor): Build the constructor reflection directly. (readObject): Invoke newObject using the new prototype. * java/io/ObjectStreamClass.java (firstNonSerializableParent): Removed. (firstNonSerializableParentConstructor): Added. * include/java_io_ObjectInputStream.h: Regenerated. * native/jni/java-io/java_io_ObjectInputStream.c (allocateObject): Allocate an object and call the requested constructor. (callConstructor): Removed.
* * configure.ac (CLASSPATH_MODULE): Add -no-undefined.Mark Wielaard2004-10-266-91/+134
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | (Werror): New configure flag. (gtk-peer): Remove comma from help string. (AM_CFLAGS): Replace by... (WARNING_CFLAGS, STRICT_WARNING_CFLAGS, ERROR_CFLAGS): New gcc flags. (AM_CPPFLAGS): Replace by... (CLASSPATH_INCLUDES): New -I gcc flags. * native/fdlibm/Makefile.am: Use new AM_LDFLAGS, AM_CPPFLAGS and AM_CFLAGS when not library specific flags are used. * native/jni/gtk-peer/Makefile.am: Likewise. * native/jni/java-io/Makefile.am: Likewise. * native/jni/java-lang/Makefile.am: Likewise. * native/jni/java-net/Makefile.am: Likewise. * native/jni/java-nio/Makefile.am: Likewise. * native/jni/java-util/Makefile.am: Likewise. * native/jni/java-io/java_io_ObjectInputStream.c: Mark function arguments unused where necessary. * native/jni/java-io/java_io_VMFile.c: Likewise. * native/jni/java-io/java_io_VMObjectStreamClass.c: Likewise. (getFieldReference): Make sure we allocate the_type ourselves if we free it later. Removed unused argument object. * native/jni/java-io/javaio.c (javaio_read): Removed unused argument obj. (javaio_write): Likewise. * native/jni/java-io/javaio.h: Mark function arguments unused where necessary. * native/jni/java-lang/java_lang_Double.c: Likewise. (Java_java_lang_Double_parseDouble): Declare buf as const char*. * native/jni/java-lang/java_lang_Math.c: Mark function arguments unused where necessary. * native/jni/java-lang/java_lang_VMDouble.c: Likewise. * native/jni/java-lang/java_lang_VMFloat.c: Likewise. * native/jni/java-lang/java_lang_VMSystem.c: Likewise. * native/jni/java-lang/java_lang_reflect_Array.c: Likewise. * native/jni/java-net/gnu_java_net_PlainDatagramSocketImpl.c (Java_gnu_java_net_PlainDatagramSocketImpl_receive0): Mark only maxlen and offset as unsigned. * native/jni/java-net/java_net_InetAddress.c: Mark function arguments unused where necessary. (Java_java_net_InetAddress_getHostByName): New local int variable max_addresses. * native/jni/java-net/java_net_NetworkInterface.c: Mark function arguments unused where necessary. * native/jni/java-net/javanet.c (_javanet_set_int_field): Removed unused argument class. (_javanet_accept): Check result variable after it has been assigned. * native/jni/java-nio/gnu_java_nio_NIOServerSocket.c: Mark function arguments unused where necessary. * native/jni/java-nio/gnu_java_nio_VMPipe.c: Likewise. * native/jni/java-nio/gnu_java_nio_VMSelector.c: Likewise. * native/jni/java-nio/gnu_java_nio_VMSelector.c: Likewise. * native/jni/java-nio/gnu_java_nio_channels_FileChannelImpl.c: Likewise. * native/jni/java-nio/java_nio_DirectByteBufferImpl.c: Likewise. * native/jni/java-nio/java_nio_MappedByteBufferImpl.c: Likewise. * native/jni/java-nio/java_nio_channels_Channels.c: Likewise. * native/jni/java-util/java_util_VMTimeZone.c (jint_to_charbuf): Mark as static function. (Java_java_util_VMTimeZone_getSystemTimeZoneId): Mark clazz argument as unused. Cast _timezone to long before use. * native/target/generic/target_generic_network.h: Remove asserts.
* 2004-05-21 Michael Koch <konqueror@gmx.de>Michael Koch2004-05-211-5/+0
| | | | | | | | | | | | | | | | | * acinclude.m4 (CLASSPATH_WITH_INCLUDEDIR): Removed. * configure.ac (EXTRA_INCLUDES): Removed. (AM_CPPFLAGS): New variable to store needed includes. * native/fdlibm/Makefile.am (INCLUDES): Removed. * native/jni/classpath/Makefile.am (INCLUDES): Removed. * native/jni/gtk-peer/Makefile.am: Use libgtkpeer_la_CPPFLAGS instead of INCLUDES. * native/jni/java-awt/Makefile.am (INCLUDES): Removed. * native/jni/java-io/Makefile.am (INCLUDES): Removed. * native/jni/java-lang/Makefile.am: Use libjavalang_la_CFLAGS and libjavalangreflect_la_CFLAGS instead of INCLUDES. * native/jni/java-net/Makefile.am (INCLUDES): Removed. * native/jni/java-nio/Makefile.am (INCLUDES): Removed. * native/jni/java-util/Makefile.am (INCLUDES): Removed.
* 2004-04-30 Michael Koch <konqueror@gmx.de>Michael Koch2004-04-301-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * include/gnu_java_awt_peer_gtk_GdkFontMetrics.h, include/gnu_java_awt_peer_gtk_GdkGraphics.h, include/gnu_java_awt_peer_gtk_GtkEmbeddedWindowPeer.h, include/gnu_java_awt_peer_gtk_GtkLabelPeer.h, include/gnu_java_awt_peer_gtk_GtkMenuBarPeer.h, include/gnu_java_awt_peer_gtk_GtkMenuPeer.h, include/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.h, include/gnu_java_awt_peer_gtk_GtkScrollPanePeer.h, include/gnu_java_awt_peer_gtk_GtkScrollbarPeer.h, include/gnu_java_awt_peer_gtk_GtkTextAreaPeer.h, include/gnu_java_awt_peer_gtk_GtkTextFieldPeer.h, include/gnu_java_awt_peer_gtk_GtkWindowPeer.h: Fixed stange method signatures produced by buggy gcjh. * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxMenuItemPeer.c: Include gnu_java_awt_peer_gtk_GtkCheckboxMenuItemPeer.h * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c (dispose): Removed. (remove): Removed. * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c (dispose): Removed. (requestFocus): Removed. (gtkWidgetSetUSize): Removed. * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c (setTitle): Removed. * native/jni/gtk-peer/gthread-jni.c (gdk_threads_wake): Removed * native/jni/java-io/javaio.h (_javaio_open_read): Added prototype. (_javaio_open_readwrite): Likewise. * native/jni/java-lang/java_lang_VMDouble.c: Include java_lang_VMDouble.h. * native/jni/java-lang/java_lang_reflect_Array.c (getLength): Removed. * native/jni/java-nio/gnu_java_nio_channels_FileChannelImpl.c (nativeGetLength): Removed.
* 2004-04-29 Michael Koch <konqueror@gmx.de>Michael Koch2004-04-291-2/+2
| | | | | | | | | | | | | | * native/jni/java-io/java_io_VMObjectStreamClass.c (getFieldReference): Use char* for strings, not jbyte*. * native/jni/java-lang/java_lang_VMProcess.c (copy_string): Likewise. * native/jni/java-lang/java_lang_VMSystem.c: Include jcl.h for JCL_FindClass definition. * native/jni/java-nio/gnu_java_nio_NIOServerSocket.c (getPlainSocketImpl): Return NULL. * native/jni/java-nio/java_nio_DirectByteBufferImpl.c (getImpl): Don't return anything. (adjustAddress): Return NULL.
* 2004-04-26 Michael Koch <konqueror@gmx.de>Michael Koch2004-04-262-45/+45
| | | | | | | | | | | | | | | * java/io/File.java: Moved all native methods to the new class VMFile and removed the "Internal" suffix. * vm/reference/java/io/VMFile.java: New file. * vm/reference/java/io/Makefile.am (EXTRA_DIST): Added VMFile.java. * include/java_io_File.h: Removed. * include/java_io_VMFile.h: New file. * include/Makefile.am: Generate java_io_VMFile.h. * native/jni/java-io/java_io_File.c: Moved all methods to java_io_VMFile.c and renamed them accordingly. * native/jni/java-io/java_io_VMFile.c: New file. * native/jni/java-io/Makefile.am: Removed java_io_File.c and added java_io_VMFile.c to build.
* * native/jni/java-io/java_io_VMObjectStreamClass.cMark Wielaard2004-04-221-1/+1
| | | | (getFieldReference): Allocate type_len + 1 bytes for type.
* * native/jni/java-io/java_io_VMObjectStreamClass.cMark Wielaard2004-04-131-8/+20
| | | | | getFieldReference(): Array types are different from reference types.
* 2004-04-12 Michael Koch <konqueror@gmx.de>Michael Koch2004-04-122-746/+0
| | | | | | | | | * native/jni/java-io/FileDescriptor.c: Removed. * native/jni/java-io/Makefile.am: Don't compile FileDescriptor.c * native/jni/java-nio/gnu_java_nio_channels_FileChannelImpl.c: Dont include java_io_FileDescriptor.h. * native/jni/java-nio/java_nio_DirectByteBufferImpl.c (shiftDown): Method signature fixed.
* 2004-04-12 Michael Koch <konqueror@gmx.de>Michael Koch2004-04-121-1/+1
| | | | | | | | | | | | | | * configure.ac: Initialize CLASSPATH_MODULE. * native/fdlibm/Makefile.am, native/jni/classpath/Makefile.am, native/jni/gtk-peer/Makefile.am, native/jni/java-awt/Makefile.am, native/jni/java-io/Makefile.am, native/jni/java-lang/Makefile.am, native/jni/java-net/Makefile.am, native/jni/java-nio/Makefile.am, native/jni/java-util/Makefile.am: Use new @CLASSPATH_MODULE@.
* * native/jni/java-io/java_io_VMObjectStreamClass.cMark Wielaard2004-04-111-5/+82
| | | | | | (throwInternalError): Just return when everything fails. (getFieldReference): Get field declaring class, not object class. Calculate field type descriptor if not yet given.
* * configure.ac: Set AM_CFLAGS to ISO C90 pedantic ansi, but withMark Wielaard2004-04-093-15/+9
| | | | | | | | | | | | | | | | | | | | | longlong (jlong) support and modern POSIX and BSD C library funtions/prototypes. * native/fdlibm/Makefile.am: Cancel out project wide AM_CFLAGS. * native/fdlibm/mprec.h: Remove C++ comments. * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c: Turn C++ comments into C comments. * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c: Likewise. * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c: Likewise. * native/jni/java-io/FileDescriptor.c: Likewise. * native/jni/java-io/java_io_File.c: Likewise. * native/jni/java-io/javaio.c: Remove unused fprintf calls. * native/jni/java-net/javanet.c: Turn C++ comments into C comments. * native/jni/java-nio/gnu_java_nio_channels_FileChannelImpl.c: Likewise. * native/target/generic/target_generic_file.h: Likewise. * native/target/generic/target_generic_network.h: Likewise.
* * java/io/ObjectStreamField.javaGuilhem Lavaux2004-04-081-0/+235
| | | | | | | | | | | | | | | | | | | | | (setBooleanField, setCharField, setByteField, setShortField, setIntField, setLongField, setFloatField, setDoubleField, setObjectField): Use native methods directly to be able to set final fields. * vm/reference/java/io/VMObjectStreamClass.java (setBooleanNative, setCharNative, setByteNative, setShortNative, setIntNative, setLongNative, setFloatNative, setDoubleNative, setObjectNative): New methods for serialization to be able to set final fields. * native/jni/java-io/java_io_VMObjectStreamClass.c: Implemented new native methods of java.io.VMObjectStreamClass accordingly. * include/java_io_VMObjectStreamClass.h: Regenerated. * NEWS: Added a warning clause about the VM Interface change.
* Reverted.Etienne M. Gagnon2004-03-296-720/+690
|
* 2004-03-27 Etienne M. Gagnon <gagnon.etienne_m@uqam.ca>Etienne M. Gagnon2004-03-276-690/+720
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * native/fdlibm/dtoa.c, native/fdlibm/e_acos.c, native/fdlibm/e_asin.c, native/fdlibm/e_atan2.c, native/fdlibm/e_exp.c, native/fdlibm/e_fmod.c, native/fdlibm/e_log.c, native/fdlibm/e_pow.c, native/fdlibm/e_rem_pio2.c, native/fdlibm/e_remainder.c, native/fdlibm/e_scalb.c, native/fdlibm/e_sqrt.c, native/fdlibm/fdlibm.h, native/fdlibm/k_cos.c, native/fdlibm/k_rem_pio2.c, native/fdlibm/k_sin.c, native/fdlibm/k_tan.c, native/fdlibm/mprec.c, native/fdlibm/mprec.h, native/fdlibm/s_atan.c, native/fdlibm/s_ceil.c, native/fdlibm/s_copysign.c, native/fdlibm/s_cos.c, native/fdlibm/s_fabs.c, native/fdlibm/s_floor.c, native/fdlibm/s_rint.c, native/fdlibm/s_scalbn.c, native/fdlibm/s_sin.c, native/fdlibm/s_tan.c, native/fdlibm/sf_fabs.c, native/fdlibm/sf_rint.c, native/fdlibm/strtod.c, native/fdlibm/w_acos.c, native/fdlibm/w_asin.c, native/fdlibm/w_atan2.c, native/fdlibm/w_exp.c, native/fdlibm/w_fmod.c, native/fdlibm/w_log.c, native/fdlibm/w_pow.c, native/fdlibm/w_remainder.c, native/fdlibm/w_sqrt.c, native/jni/classpath/jcl.c, native/jni/classpath/jcl.h, native/jni/classpath/jnilink.c, native/jni/classpath/jnilink.h, native/jni/classpath/native_state.c, native/jni/classpath/native_state.h, native/jni/classpath/primlib.c, native/jni/classpath/primlib.h, native/jni/gtk-peer/gdkfont.h, native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkClasspathFontPeer.c, native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkClasspathFontPeerMetrics.c, native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontMetrics.c, native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGlyphVector.c, native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c, native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c, native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c, native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c, native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCanvasPeer.c, native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxMenuItemPeer.c, native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c, native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkChoicePeer.c, native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkClipboard.c, native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c, native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEmbeddedWindowPeer.c, native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c, native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c, native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImagePainter.c, native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkLabelPeer.c, native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c, native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c, native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuBarPeer.c, native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuComponentPeer.c, native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuItemPeer.c, native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c, native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPanelPeer.c, native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c, native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollBarPeer.c, native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollPanePeer.c, native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c, native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c, native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c, native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c, native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c, native/jni/gtk-peer/gthread-jni.c, native/jni/gtk-peer/gtkpeer.h, native/jni/java-awt/gnu_java_awt_EmbeddedWindow.c, native/jni/java-io/FileDescriptor.c, native/jni/java-io/java_io_File.c, native/jni/java-io/java_io_ObjectInputStream.c, native/jni/java-io/java_io_VMObjectStreamClass.c, native/jni/java-io/javaio.c, native/jni/java-io/javaio.h, native/jni/java-lang/java_lang_Double.c, native/jni/java-lang/java_lang_Math.c, native/jni/java-lang/java_lang_Object.c, native/jni/java-lang/java_lang_VMDouble.c, native/jni/java-lang/java_lang_VMFloat.c, native/jni/java-lang/java_lang_VMSystem.c, native/jni/java-lang/java_lang_reflect_Array.c, native/jni/java-net/gnu_java_net_PlainDatagramSocketImpl.c, native/jni/java-net/gnu_java_net_PlainSocketImpl.c, native/jni/java-net/java_net_InetAddress.c, native/jni/java-net/java_net_NetworkInterface.c, native/jni/java-net/javanet.c, native/jni/java-net/javanet.h, native/jni/java-nio/gnu_java_nio_NIOServerSocket.c, native/jni/java-nio/java_nio.c, native/jni/java-nio/java_nio_DirectByteBufferImpl.c, native/jni/java-nio/java_nio_FileChannelImpl.c, native/jni/java-nio/java_nio_FileLockImpl.c, native/jni/java-util/java_util_TimeZone.c, native/target/Linux/target_native.h, native/target/Linux/target_native_file.h, native/target/Linux/target_native_io.h, native/target/Linux/target_native_math_float.h, native/target/Linux/target_native_math_int.h, native/target/Linux/target_native_misc.h, native/target/Linux/target_native_network.h, native/target/generic/target_generic.h, native/target/generic/target_generic_file.h, native/target/generic/target_generic_io.h, native/target/generic/target_generic_math_float.h, native/target/generic/target_generic_math_int.h, native/target/generic/target_generic_misc.h, native/target/generic/target_generic_network.h, native/testsuite/guile-jvm.c, native/vmi/vmi.c, native/vmi/vmi.h: Indented using GNU indent.
* * include/Makefile.am: Add java_io_VMObjectStreamClass.h generation.Mark Wielaard2004-03-152-1/+63
| | | | | | * include/java_io_VMObjectStreamClass.h: New file. * native/jni/java-io/Makefile.am (SOURCES): Add new file. * native/jni/java-io/java_io_VMObjectStreamClass.c: New file.
* 2004-01-15 Michael Koch <konqueror@gmx.de>Michael Koch2004-01-151-0/+3
| | | | | | | | * java/io/File.java (list): Return null in error case. * native/jni/java-io/java_io_File.c (Java_java_io_File_listInternal): release local reference. This fixes classpath bug #6898.
* Fixed return value of 0 in Java_java_io_File_lastModifiedInternal()Torsten Rupp2003-08-191-1/+1
|
* fixed warning in Java_java_io_FileDescriptor_nativeSync()Torsten Rupp2003-07-301-1/+1
|
* Replaced JNI_JLONG_CONST* -> TARGET_NATIVE_MATH_INT_*, because ↵Torsten Rupp2003-07-232-10/+10
| | | | JNI_JLONG_CONST* should be removed from jni.h
* Replaced JNI_JLONG_CONST* -> TARGET_NATIVE_MATH_INT_*, because ↵Torsten Rupp2003-07-231-20/+19
| | | | JNI_JLONG_CONST* should be removed from jni.h; removed HAVE_FTRUNCATE, HAVE_FSYNC, HAVE_SELECT (now set in configure)
* Renamed some internal constants to avoid conflicts with existing constants ↵Torsten Rupp2003-07-161-21/+22
| | | | in some OS (e. g. vxWorks)
* Implemented target native layer macros for all native OS functionsTorsten Rupp2003-07-094-607/+872
|
* 2003-07-02 Michael Koch <konqueror@gmx.de>Michael Koch2003-07-022-518/+1
| | | | | | | | | | | | | | | | | | | | | | | | | * configure.in: Added native/jni/java-nio/Makefile to AC_OUTPUT call. * include/gnu_java_nio_FileChannelImpl.h: Regenrated. * include/gnu_java_nio_FileLockImpl.h, include/java_nio_DirectByteBufferImpl.h: New files. * native/jni/Makefile.am (SUBDIRS): Added new java-nio subdir. * native/jni/java-io/Makefile.am: Removed java_nio.c from compilation. * native/jni/java-io/java_nio.c: Removed. * native/jni/java-net/java_net_NetworkInterface.c (getRealNetworkInterfaces): Fixed arguments. * native/jni/java-nio/.cvsignore, native/jni/java-nio/Makefile.am, native/jni/java-nio/java_nio.c, native/jni/java-nio/java_nio_DirectByteBufferImpl.c, native/jni/java-nio/java_nio_FileChannelImpl.c, native/jni/java-nio/java_nio_FileLockImpl.c: New files.