summaryrefslogtreecommitdiffstats
path: root/libjava
Commit message (Collapse)AuthorAgeFilesLines
* * java/lang/reflect/natMethod.cc (get_ffi_type): Test size oftromey2000-01-052-4/+24
| | | | | | | | | jboolean and select correct ffi type on that basis. (_Jv_CallNonvirtualMethodA): Handle `void' return type. Constructor call always has `void' return type. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@31242 138bc75d-0d04-0410-961f-82ee72b054a4
* * java/lang/Class.h (getSignature): Updated.tromey2000-01-054-10/+24
| | | | | | | | | | | | * java/lang/Class.java (getSignature): Updated. * java/lang/natClass.cc (getSignature): Added `is_constructor' argument. (getConstructor): Ensure constructor is public. (_getConstructors): Check for public-ness of constructor when `declared' is false, not when it is true. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@31241 138bc75d-0d04-0410-961f-82ee72b054a4
* * java/net/natPlainDatagramSocketImpl.cc (peek): Removed unnecesarywarrenl2000-01-042-3/+8
| | | | | | | | comment. (receive): Set the sender's address in the DatagramPacket. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@31218 138bc75d-0d04-0410-961f-82ee72b054a4
* 2000-01-04 Tom Tromey <tromey@cygnus.com>tromey2000-01-0418-227/+734
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * java/lang/reflect/natConstructor.cc (newInstance): Pass declaring class as return_type argument to _Jv_CallNonvirtualMethodA. * java/lang/reflect/natMethod.cc (_Jv_CallNonvirtualMethodA): In constructor case, create object and use it as `this' argument. * java/lang/Class.h (_getConstructors): Declare. (_getFields): Declare. * java/lang/Class.java (getConstructors): Wrote. (_getConstructors): New native method. (getDeclaredConstructors): Wrote. (_getFields): Declare new native method. * java/lang/natClass.cc (_Jv_LookupInterfaceMethod): Removed incorrect comment. (getMethod): Work correctly when class is primitive. (getDeclaredMethods): Likewise. Compute offset using `method', not `mptr'. (getDeclaredMethod): Likewise. (getConstructor): Wrote. (ConstructorClass): New define. (getDeclaredConstructor): Wrote. (_getConstructors): New method. (_getFields): New method. (getFields): Wrote. * Makefile.in: Rebuilt. * Makefile.am (AM_CXXFLAGS): Added -D_GNU_SOURCE. * prims.cc: Remove `#pragma implementation'. * gcj/array.h: Remove `#pragma interface'. * prims.cc (_Jv_equaln): New function. * java/lang/Class.java (getSignature): Declare. * resolve.cc (_Jv_LookupDeclaredMethod): Moved to natClass.cc. * java/lang/natClass.cc (_Jv_LookupDeclaredMethod): Moved from resolve.cc. (getSignature): New method. (getDeclaredMethod): Wrote. (getMethod): Wrote. Include StringBuffer.h. * java/lang/Class.h (Class): Added _Jv_FromReflectedConstructor as a friend. Unconditionally declare _Jv_LookupDeclaredMethod as a friend. (getSignature): Declare. * include/jvm.h (_Jv_GetTypesFromSignature): Declare. (_Jv_equaln): Declare. (_Jv_CallNonvirtualMethodA): Declare. * Makefile.in: Rebuilt. * Makefile.am (nat_source_files): Added natConstructor.cc. (java/lang/reflect/Constructor.h): New target. * java/lang/reflect/natConstructor.cc: New file. * java/lang/reflect/Constructor.java (newInstance): Now native. (declaringClass): Renamed from decl_class. (offset): Renamed from index. (getType): New native method. (getModifiers): Now native. (getParameterTypes): Call getType if required. (hashCode): Include hash code from declaring class. (modifiers): Removed. (toString): Call getType if required. * gcj/method.h (_Jv_FromReflectedConstructor): New function. * java/lang/reflect/natMethod.cc (hack_call): New method. Removed `#if 0' around FFI code. Include <gnu/gcj/RawData.h>. (invoke): Use _Jv_CallNonvirtualMethodA. Throw IllegalArgumentException when argument object and class disagree. (_Jv_GetTypesFromSignature): New function. (getType): Use it. (ObjectClass): New define. (_Jv_CallNonvirtualMethodA): New function. * java/lang/reflect/Method.java (hack_trampoline): New method. (hack_call): New native method. 1999-12-21 Per Bothner <per@bothner.com> * java/lang/natClass.cc (getDeclaredMethods): Correctly compute offset in new Method. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@31199 138bc75d-0d04-0410-961f-82ee72b054a4
* * libjava.mauve/mauve.exp (mauve_compute_uses): Let user selecttromey2000-01-032-1/+11
| | | | | | | specific tests to run. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@31183 138bc75d-0d04-0410-961f-82ee72b054a4
* Commit forgotten Thread.java patch.bryce1999-12-271-4/+13
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@31094 138bc75d-0d04-0410-961f-82ee72b054a4
* 1999-12-22 Bryce McKinlay <bryce@albatross.co.nz>bryce1999-12-244-64/+108
| | | | | | | | | | | | | | | | | | | | | | | | * java/lang/natObject.cc (notify): Throw message with IllegalMonitorStateException. (notifyAll): Ditto. (wait): Ditto. * java/lang/Thread.java (isInterrupted): Don't clear interrupt_flag. (isInterrupted_): New function, which does clear interrupt_flag. (interrupt): Use `isInterrupted_'. * java/lang/natThread.cc (interrupt): Add comment. (join): Set `Prev' in joiner loop. Change various calls to `isInterrupted' to use `isInterrupted_'. * posix-threads.cc (_Jv_CondWait): Allways use pthread_cond_timedwait on linux. Set result to 0 on an interrupt. Test interrupted status of java Thread object directly. FLAG_INTERRUPTED: removed. (_Jv_ThreadStart): Throw OutOfMemoryError if pthread_create fails. (_Jv_ThreadInterrupt): Don't set FLAG_INTERRUPTED. (_Jv_InitThreads): Don't block SIGINT. (_Jv_ThreadWait): Don't configure SIGINT handler. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@31082 138bc75d-0d04-0410-961f-82ee72b054a4
* * mauve-libgcj: Added java.lang.reflect.Modifier.toString12.tromey1999-12-212-0/+6
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@31061 138bc75d-0d04-0410-961f-82ee72b054a4
* * java/lang/reflect/Modifier.java (STRICT): New constant.tromey1999-12-203-3/+16
| | | | | | | | (isStrict): New method. (toString): Added `strict'. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@31040 138bc75d-0d04-0410-961f-82ee72b054a4
* Alpha Linux changes.green1999-12-203-2/+8
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@31030 138bc75d-0d04-0410-961f-82ee72b054a4
* 1999-12-19 Anthony Green <green@cygnus.com>green1999-12-207-256/+427
| | | | | | | | | | | | | | | | | | * libgcjdata.c: New file. * libgcj.spec.in: Use @LIBDATASTARTSPEC@ in startfile. * configure: Rebuilt. * configure.in (LIBDATASTARTSPEC): Force data with a known name into the program. * Makefile.in: Rebuilt. * Makefile.am: Build libgcjdata.a. * libgcj.spec.in: Use @FORCELIBGCCSPEC@ in startfile. * configure: Rebuilt. * configure.in (FORCELIBGCCSPEC): Force important parts of libgcc into every program. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@31027 138bc75d-0d04-0410-961f-82ee72b054a4
* * java/lang/reflect/Method.java (toString): Call getType iftromey1999-12-182-0/+6
| | | | | | | required. Partial fix for PR libgcj/111. From Per Bothner. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@31002 138bc75d-0d04-0410-961f-82ee72b054a4
* * java/lang/natPosixProcess.cc (startProcess): Don't use sprintf.tromey1999-12-172-4/+9
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@30996 138bc75d-0d04-0410-961f-82ee72b054a4
* 1999-12-16 Bryce McKinlay <bryce@albatross.co.nz>bryce1999-12-174-61/+47
| | | | | | | | | | | | | | | | | | | | * java/lang/Boolean.java (Boolean(String)): Set Value' to false on a null String constructor parameter. * java/net/natPlainSocketImpl.cc: Remove unneccessary sprintf calls for exception messages. BooleanClass: declare. (setOption): Use BooleanClass instead of Class.forName() for instanceof test. (bind): Cast 4th parameter of setsockopt to char *' for compatibility with older Solaris headers. * java/net/natPlainDatagramSocketImpl.cc: Remove unneccessary sprintf calls for exception messages. BooleanClass, IntegerClass: declare. (setOption): Use BooleanClass and IntegerClass, not Class.forName() for instanceof test. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@30988 138bc75d-0d04-0410-961f-82ee72b054a4
* * java/lang/natSystem.cc (init_properties): Don't set user.name ortromey1999-12-156-232/+603
| | | | | | | | | | | | | | user.home if NO_GETUID defined. Only set user.dir if getcwd exists. * include/config.h.in: Rebuilt. * acconfig.h (NO_GETUID): New define. * configure.in: Rebuilt. * configure.in: Define NO_GETUID in cross case. Check for getcwd in native case. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@30964 138bc75d-0d04-0410-961f-82ee72b054a4
* * include/posix-threads.h (_Jv_PthreadCheckMonitor): Handle casetromey1999-12-092-2/+22
| | | | | | | where no recursive mutexes exist. Fixes PR libgcj/117. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@30847 138bc75d-0d04-0410-961f-82ee72b054a4
* * include/jvm.h: Declare many functions withgreen1999-12-063-12/+23
| | | | | | | | __attribute__((__malloc__)). * gcj/javaprims.h: Ditto. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@30794 138bc75d-0d04-0410-961f-82ee72b054a4
* Updated the thanks list.green1999-12-032-2/+19
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@30764 138bc75d-0d04-0410-961f-82ee72b054a4
* * java/lang/natString.cc (equalsIgnoreCase): return false ifbryce1999-12-023-5/+12
| | | | | | | | | anotherString is null. * java/lang/Boolean.java (valueOf): return FALSE if argument is null. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@30763 138bc75d-0d04-0410-961f-82ee72b054a4
* 1999-12-02 Bryce McKinlay <bryce@albatross.co.nz>bryce1999-12-022-1/+6
| | | | | | | | * libjava/java/net/ServerSocket.java (ServerSocket): Bind to any interface if bindAddr is null. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@30755 138bc75d-0d04-0410-961f-82ee72b054a4
* * posix-threads.cc (_Jv_MutexInit): Use _Jv_PthreadGetMutex to gettromey1999-11-302-1/+10
| | | | | | | | mutex to initialize. Initialize `count' if required. Fixes PR libgcj/98. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@30725 138bc75d-0d04-0410-961f-82ee72b054a4
* 1999-11-27 Per Bothner <per@bothner.com>tromey1999-11-293-74/+276
| | | | | | | | | * exception.cc: Remove prototype declarations for malloc and free. These clash with recent versions of glibc, which specifies `throws ()' when __cplusplus is defined. Instead, #include <stdlib.h>. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@30709 138bc75d-0d04-0410-961f-82ee72b054a4
* * prims.cc (_Jv_NewObjectArray): Usetromey1999-11-255-51/+63
| | | | | | | | | | | | | | _Jv_GetArrayElementFromElementType. (_Jv_NewPrimArray): Likewise. * java/lang/natObject.cc (clone): Use _Jv_GetArrayElementFromElementType instead of sizeof. * java/lang/natSystem.cc (arraycopy): Use _Jv_GetArrayElementFromElementType. * include/jvm.h (_Jv_GetArrayElementFromElementType): New function. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@30655 138bc75d-0d04-0410-961f-82ee72b054a4
* 1999-11-23 Bryce McKinlay <bryce@albatross.co.nz>bryce1999-11-233-34/+46
| | | | | | | | | | | * java/net/natPlainSocketImpl.cc: Fix potential buffer overruns in Exception messages. PR java.net/57. (bind): set SO_REUSEADDR before bind. * java/net/natPlainDatagramSocketImpl.cc: Fix potential buffer overruns. PR java.net/57. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@30637 138bc75d-0d04-0410-961f-82ee72b054a4
* sjlj jumbo patchtromey1999-11-1918-661/+469
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@30591 138bc75d-0d04-0410-961f-82ee72b054a4
* * no-threads.cc (_Jv_ThreadStart): Use JvFail and not JvAssert.tromey1999-11-182-1/+6
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@30569 138bc75d-0d04-0410-961f-82ee72b054a4
* * java/lang/natClass.cc (MCACHE_SIZE): Define as a power of 2tromey1999-11-182-3/+16
| | | | | | | | minus 1. (method_cache): Made larger. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@30568 138bc75d-0d04-0410-961f-82ee72b054a4
* * java/util/zip/ZipFile.java: Compute the offset of the ZipEntrygreen1999-11-072-4/+12
| | | | | | | data correctly. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@30439 138bc75d-0d04-0410-961f-82ee72b054a4
* * java/lang/natThread.cc (destroy): Removed incorrect comment.tromey1999-11-052-2/+4
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@30423 138bc75d-0d04-0410-961f-82ee72b054a4
* 1999-11-05 Jeff Sturm <jsturm@sigma6.com>tromey1999-11-053-5/+11
| | | | | | | | | * boehm.cc (_Jv_GCSetInitialHeapSize): Swapped size & current. * prims.cc (parse_heap_size): Use end, not spec. Use 1024 multipler for `k'. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@30418 138bc75d-0d04-0410-961f-82ee72b054a4
* * java/lang/natThread.cc (stop): Removed argument name.tromey1999-11-055-16/+11
| | | | | | | | | | * java/lang/ThreadGroup.java (ThreadGroup(int)): No longer `private'; now has default access. * Makefile.in: Rebuilt. * Makefile.am (java/lang/ThreadGroup.h): Removed. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@30417 138bc75d-0d04-0410-961f-82ee72b054a4
* * java/lang/natClass.cc (method_cache_count): Removed.tromey1999-11-044-317/+137
| | | | | | | | (_Jv_FindMethodInCache): Don't loop looking for the hash entry. (_Jv_AddMethodToCache): Don't loop. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@30397 138bc75d-0d04-0410-961f-82ee72b054a4
* * configure.in: Removed `qt' threads case.tromey1999-11-045-428/+214
| | | | | | | | * include/quick-threads.h: Removed. * quick-threads.cc: Removed. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@30393 138bc75d-0d04-0410-961f-82ee72b054a4
* * include/quick-threads.h (_Jv_ThreadCancel): Removed.tromey1999-11-047-68/+21
| | | | | | | | | | | | | | | | | | | (_Jv_ThreadDestroy): Likewise. * include/no-threads.h (_Jv_ThreadCancel): Removed. (_Jv_ThreadDestroy): Likewise. * include/posix-threads.h (struct _Jv_Thread_t): Removed `exception' field. (_Jv_ThreadCancel): Removed decl. (_Jv_ThreadDestroy): Removed. * posix-threads.cc (_Jv_ThreadCancel): Removed. (throw_cleanup): Removed. (really_start): Don't push or pop cleanup. (_Jv_ThreadInitData): Don't initialize `exception' field. * java/lang/Thread.java (stop): Officially unimplemented. * java/lang/natThread.cc (stop): Officially unimplemented. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@30392 138bc75d-0d04-0410-961f-82ee72b054a4
* Actually removed files which were supposedlytromey1999-11-036-614/+0
| | | | | | | removed a long time ago. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@30379 138bc75d-0d04-0410-961f-82ee72b054a4
* 1999-11-02 Bryce McKinlay <bryce@albatross.co.nz>bryce1999-11-032-1/+3
| | | | | | | | * posix-threads.cc: Don't include boehm-config.h. Include gcconfig.h instead. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@30365 138bc75d-0d04-0410-961f-82ee72b054a4
* 1999-11-02 Bryce McKinlay <bryce@albatross.co.nz>bryce1999-11-032-1/+4
| | | | | | | * posix-threads.cc: Don't include boehm-config.h. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@30361 138bc75d-0d04-0410-961f-82ee72b054a4
* * boehm.cc: Don't include boehm-config.h.tromey1999-11-032-4/+4
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@30359 138bc75d-0d04-0410-961f-82ee72b054a4
* * boehm.cc (_Jv_InitGC): Set GC_java_finalization.tromey1999-11-022-19/+9
| | | | | | | | (sum_blocks): Removed. (_Jv_GCFreeMemory): Use GC_get_free_bytes. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@30335 138bc75d-0d04-0410-961f-82ee72b054a4
* 1999-11-01 Bryce McKinlay <bryce@albatross.co.nz>bryce1999-11-014-10/+28
| | | | | | | | | | * java/io/PrintStream (PrintStream): Fix illegal usage of "this" before "super". * java/io/OutputStreamWriter (OutputStreamWriter): ditto. * java/io/InputStreamReader (InputStreamReader): ditto. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@30300 138bc75d-0d04-0410-961f-82ee72b054a4
* * Makefile.in: Rebuilt.tromey1999-10-2211-26/+229
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Makefile.am (java/lang/ClassLoader.h): New target. * java/lang/natClassLoader.cc (_Jv_FindClass): Removed reference to `redirect'. * include/java-props.h (_Jv_Compiler_Properties): Changed declaration. * gcj/array.h (JvRunMain, _Jv_RunMain): Don't declare. * include/jvm.h (_Jv_GCSetInitialHeapSize, _Jv_GCSetMaximumHeapSize): Declare. (JvRunMain, _Jv_RunMain): Declare. (_Jv_SetMaximumHeapSize, _Jv_SetInitialHeapSize): Declare. * nogc.cc (_Jv_GCSetInitialHeapSize): New function. (_Jv_GCSetMaximumHeapSize): Likewise. * boehm.cc (_Jv_GCSetInitialHeapSize): New function. (_Jv_GCSetMaximumHeapSize): Likewise. * prims.cc (parse_heap_size): New function. (_Jv_SetInitialHeapSize): Likewise. (_Jv_SetMaximumHeapSize): Likewise. (_Jv_Compiler_Properties): New global. * gij.cc (help): New function. (version): Likewise. (heap_size): Likewise. (heap_max_size): Likewise. (main): Parse arguments. Set _Jv_Compiler_Properties. Include <config.h>, <java-props.h>. (_Jv_Compiler_Properties): Removed. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@30133 138bc75d-0d04-0410-961f-82ee72b054a4
* 1999-10-19 Bryce McKinlay <bryce@albatross.co.nz>bryce1999-10-204-0/+35
| | | | | | | | | | | * libjava.compile/invokeinterface: New directory. * libjava.compile/invokeinterface/Test.java: New file. Test code for PR gcj/71 and PR gcj/72. * libjava.compile/invokeinterface/A.java: New file. * libjava.compile/invokeinterface/B.java: New file. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@30094 138bc75d-0d04-0410-961f-82ee72b054a4
* * gnu/gcj/runtime/VMClassLoader.java (getVMClassLoader): Newtromey1999-10-184-14/+30
| | | | | | | | | | | | | | method. (redirect): New static field. * java/lang/ClassLoader.java (getSystemClassLoader): Now native (getVMClassLoader0): Removed. * java/lang/natClassLoader.cc (getVMClassLoader0): Removed. (redirect): Removed. (getSystemClassLoader): Implemented. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@30075 138bc75d-0d04-0410-961f-82ee72b054a4
* * java/lang/ClassLoader.java (getSystemResource): Usegreen1999-10-174-12/+40
| | | | | | | | | | | | | | | | | getSystemClassLoader instead of ClassLoader.system. (getSystemResourceAsStream): Ditto. * java/lang/natClassLoader.cc (redirect): Make static and remove #ifdef INTERPRETER so it is always defined. (getVMClassLoader0): Remove #ifdef INTERPRETER so it always returns a VMClassLoader. * java/util/ResourceBundle.java (trySomeGetBundle): Create a PropertyResourceBundle if a properties file is found before a ResourceBundle class. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@30048 138bc75d-0d04-0410-961f-82ee72b054a4
* * gij.cc (main): Formatting fixes.tromey1999-10-154-6/+39
| | | | | | | | | | | | (_Jv_Compiler_Properties): Define. * java/lang/natSystem.cc (_Jv_Environment_Properties): Don't declare. (init_properties): Set properites from _Jv_Compiler_Properties. * include/java-props.h (_Jv_Compiler_Properties, _Jv_Environment_Properties): Declare. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@30020 138bc75d-0d04-0410-961f-82ee72b054a4
* * include/java-props.h: Added copyright.tromey1999-10-152-0/+12
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@30018 138bc75d-0d04-0410-961f-82ee72b054a4
* * libtool-version: Catch up by incrementing current.green1999-10-1510-213/+494
| | | | | | | | | | | | | | | | | | | | | | | | | | * configure.host: Disable use of GCJ_PROPERTIES for mips-tx39. * configure, include/config.h.in: Rebuilt. * acconfig.h (DISABLE_GETENV_PROPERTIES): Undefine. * configure.in: Added --disable-getenv-properties and new define `DISABLE_GETENV_PROPERTIES'. * prims.cc (PROCESS_GCJ_PROPERTIES): Define. (next_property_key): New function. (next_property_value): New function. (process_gcj_properties): New function. (JvRunMain): Call process_gcj_properties. (_JvRunMain): Ditto. * java/lang/natSystem.cc (init_properties): Set properties defined in GCJ_PROPERTIES. Also add 1.2 style versioning properties. * include/java-props.h: New file. * java/lang/natSystem.cc (init_properties): Add new properties to conform with Java Product Versioning Specification. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@30007 138bc75d-0d04-0410-961f-82ee72b054a4
* * configure: Rebuilt.tromey1999-10-134-226/+220
| | | | | | | * configure.in: Fixed test for --disable-java-net. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@29931 138bc75d-0d04-0410-961f-82ee72b054a4
* * configure.in (GCJ): Define as "target-gcj", not "target/gcj"tromey1999-10-064-137/+147
| | | | | | | | when building Canadian cross. (NATIVE): Don't define when cross-compiling. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@29848 138bc75d-0d04-0410-961f-82ee72b054a4
* * java/net/natPlainSocketImpl.cc: Don't include headers iftromey1999-10-042-0/+5
| | | | | | | java.net is disabled. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@29812 138bc75d-0d04-0410-961f-82ee72b054a4
OpenPOWER on IntegriCloud