- Apr 17, 2000
-
-
green authored
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@33205 138bc75d-0d04-0410-961f-82ee72b054a4
-
green authored
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@33204 138bc75d-0d04-0410-961f-82ee72b054a4
-
green authored
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@33203 138bc75d-0d04-0410-961f-82ee72b054a4
-
green authored
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@33202 138bc75d-0d04-0410-961f-82ee72b054a4
-
- Apr 16, 2000
-
-
bryce authored
* java/io/natFileDescriptorPosix.cc (open): Use mode 0666. Fix for PR libgcj/202. (available): Initialize `Where' to prevent bogus compiler warning. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@33181 138bc75d-0d04-0410-961f-82ee72b054a4
-
- Apr 14, 2000
-
-
bryce authored
Additional test for PR gcj/148: * libjava.compile/assignment_2.java: New file. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@33144 138bc75d-0d04-0410-961f-82ee72b054a4
-
- Apr 12, 2000
-
-
tromey authored
registration. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@33127 138bc75d-0d04-0410-961f-82ee72b054a4
-
tromey authored
(intern): Register finalizer for string. * java/lang/String.java (unintern): Now static; added obj argument. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@33124 138bc75d-0d04-0410-961f-82ee72b054a4
-
- Apr 11, 2000
-
-
tromey authored
* java/util/Hashtable.java (HashtableEntry): Now `final'. (HashtableEnumeration): Likewise. * java/util/zip/ZipFile.java (ZipEnumeration): Now `final'. * java/text/RuleBasedCollator.java (RBCElement): Now `final'. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@33083 138bc75d-0d04-0410-961f-82ee72b054a4
-
warrenl authored
* java/io/OptionalDataException.java: New file. * java/io/StreamCorruptedException.java: New file. * java/math/BigDecimal.java: New file. * java/sql/CallableStatement.java: New file. * java/sql/Connection.java: New file. * java/sql/DataTruncation.java: New file. * java/sql/DatabaseMetaData.java: New file. * java/sql/Date.java: New file. * java/sql/Driver.java: New file. * java/sql/DriverManager.java: New file. * java/sql/DriverPropertyInfo.java: New file. * java/sql/PreparedStatement.java: New file. * java/sql/ResultSet.java: New file. * java/sql/ResultSetMetaData.java: New file. * java/sql/SQLException.java: New file. * java/sql/SQLWarning.java: New file. * java/sql/Statement.java: New file. * java/sql/Time.java: New file. * java/sql/Timestamp.java: New file. * java/sql/Types.java: New file. * Makefile.am: Added above new files. * Makefile.in: Rebuilt. * mauve-libgcj: Turned on java.math, java.sql and java.security tests. * java/net/MulticastSocket.java (MulticastSocket): Pass values a la DatagramSocket constructor instead of null. java.sql is JDK 1.1 Compliant git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@33077 138bc75d-0d04-0410-961f-82ee72b054a4
-
- Apr 09, 2000
-
-
green authored
* include/posix-threads.h (_Jv_MutexUnlock): Replace _JV_NOT_OWNER. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@33039 138bc75d-0d04-0410-961f-82ee72b054a4
-
green authored
* posix-threads.cc (_Jv_MutexLock): Moved back to posix-threads.h. (_Jv_MutexUnlock): Ditto. * include/posix-threads.h (_Jv_MutexLock): From posix-threads.cc. (_Jv_MutexUnlock): Ditto. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@33037 138bc75d-0d04-0410-961f-82ee72b054a4
-
green authored
* java/lang/StringBuffer.java (ensureCapacity): Don't call Math::max. (ensureCapacity_unsynchronized): New private method. (append): Use ensureCapacity_unsynchronized. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@33036 138bc75d-0d04-0410-961f-82ee72b054a4
-
tromey authored
* Makefile.am (awt_java_source_files): Added new files. * java/awt/IllegalComponentStateException.java: New file. * java/awt/ItemSelectable.java: New file. * java/awt/event/WindowEvent.java: Finished. * java/awt/event/TextEvent.java: Finished. * java/awt/event/ContainerEvent.java: New file. * java/awt/Component.java (getX, getY): New methods. * java/awt/event/PaintEvent.java: New file. * java/awt/event/MouseEvent.java: New file. * java/awt/ActiveEvent.java: New file. * java/awt/event/KeyEvent.java: Finished. * java/awt/event/ItemEvent.java: New file. * java/awt/Adjustable.java: New file. * java/awt/event/InputMethodEvent.java: New file. * java/awt/event/InputEvent.java: Finished. * java/awt/event/FocusEvent.java: New file. * java/awt/event/MouseMotionAdapter.java: New file. * java/awt/event/MouseAdapter.java: New file. * java/awt/event/KeyAdapter.java: New file. * java/awt/event/FocusAdapter.java: New file. * java/awt/event/ContainerAdapter.java: New file. * java/awt/event/ComponentEvent.java: Finished. * java/awt/event/AdjustmentEvent.java: New file. * java/awt/event/ComponentAdapter.java: New file. * java/awt/event/ActionEvent.java: Finished. * java/awt/event/MouseMotionListener.java: New file. * java/awt/event/MouseListener.java: New file. * java/awt/event/ItemListener.java: New file. * java/awt/event/InputMethodListener.java: New file. * java/awt/event/ContainerListener.java: New file. * java/awt/event/FocusListener.java: New file. * java/awt/event/ComponentListener.java: New file. * java/awt/event/AWTEventListener.java: New file. * java/awt/event/AdjustmentListener.java: New file. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@33034 138bc75d-0d04-0410-961f-82ee72b054a4
-
green authored
* java/lang/natObject.cc (_Jv_MonitorEnter): Only perform null check when we have to. * gcj/array.h: Mark elements(JArray<T>& x) and elements(JArray<T>* x) as `inline'. * java/util/StringTokenizer.java: Minor optimization. Eliminates one method call. * java/util/Vector.java (VectorEnumeration.nextElement): Manually inline hasMoreElements. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@33033 138bc75d-0d04-0410-961f-82ee72b054a4
-
- Apr 06, 2000
-
-
tromey authored
* configure.in: Recognize --enable-java-awt. (AWT): New conditional. * Makefile.in: Rebuilt. * Makefile.am (toolexeclib_LTLIBRARIES): Build libgcjawt.la if requested. (libgcjawt_la_SOURCES): New macro. (EXTRA_libgcjawt_la_SOURCES): Likewise. (libgcjawt_la_DEPENDENCIES): Likewise. (libgcjawt_la_LIBADD): Likewise. (libgcjawt_la_LDFLAGS): Likewise. (libgcj.zip): Depend on cond_java_awt_source_files (cond_awt_java_source_files): New macro. (MOSTLYCLEANFILES): Added awto_files. (awto_files): New macro. Use where javao_files used. (nat_headers): Use cond_awt_java_source_files. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@32954 138bc75d-0d04-0410-961f-82ee72b054a4
-
- Apr 04, 2000
-
-
tromey authored
* Makefile.am (awt_java_source_files): Added AWTException.java. * java/awt/AWTException.java: New file. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@32907 138bc75d-0d04-0410-961f-82ee72b054a4
-
- Apr 03, 2000
-
-
tromey authored
commentary from Alex. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@32894 138bc75d-0d04-0410-961f-82ee72b054a4
-
tromey authored
* Makefile.am ($(javao_files)): Depend on libgcj.zip. From H.J. Lu. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@32885 138bc75d-0d04-0410-961f-82ee72b054a4
-
- Apr 02, 2000
-
-
green authored
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@32868 138bc75d-0d04-0410-961f-82ee72b054a4
-
green authored
Sun Apr 2 08:27:18 2000 Anthony Green <green@redhat.com> * configure: Rebuilt. * configure.in: Add --disable-jvmpi. * include/config.h.in: Rebuilt. * acconfig.h: Add ENABLE_JVMPI. * include/jvm.h: Declare _Jv_DisableGC and _Jv_EnableGC. (_Jv_JVMPI_Notify_OBJECT_ALLOC): New define. (_Jv_JVMPI_Notify_THREAD_END): New define. (_Jv_JVMPI_Notify_THREAD_END): New define. * prims.cc (_Jv_JVMPI_Notify_OBJECT_ALLOC): Declare. (_Jv_JVMPI_Notify_THREAD_END): Declare. (_Jv_JVMPI_Notify_THREAD_END): Declare. * prims.cc (_Jv_AllocObject): Generate JVMPI object allocation events. * java/lang/natThread.cc: Include JVMPI headers if necessary. (finish_): Generate JVMPI thread end events. (run_): Generate JVMPI thread start events. * gnu/gcj/runtime/natFirstThread.cc (run): Call JNI_OnLoad for any preloaded JNI library. Include JVMPI headers if necessary. (run): Generate JVMPI thread start events. * boehm.cc: Define GC_disable and GC_enable. (_Jv_DisableGC): New function. (_Jv_EnableGC): New function. (disable_gc_mutex): Declare. * nogc.cc (_Jv_DisableGC): New function. (_Jv_EnableGC): New function. * jni.cc (_Jv_JNI_GetEnv): Handle JVMPI interface requests. (_Jv_JVMPI_Interface): Define. (jvmpiEnableEvent): New function. (_Jv_JNI_Init): Initialize _Jv_JVMPI_Interface. * include/jvmpi.h: New file. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@32866 138bc75d-0d04-0410-961f-82ee72b054a4
-
- Mar 29, 2000
-
-
bryce authored
* libjava.lang/pr184.java: New file. * libjava.lang/pr184.out: New file. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@32796 138bc75d-0d04-0410-961f-82ee72b054a4
-
- Mar 28, 2000
-
-
bryce authored
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@32776 138bc75d-0d04-0410-961f-82ee72b054a4
-
bryce authored
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@32775 138bc75d-0d04-0410-961f-82ee72b054a4
-
bryce authored
* posix-threads.cc: (struct starter): Remove `object'. (_Jv_CondWait): Use interruptable condition variables and new recursive mutexes. New return codes on interrupt or non-ownership of mutex. (_Jv_CondNotify): Ditto. (_Jv_CondNotifyAll): Ditto. (_Jv_ThreadInterrupt): Set thread interrupt flag directly. Interrupt the target thread by signaling its wait condition. (_Jv_ThreadInitData): Set `thread_obj' in the thread data struct, not the starter struct. Initialize wait_mutex and wait_cond. (_Jv_MutexLock): New recursive mutex implementation. Moved from posix-threads.h. (_Jv_MutexUnlock): Ditto. (really_start): Set info->data->thread from pthread_self() to work around a race condition. Destroy wait_mutex and wait_cond when run() returns. * java/lang/Thread.java: (isInterrupted_): Renamed to overloaded `isInterrupted(boolean)'. Clear interrupted flag if clear_flag is set. startable_flag: New private field. (Thread): Initialize `startable_flag'. (toString): Check for null thread group. * java/lang/natThread.cc: (struct natThread): New fields `join_mutex', `join_cond'. Removed fields `joiner', `next'. (class locker): Removed. (initialize_native): Initialize `join_cond' and `join_mutex'. (interrupt): Now just calls _Jv_ThreadInterrupt(). (join): Simplified. Just wait on the target thread's join condition. (finish_): Remove join list code. Unset thread group. Signal potential joiners by notifying the dying threads join_cond. (start): Check for illegal restarts. * java/lang/natObject.cc: Check for return value of _Jv_CondWait and act appropriatly. * include/posix-threads.h: Remove all HAVE_RECURSIVE_MUTEX related #defines and #ifdefs. (struct _Jv_Thread_t): New fields `thread_obj', `wait_cond', `wait_mutex', `next'. (struct _Jv_ConditionVariable_t): Define as a struct instead of directly mapping to pthread_cond_t. (struct _Jv_Mutex_t): New recursive implementation. (_Jv_PthreadCheckMonitor): Reimplemented. Simple `owner' check. _Jv_HaveCondDestroy: Never define this for posix-threads. (_Jv_CondNotify): Remove inline implementation(s), prototype instead. (_Jv_CondNotifyAll): Ditto. (_Jv_MutexLock): Ditto. (_Jv_MutexUnlock): Ditto. (_Jv_MutexInit): Changed to reflect new mutex implementation. (_Jv_MutexDestroy): Ditto. (_Jv_CondDestroy): Removed. (_Jv_PthreadGetMutex): Removed. * include/win32-threads.h: (_Jv_CondNotify): Guess _JV_NOT_OWNER on an error. Add a FIXME about this. (_Jv_CondNotifyAll): Ditto. * win32-threads.cc: (_Jv_CondWait): Return 0 on a timeout. Guess _JV_NOT_OWNER on other errors. Add FIXME. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@32773 138bc75d-0d04-0410-961f-82ee72b054a4
-
- Mar 27, 2000
-
-
tromey authored
set, throw it. (call): Don't throw exception here. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@32770 138bc75d-0d04-0410-961f-82ee72b054a4
-
tromey authored
* libjava.lang/test_long.java: New file. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@32769 138bc75d-0d04-0410-961f-82ee72b054a4
-
- Mar 26, 2000
-
-
tromey authored
* java/lang/mprec.h: Use SIZEOF_VOID_P. * interpret.cc: Use SIZEOF_VOID_P. * include/java-cpool.h (_Jv_storeLong): Use SIZEOF_VOID_P. (_Jv_loadLong): Likewise. (_Jv_storeDouble): Likewise. * configure: Rebuilt. * configure.in: Check size of void*. * resolve.cc (ncode): Use FFI_PREP_RAW_CLOSURE and FFI_RAW_SIZE. 2000-03-26 Hans Boehm <boehm@acm.org> * include/java-cpool.h (_Jv_storeLong, _Jv_loadLong, _Jv_storeDouble, _Jv_loadDouble): Define differently on 64 bit machine. * java/lang/ieeefp.h: Define __IEEE_BIG_ENDIAN or __IEEE_LITTLE_ENDIAN appropriately on IA64. * java/lang/mprec.h: Don't define Pack_32 on 64 bit machine. * javaprims.h (_Jv_word): Added `l' and `d' entries in 64 bit case. * resolve.cc (FFI_PREP_RAW_CLOSURE): New define. (FFI_RAW_SIZE): Likewise. (_Jv_InterpMethod::ncode): Use them. * interpret.cc (PUSHL, PUSHD, POPL, POPD, LOADL, LOADD, STOREL, STORED): Define differently on a 64 bit machine. (continue1): Use ffi_java_raw_call when appropriate. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@32754 138bc75d-0d04-0410-961f-82ee72b054a4
-
tromey authored
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@32753 138bc75d-0d04-0410-961f-82ee72b054a4
-
- Mar 24, 2000
-
-
warrenl authored
dividing by 1 and the high bit of the dividend is set. (setShiftRight): Handle case when count == 0. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@32724 138bc75d-0d04-0410-961f-82ee72b054a4
-
warrenl authored
(isItalic): ditto. * java/awt/Frame.java(postEvent): ditto. * java/awt/Menu.java(postEvent): ditto. * java/awt/MenuBar.java(postEvent): ditto. * java/awt/Toolkit.java(init): Included a stub. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@32723 138bc75d-0d04-0410-961f-82ee72b054a4
-
- Mar 23, 2000
-
-
bryce authored
* libjava.lang/Thread_Wait.java: New file. * libjava.lang/Thread_Sleep.java: New file. * libjava.lang/Thread_Monitor.java: New file. * libjava.lang/Thread_Wait.out: New file. * libjava.lang/Thread_Sleep.out: New file. * libjava.lang/Thread_Monitor.out: New file. * libjava.lang/Thread_Interrupt.java: New file. * libjava.lang/Thread_Wait_2.java: New file. * libjava.lang/Thread_Wait_2.out: New file. * libjava.lang/Thread_Wait_Interrupt.java: New file. * libjava.lang/Thread_Wait_Interrupt.out: New file. * libjava.lang/Thread_Interrupt.out: New file. * libjava.lang/Thread_Join.java: New file. * libjava.lang/Thread_Join.out: New file. * libjava.lang/Thread_Alive.java: New file. * libjava.lang/Thread_Alive.out: New file. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@32706 138bc75d-0d04-0410-961f-82ee72b054a4
-
- Mar 22, 2000
-
-
tromey authored
* libjava.compile/static_3.java: New file. * libjava.compile/static_2.java: New file. * libjava.compile/static_1.xfail: New file. * libjava.compile/static_1.java: New file. * libjava.compile/redef6.xfail: New file. * libjava.compile/redef6.java: New file. * libjava.compile/redef5.xfail: New file. * libjava.compile/redef5.java: New file. * libjava.compile/redef4.xfail: New file. * libjava.compile/redef4.java: New file. * libjava.compile/redef3.xfail: New file. * libjava.compile/redef3.java: New file. * libjava.compile/redef2.xfail: New file. * libjava.compile/redef2.java: New file. * libjava.compile/redef1.xfail: New file. * libjava.compile/redef1.java: New file. * libjava.compile/not_a_redef.java: New file. * libjava.compile/inner_1.java: New file. * libjava.compile/static_init.xfail: New file. * libjava.compile/static_init.java: New file. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@32688 138bc75d-0d04-0410-961f-82ee72b054a4
-
- Mar 21, 2000
-
-
bryce authored
* java/awt/Event.java: Add all the event type constants. (Event): Implemented constructors. (controlDown): Implemented. (metaDown): Implemented. (paramString): Stubbed. (shiftDown): Implemented. (toString): Implemented. (translate): Implemented. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@32676 138bc75d-0d04-0410-961f-82ee72b054a4
-
bryce authored
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@32665 138bc75d-0d04-0410-961f-82ee72b054a4
-
bryce authored
not Class.isAssignableFrom(). git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@32664 138bc75d-0d04-0410-961f-82ee72b054a4
-
bryce authored
* java/lang/natClass.cc (isInstance): Initialize `this'. (isAssignableFrom): Initialize `this' and `klass'. (_Jv_IsAssignableFrom): If an interface has no idt, it is not implemented by any loaded class, so return false. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@32663 138bc75d-0d04-0410-961f-82ee72b054a4
-
bryce authored
Test case for PR libgcj/179: * libjava.lang/pr179.java: New file. * libjava.lang/pr179.out: New file. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@32662 138bc75d-0d04-0410-961f-82ee72b054a4
-
- Mar 19, 2000
-
-
warrenl authored
* java/awt/Toolkit.java: Imported java.net.URL. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@32639 138bc75d-0d04-0410-961f-82ee72b054a4
-
warrenl authored
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@32634 138bc75d-0d04-0410-961f-82ee72b054a4
-