- Mar 19, 2000
-
-
warrenl authored
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@32634 138bc75d-0d04-0410-961f-82ee72b054a4
-
tromey authored
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@32627 138bc75d-0d04-0410-961f-82ee72b054a4
-
- Mar 17, 2000
-
-
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
-
- Mar 15, 2000
-
-
tromey authored
* java/io/natFileDescriptorWin32.cc (winerr): Now static. * prims.cc (win32_exception_handler): Reformatted. * include/win32-threads.h (_Jv_HaveCondDestroy): New define. (_Jv_HaveMutexDestroy): Likewise. 2000-03-15 Jon Beniston <jb7216@bristol.ac.uk> * java/io/natFileDescriptorWin32.cc: New file. * java/io/natFileWin32.cc: New file. * java/net/natInetAddress.cc: Added conditional inclusion of Windows / Winsock headers. * java/net/natPlainDatagramSocketImpl.cc: Added conditional inclusion of Windows / Winsock headers. * java/net/natPlainSocketImpl.cc: Added conditional inclusion of Windows / Winsock headers. * include/win32-signal.h: New file. * include/win32-threads.h: New file. * win32-threads.cc: New file. * exception.cc (win32_get_restart_frame): New function. * prims.cc (win32_exception_handler): New function. (main_init) Performs Winsock initialisation. (main_init) Installs exeception handler. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@32567 138bc75d-0d04-0410-961f-82ee72b054a4
-
tromey authored
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@32561 138bc75d-0d04-0410-961f-82ee72b054a4
-
bryce authored
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@32553 138bc75d-0d04-0410-961f-82ee72b054a4
-
bryce authored
* libjava.compile/pr172.java: Correct classname to match file name. * libjava.compile/pr174.java: ditto. Remove superfluous main() method. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@32552 138bc75d-0d04-0410-961f-82ee72b054a4
-
tromey authored
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@32551 138bc75d-0d04-0410-961f-82ee72b054a4
-
- Mar 14, 2000
-
-
tromey authored
(JNI_GetCreatedJavaVMs): Don't comment out `buf_len' argument; turned assert into actual failure. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@32546 138bc75d-0d04-0410-961f-82ee72b054a4
-
tromey authored
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@32539 138bc75d-0d04-0410-961f-82ee72b054a4
-
tromey authored
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@32537 138bc75d-0d04-0410-961f-82ee72b054a4
-
- Mar 10, 2000
-
-
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
-
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
-
- Mar 09, 2000
-
-
bryce authored
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@32457 138bc75d-0d04-0410-961f-82ee72b054a4
-
bryce authored
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@32456 138bc75d-0d04-0410-961f-82ee72b054a4
-
bryce authored
* java/lang/natClassLoader.cc (_Jv_FindArrayClass): Call _Jv_PrepareConstantTimeTables. * java/lang/natClass.cc (_Jv_PrepareConstantTimeTables): Array classes should have an IDT, so don't return if klass is an array class. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@32445 138bc75d-0d04-0410-961f-82ee72b054a4
-
tromey authored
of `void' to be created. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@32443 138bc75d-0d04-0410-961f-82ee72b054a4
-
warrenl authored
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@32441 138bc75d-0d04-0410-961f-82ee72b054a4
-
- Mar 08, 2000
-
-
tromey authored
name. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@32408 138bc75d-0d04-0410-961f-82ee72b054a4
-
- Mar 07, 2000
-
-
bryce authored
Test for PR gcj/163: * libjava.lang/PR163.java: New file. * libjava.lang/PR163.xfail: New file. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@32393 138bc75d-0d04-0410-961f-82ee72b054a4
-
tromey authored
interfaces. Fail if jv-scan reports a parse error. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@32392 138bc75d-0d04-0410-961f-82ee72b054a4
-
tromey authored
* COPYING: New file. * COPYING.LIB: Removed. * LIBGCJ_LICENSE: We now use GPL + special exception. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@32387 138bc75d-0d04-0410-961f-82ee72b054a4
-
tromey authored
* libjava.lang/PR162.out: New file. * libjava.lang/PR162.java: New file. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@32384 138bc75d-0d04-0410-961f-82ee72b054a4
-
bryce authored
* resolve.cc (_Jv_SearchMethodInClass): New function. (_Jv_ResolvePoolEntry): Search superinterfaces for interface methods. * java/lang/Class.h (_Jv_SearchMethodInClass): New prototype. 2000-03-07 Bryce McKinlay <bryce@albatross.co.nz> * java/lang/Class.h (union _Jv_IDispatchTable): New declaration. (struct _Jv_ifaces): New declaration. JV_CLASS: New macro definition. (getComponentType): Relocate below isArray() for inlining. (getModifiers): Declare `inline'. (getSuperclass): Ditto. (isArray): Ditto. (isPrimitive): Ditto. (_Jv_IsAssignableFrom): New prototype. (_Jv_LookupInterfaceMethodIdx): New prototype. Predeclare with "C" linkage. (_Jv_InitClass): Move from natClass.cc. Declare `inline'. Check for JV_STATE_DONE before invoking initializeClass(). (_Jv_PrepareConstantTimeTables): New prototype. (_Jv_GetInterfaces): Ditto. (_Jv_GenerateITable): Ditto. (_Jv_GetMethodString): Ditto. (_Jv_AppendPartialITable): Ditto. (_Jv_FindIIndex): Ditto. depth, ancestors, idt: New class fields. * java/lang/natClass.cc (isAssignableFrom): Move functionality to inline function `_Jv_IsAssignableFrom'. Use that function. (isInstance): Declare `inline'. (initializeClass): Get lock on class before checking `state'. Unlock before calling resolveClass0. Call _Jv_PrepareConstantTimeTables with the lock held. (_Jv_LookupInterfaceMethod): Use _Jv_GetMessageString. (_Jv_IsAssignableFrom): New inline function. Test assignability using class->depth and ancestor table. (_Jv_IsInstanceOf): Use _Jv_IsAssignableFrom. (_Jv_CheckCast): Move from prims.cc. Use JV_CLASS and _Jv_IsAssignableFrom. (_Jv_CheckArrayStore): Ditto. (_Jv_LookupInterfaceMethodIdx): New function. INITIAL_IOFFSETS_LEN, INITIAL_IFACES_LEN: New #defines. (_Jv_PrepareConstantTimeTables): New function. (_Jv_IndexOf): Ditto. (_Jv_GetInterfaces): Ditto. (_Jv_GenerateITable): Ditto. (_Jv_GetMethodString): Ditto. (_Jv_AppendPartialITable): Ditto. iindex_mutex, iindex_mutex_initialized: New static fields. (_Jv_FindIIndex): New function. * java/lang/natClassLoader.cc (_Jv_NewClass): Set new jclass fields. * prims.cc (_Jv_CheckCast): Moved to natClass.cc. (_Jv_CheckArrayStore): Ditto. (JvNewCharArray, JvNewBooleanArray, JvNewByteArray, JvNewShortArray, JvNewIntArray, JvNewLongArray, JvNewFloatArray, JvNewDoubleArray): Moved to gcj/array.h. (_Jv_Realloc): New function. * gcj/cni.h: Move _Jv_PrimClass definitions to gcj/array.h. * gcj/array.h: _Jv_PrimClass definitions moved from gcj/cni.h. (JvNewCharArray, JvNewBooleanArray, JvNewByteArray, JvNewShortArray, JvNewIntArray, JvNewLongArray, JvNewFloatArray, JvNewDoubleArray): Implementations moved from prims.cc and declared `inline'. * gcj/javaprims.h (_Jv_Realloc): Prototype. * include/jvm.h (_Jv_LookupInterfaceMethodIdx): Prototype. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@32382 138bc75d-0d04-0410-961f-82ee72b054a4
-
tromey authored
* libjava.compile/PR164.xfail: New file. * libjava.compile/PR164.java: New file. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@32374 138bc75d-0d04-0410-961f-82ee72b054a4
-
tromey authored
(MARK_USER): Likewise. (MARK_SYSTEM): Likewise. (struct _Jv_JNI_LocalFrame): Made `marker' bigger and `size' smaller. (_Jv_JNI_DeleteLocalRef): Use MARK_NONE in assert. (_Jv_JNI_EnsureLocalCapacity): Use MARK_NONE. (_Jv_JNI_PushLocalFrame): Use MARK_USER. (_Jv_JNI_PopLocalFrame): New version with additional `stop' argument. (call): Use MARK_SYSTEM. (_Jv_GetJNIEnvNewFrame): New function. (_Jv_LookupJNIMethod): New function. (_Jv_JNI_PopSystemFrame): New function. (call): Use _Jv_JNI_PopSystemFrame and _Jv_LookupJNIMethod. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@32373 138bc75d-0d04-0410-961f-82ee72b054a4
-
- Mar 06, 2000
-
-
bryce authored
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@32357 138bc75d-0d04-0410-961f-82ee72b054a4
-
bryce authored
* libjava.compile/PR127.java: New file. PR 127 test case from Joerg Brunsmann. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@32356 138bc75d-0d04-0410-961f-82ee72b054a4
-
tromey authored
(test_libjava_from_source): Handle `shouldfail' case. (test_libjava_from_javac): Likewise. Test for PR libgcj/124: * libjava.compile/PR124.java: New file. * libjava.compile/PR124.xfail: New file. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@32353 138bc75d-0d04-0410-961f-82ee72b054a4
-
green authored
* libjava.lang/PR141.java: New file. * libjava.lang/PR141.out: New file. For PR java.io/141. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@32352 138bc75d-0d04-0410-961f-82ee72b054a4
-
tromey authored
* include/Makefile.in: Rebuilt. * include/Makefile.am (include_HEADERS): New define. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@32351 138bc75d-0d04-0410-961f-82ee72b054a4
-
- Mar 05, 2000
-
-
green authored
* gcj/javaprims.h ("Java"): Remove FirstThread. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@32349 138bc75d-0d04-0410-961f-82ee72b054a4
-
green authored
* Makefile.in: Rebuilt. * Makefile.am (nat_source_files): Move natFirstThread.cc. (gnu/gcj/runtime/FirstThread.h): Moved. (ordinary_java_source_files): Move FirstThread.java. * prims.cc: Deal with FirstThread movement. (JvRunMain): Ditto. (_Jv_RunMain): Ditto. * gnu/gcj/runtime/FirstThread.java: Moved from java/lang. * gnu/gcj/runtime/natFirstThread.cc: Ditto. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@32348 138bc75d-0d04-0410-961f-82ee72b054a4
-
green authored
* libjava.compile/support/PR129_A.java: New file. For PR gcj/129. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@32340 138bc75d-0d04-0410-961f-82ee72b054a4
-
warrenl authored
Handle null addresses. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@32339 138bc75d-0d04-0410-961f-82ee72b054a4
-
green authored
See PR gcj/151. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@32337 138bc75d-0d04-0410-961f-82ee72b054a4
-
green authored
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@32336 138bc75d-0d04-0410-961f-82ee72b054a4
-
- Mar 04, 2000
-
-
green authored
* configure.in (ZLIBTESTSPEC): New macro. (GCTESTSPEC): New macro. (LIBGCJTESTSPEC): New macro. * libgcj-test.spec.in: New file. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@32330 138bc75d-0d04-0410-961f-82ee72b054a4
-
- Mar 02, 2000
-
-
tromey authored
(class _Jv_InterpMethod): Don't make MethodInvocation a friend. * Makefile.in: Rebuilt. * Makefile.am (gnu/gcj/runtime/MethodInvocation.h): Removed. (ordinary_java_source_files): Don't mention MethodInvocation.java. * gnu/gcj/runtime/MethodInvocation.java: Removed. * interpret.cc (MethodInvocation::continue1): Removed. (run): Handle exceptions here. * java/lang/ClassLoader.java (defineClass1, defineClass2): Removed. * java/lang/natClassLoader.cc (defineClass0): Catch exceptions here. (defineClass2): Removed. * java/lang/reflect/Method.java (hack_trampoline, hack_call): Removed. * java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA): Catch exceptions here. (hack_call): Removed. * java/lang/Class.h (Class): Removed hackRunInitializers, hackTrampoline. * java/lang/natClass.cc (hackRunInitializers): Removed. (initializeClass): Catch exceptions here. Include ExceptionInInitializerError.h. * java/lang/Class.java (hackTrampoline, hackRunInitializers): Removed. * java/lang/Object.h (Object): Don't mention hack12_6. * java/lang/natObject.cc (_Jv_FinalizeObject): Catch exceptions here. * java/lang/Object.java (hack12_6): Removed. * java/lang/natThread.cc (run_): Renamed. Catch exceptions here. (start): Use run_, not run__. * java/lang/Thread.java (run_): Renamed from run__; old run_ removed. * jni.cc (_Jv_JNI_FindClass): Handle exceptions. (_Jv_JNI_EnsureLocalCapacity): Likewise. (_Jv_JNI_DefineClass): Likewise. (_Jv_JNI_ThrowNew): Likewise. (_Jv_JNI_AllocObject): Likewise. (_Jv_JNI_GetAnyMethodID): Likewise. (_Jv_JNI_CallAnyMethodV): Likewise. (_Jv_JNI_CallAnyMethodA): Likewise. (_Jv_JNI_CallAnyVoidMethodV): Likewise. (_Jv_JNI_CallAnyVoidMethodA): Likewise. (_Jv_JNI_GetAnyFieldID): Likewise. (_Jv_JNI_NewString): Likewise. (_Jv_JNI_NewStringUTF): Likewise. (_Jv_JNI_GetStringUTFChars): Likewise. (_Jv_JNI_NewObjectArray): Likewise. (_Jv_JNI_NewPrimitiveArray): Likewise. (_Jv_JNI_GetPrimitiveArrayRegion): Likewise. (_Jv_JNI_GetStringRegion): Likewise. (_Jv_JNI_GetStringUTFRegion): Likewise. (_Jv_JNI_SetPrimitiveArrayRegion): Likewise. (_Jv_JNI_MonitorEnter): Likewise. (_Jv_JNI_MonitorExit): Likewise. (_Jv_JNI_ToReflectedField): Likewise. (_Jv_JNI_ToReflectedMethod): Likewise. (_Jv_JNI_RegisterNatives): Likewise. (_Jv_JNI_AttachCurrentThread): Likewise. (_Jv_JNI_DestroyJavaVM): Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@32294 138bc75d-0d04-0410-961f-82ee72b054a4
-
- Feb 29, 2000
-
-
tromey authored
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@32258 138bc75d-0d04-0410-961f-82ee72b054a4
-