Skip to content
Snippets Groups Projects
  1. Apr 17, 2000
  2. Apr 16, 2000
  3. Apr 14, 2000
  4. Apr 12, 2000
  5. Apr 11, 2000
    • tromey's avatar
      * java/util/Vector.java (VectorEnumeration): Now `final'. · 9890fccc
      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
      9890fccc
    • warrenl's avatar
      * java/io/ObjectStreamException.java: New file. · 55cbae02
      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
      55cbae02
  6. Apr 09, 2000
    • green's avatar
      2000-04-08 Anthony Green <green@cygnus.com> · 0173f247
      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
      0173f247
    • green's avatar
      2000-04-08 Anthony Green <green@cygnus.com> · 25882d98
      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
      25882d98
    • green's avatar
      2000-04-08 Anthony Green <green@cygnus.com> · 4996a955
      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
      4996a955
    • tromey's avatar
      * Makefile.in: Rebuilt. · 61b74eb6
      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
      61b74eb6
    • green's avatar
      2000-04-08 Anthony Green <green@redhat.com> · b4e6c2ea
      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
      b4e6c2ea
  7. Apr 06, 2000
    • tromey's avatar
      * configure: Rebuilt. · d92a1979
      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
      d92a1979
  8. Apr 04, 2000
  9. Apr 03, 2000
  10. Apr 02, 2000
    • green's avatar
      Forgot to add this file before... · bd54b499
      green authored
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@32868 138bc75d-0d04-0410-961f-82ee72b054a4
      bd54b499
    • green's avatar
      JVMPI changes... · 89d1c158
      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
      89d1c158
  11. Mar 29, 2000
  12. Mar 28, 2000
    • bryce's avatar
      Synchronized gcjh commands for java/lang/Thread.h with Makefile.in. · 7a274023
      bryce authored
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@32776 138bc75d-0d04-0410-961f-82ee72b054a4
      7a274023
    • bryce's avatar
      Forgot to commit this earlier. · 61b42547
      bryce authored
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@32775 138bc75d-0d04-0410-961f-82ee72b054a4
      61b42547
    • bryce's avatar
      * Makefile.in: New #defines and friends for Thread.h. · af3502d0
      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
      af3502d0
  13. Mar 27, 2000
  14. Mar 26, 2000
    • tromey's avatar
      2000-03-26 Tom Tromey <tromey@cygnus.com> · 02ddd4c0
      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
      02ddd4c0
    • tromey's avatar
      * libjava.lang/Array_1.xfail: Removed. · 246d629b
      tromey authored
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@32753 138bc75d-0d04-0410-961f-82ee72b054a4
      246d629b
  15. Mar 24, 2000
  16. Mar 23, 2000
    • bryce's avatar
      2000-03-23 Bryce McKinlay <bryce@albatross.co.nz> · 362a95fc
      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
      362a95fc
  17. Mar 22, 2000
    • tromey's avatar
      * libjava.compile/iface.java: New file. · 6ccd65db
      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
      6ccd65db
  18. Mar 21, 2000
  19. Mar 19, 2000
Loading