Skip to content
Snippets Groups Projects
  1. 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
  2. Apr 04, 2000
  3. Apr 03, 2000
  4. 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
  5. Mar 29, 2000
  6. 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
  7. Mar 27, 2000
  8. 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
  9. Mar 24, 2000
  10. 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
  11. 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
  12. Mar 21, 2000
  13. Mar 19, 2000
  14. Mar 17, 2000
    • warrenl's avatar
      * java/awt/Color.java: New file. · 6159a051
      warrenl authored
      	* java/awt/Graphics.java: New file.
      	* java/awt/Image.java: New file.
      	* java/awt/Paint.java: New file.
      	* java/awt/PaintContext.java: New file.
      	* java/awt/Transparency.java: New file.
      	* java/util/Collection.java: New file.
      	* java/util/Comparator.java: New file.
      	* java/util/Iterator.java: New file.
      	* java/util/List.java: New file.
      	* java/util/ListIterator.java: New file.
      	* Makefile.am: Added above new files.
      	* Makefile.in: Rebuilt.
      
      	* java/awt/Font.java (PLAIN): New field.
      	(BOLD): New field.
      	(ITALIC): New field.
      	(ROMAN_BASELINE): New field.
      	(CENTER_BASELINE): New field.
      	(HANGING_BASELINE): New field.
      	(name): New field.
      	(style): New field.
      	(size): New field.
      	(pointSize): New field.
      	(Font): Implemented constructor.
      	(isPlain): Implemented method.
      	(isBold): Implemented method.
      	(isItalic): Implemented method.
      	(getName): Implemented method.
      	(getStyle): Implemented method.
      	(getSize): Implemented method.
      	(getSize2D): Implemented method.
      	(decode): Stubbed.
      	* java/awt/Frame.java (getFont): Stubbed.
      	(postEvent): Stubbed.
      	(remove): Stubbed.
      	* java/awt/Menu.java (postEvent): Stubbed.
      	* java/awt/MenuBar.java (getFont): Stubbed.
      	(postEvent): Stubbed.
      	* java/awt/Toolkit.java (getImage): Added abstract method.
      
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@32598 138bc75d-0d04-0410-961f-82ee72b054a4
      6159a051
  15. Mar 15, 2000
  16. Mar 14, 2000
  17. Mar 10, 2000
    • warrenl's avatar
      * java/security/Key.java(serialVersionUID): Set to 0 for now. · 5866f779
      warrenl authored
      	* java/security/interfaces/DSAPrivateKey.java(serialVersionUID): Ditto.
      	* java/security/interfaces/DSAPublicKey.java(serialVersionUID): Ditto.
      
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@32464 138bc75d-0d04-0410-961f-82ee72b054a4
      5866f779
    • warrenl's avatar
      * java/security/AlgorithmParameterGeneratorSpi.java: New file. · 6236863c
      warrenl authored
      	* java/security/DigestException.java: New file.
      	* java/security/GeneralSecurityException.java: New file.
      	* java/security/InvalidAlgorithmParameterException.java: New file.
      	* java/security/InvalidKeyException.java: New file.
      	* java/security/InvalidParameterException.java: New file.
      	* java/security/Key.java: New file.
      	* java/security/KeyException.java: New file.
      	* java/security/KeyPair.java: New file.
      	* java/security/KeyPairGenerator.java: New file.
      	* java/security/KeyPairGeneratorSpi.java: New file.
      	* java/security/NoSuchProviderException.java: New file.
      	* java/security/PrivateKey.java: New file.
      	* java/security/Provider.java: New file.
      	* java/security/PublicKey.java: New file.
      	* java/security/SecureRandom.java: New file.
      	* java/security/Security.java: New file.
      	* java/security/Signature.java: New file.
      	* java/security/SignatureException.java: New file.
      	* java/security/interfaces/DSAKey.java: New file.
      	* java/security/interfaces/DSAParams.java: New file.
      	* java/security/interfaces/DSAPrivateKey.java: New file.
      	* java/security/interfaces/DSAPublicKey.java: New file.
      	* java/security/interfaces/RSAPrivateCrtKey.java: New file.
      	* java/security/interfaces/RSAPrivateKey.java: New file.
      	* java/security/interfaces/RSAPublicKey.java: New file.
      	* java/security/spec/AlgorithmParameterSpec.java: New file.
      	* java/security/spec/InvalidKeySpecException.java: New file.
      	* java/security/spec/InvalidParameterSpecException.java: New file.
      	* java/security/spec/KeySpec.java: New file.
      	* java/security/spec/RSAPrivateCrtKeySpec.java: New file.
      	* java/security/spec/RSAPrivateKeySpec.java: New file.
      	* java/security/spec/RSAPublicKeySpec.java: New file.
      	* Makefile.am: Added above java.security files.
      	* Makefile.in: Rebuilt.
      
      	* java/security/MessageDigest.java: Rewritten.
      	* java/security/SecureClassLoader.java: Added JDK1.2 comment.
      
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@32461 138bc75d-0d04-0410-961f-82ee72b054a4
      6236863c
  18. Mar 09, 2000
Loading