summaryrefslogtreecommitdiffstats
path: root/libjava
Commit message (Collapse)AuthorAgeFilesLines
* * libtool.m4 (LD): Correct powerpc64 host match.amodra2003-09-092-1/+5
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@71229 138bc75d-0d04-0410-961f-82ee72b054a4
* * libjava.compile/compile.exp: Test with -O3 rather than -O.jsturm2003-09-053-2/+13
| | | | | | | * libjava.lang/lang.exp: Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@71102 138bc75d-0d04-0410-961f-82ee72b054a4
* * lib/libjava.exp (libjava_arguments): Remove unneeded variables.jsturm2003-09-051-29/+1
| | | | | | | | (test_libjava_from_source): Likewise. (test_libjava_from_javac): Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@71101 138bc75d-0d04-0410-961f-82ee72b054a4
* * configure.host: Removed erroneous comment.tromey2003-09-042-1/+2
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@71077 138bc75d-0d04-0410-961f-82ee72b054a4
* * gnu/java/awt/natEmbeddedWindow.cc (setWindowPeer): Removedtromey2003-09-042-1/+8
| | | | | | | lvalue cast; use correct rvalue cast. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@71076 138bc75d-0d04-0410-961f-82ee72b054a4
* 2003-09-02 Thomas Fitzsimmons <fitzsim@redhat.com>fitzsim2003-09-025-24/+47
| | | | | | | | | | | | | | | | | | | | | | | | | * gnu/java/awt/peer/gtk/GtkDialogPeer.java (create): Add width and height arguments to GtkWindowPeer.create method call. * gnu/java/awt/peer/gtk/GtkWindowPeer.java (create(int,int,int)): New method. (create(int)): Add call to new create method. (create()): Add width and height arguments to create method call. (GtkWindowPeer): Remove call to setBounds. * java/awt/Frame.java (Frame(String)): Initialize visible field to false. (Frame(GraphicsConfiguration)): Likewise. (Frame(String,GraphicsConfiguration)): Likewise. * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c (create): Add width and height parameters. Call gtk_window_set_default_size. (connectHooks): Remove unused name variable. (static setBounds): Call gtk_window_resize not gtk_widget_set_usize. (setBounds): Remove unused nchildren variable. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@71007 138bc75d-0d04-0410-961f-82ee72b054a4
* 2003-08-31 Ingo Proetel <proetel@aicas.com>mkoch2003-08-314-11/+68
| | | | | | | | | | * java/util/logging/Logger.java: provide class and method information * java/util/logging/LogManager.java: create handlers * java/util/logging/SimpleFormatter.java: print souceClassName and sourceMethodName git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@70960 138bc75d-0d04-0410-961f-82ee72b054a4
* * win32.cc: fixed tab, indentation and whitespacemembar2003-08-2910-1413/+978
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | inconsistencies removed jvm.h include added includes java/lang/UnsupportedOperationException.h, java/io/IOException.h, java/net/SocketException.h (WSAEventWrapper): class implementation (_Jv_WinStrError): implemented both overloads (_Jv_ThrowIOException): implemented both overloads (_Jv_ThrowSocketException): implemented both overloads (_Jv_select): implemented * include/win32.h: fixed tab, indentation and whitespace inconsistencies wrapped <windows.h> include with #define WIN32_LEAN_AND_MEAN added jvm.h include (WSAEventWrapper): added class declaration (_Jv_WinStrError): added both overload declarations (_Jv_ThrowIOException): added both overload declarations (_Jv_ThrowSocketException): added both overload declarations removed ENOTCONN, ECONNRESET and ENOPROTOOPT defines (_Jv_select): added declaration (_Jv_socket): removed (_Jv_connect): removed (_Jv_close): removed (_Jv_bind): removed (_Jv_accept): removed (_Jv_listen): removed (_Jv_write): removed (_Jv_read): removed * java/io/natFileDescriptorWin32.cc: fixed tab, indentation and whitespace inconsistencies replaced <windows.h> #include with <platform.h> removed jvm.h include (testCanUseGetHandleInfo): new function which tests whether Win32 GetHandleInformation() call can be used with console buffer handles (only supported on >=WinNT 5.0) (winerr): removed (superseded by _Jv_WinStrError in include/win32.h) (valid): rewrote implementation using GetHandleInformation() (sync): changed exception throwing to use error string and exception helper methods declared in include/win32.h (open): likewise (write): likewise (setLength): likewise (close): likewise (seek): likewise (getFilePointer): likewise (read): likewise * java/io/natFileWin32.cc: fixed tab, indentation and whitespace inconsistencies replaced <windows.h> #include with <platform.h> removed jvm.h include (_access): use JV_TEMP_UTF_STRING (_stat): likewise (performMkDir): use JV_TEMP_UTF_STRING (performRenameTo): likewise (performDelete): likewise (performCreate): likewise (performSetReadOnly): likewise (performSetLastModified): likewise * java/lang/natWin32Process.cc: fixed tab, indentation and whitespace inconsistencies replaced <windows.h> #include with <platform.h> removed includes gcj/cni.h, jvm.h (new_string): removed (startProcess): use JV_TEMP_UTF_STRING, changed exception throwing to use error string and exception helper methods declared in include/win32.h * java/net/natInetAddressWin32.cc: fixed tab, indentation and whitespace inconsistencies replaced <windows.h> #include with <platform.h> removed jvm.h include removed DISABLE_JAVA_NET conditional code removed POSIX conditional code not relevant to Win32 (aton): use JV_TEMP_UTF_STRING removed POSIX conditional code not relevant to Win32 (lookup): likewise (getLocalHostName): likewise * java/net/natNetworkInterfaceWin32.cc: fixed tab, indentation and whitespace inconsistencies removed unnecessary windows.h, winsock.h and gcj/cni.h includes removed DISABLE_JAVA_NET conditional code removed POSIX conditional code not relevant to Win32 (winsock2GetRealNetworkInterfaces): new function to compute network interfaces via Winsock2 API (determineGetRealNetworkInterfacesFN): new function for returning a function pointer to the function used to compute network interfaces. (getRealNetworkInterfaces): implemented * java/net/natPlainDatagramSocketImplWin32.cc: fixed tab, indentation and whitespace inconsistencies removed gcj/cni.h include removed DISABLE_JAVA_NET conditional code removed POSIX conditional code not relevant to Win32 changed net POSIXisms to Win32isms replaced _Jv socket-related calls with their real Win32 equivalents changed exception throwing to use error string and exception helper methods declared in include/win32.h (peekData): implemented timeout support (receive): likewise * java/net/natPlainSocketImplWin32.cc: fixed tab, indentation and whitespace inconsistencies removed gcj/cni.h and gcj/javaprims.h includes removed DISABLE_JAVA_NET conditional code removed POSIX conditional code not relevant to Win32 changed net POSIXisms to Win32isms replaced _Jv socket-related calls with their real Win32 equivalents changed exception throwing to use error string and exception helper methods declared in include/win32.h (throwConnectException): helper function for connect() (connect): implemented timeout support (accept): likewise (doRead): new helper function common to both read() method overloads, includes timeout support (read): implemented both overloads in terms of doRead() (available): implemented using ioctlsocket() git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@70904 138bc75d-0d04-0410-961f-82ee72b054a4
* * java/net/natInetAddressWin32.cc,membar2003-08-295-0/+281
| | | | | | | | | | | | java/net/natNetworkInterfaceWin32.cc, java/net/natPlainDatagramSocketImplWin32.cc, java/net/natPlainSocketImplWin32.cc: Readded code enclosed in DISABLE_JAVA_NET defines in preparation for MinGW cleanup / networking patch git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@70902 138bc75d-0d04-0410-961f-82ee72b054a4
* * Makefile.am: Fixed problems with parallel makes.membar2003-08-293-0/+26
| | | | | | | | | | (all_java_class_files): Readded definition. (all_java_class_files): New target which depends on libgcj-@gcc_version@.jar * Makefile.in: Rebuilt git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@70900 138bc75d-0d04-0410-961f-82ee72b054a4
* * Makefile.in: Rebuilt.tromey2003-08-2814-106/+560
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Makefile.am (ordinary_java_source_files): Added new files. * java/lang/Class.h (_Jv_sharedlib_register_hook): Declare as friend. * java/net/URLClassLoader.java (findClass): Don't use findURLResource. Use loader's getClass method. (URLLoader.getClass): New method. (addURL): Handle `gcjlib' URLs. (SoURLLoader): New class. (SoResource): Likewise. * gnu/gcj/protocol/gcjlib/Connection.java: New file. * gnu/gcj/protocol/gcjlib/Handler.java: New file. * include/jvm.h (struct _Jv_core_chain): Moved from natCore.cc. (_Jv_RegisterCoreHook): Declare. (_Jv_FindCore): Declare. * gnu/gcj/runtime/SharedLibHelper.java: New file. * gnu/gcj/runtime/natSharedLibLoader.cc (CoreHookFunc): New typedef. (core_hook): New function. (struct SharedLibDummy) [saved_core]: New field. (init): Set _Jv_RegisterCoreHook. Throw exception on failure. (register_hook): Set protection domain and class loader on new class. (finalize): Free core chain. * gnu/gcj/Core.java (Core): New constructor. * gnu/gcj/runtime/SharedLibLoader.java: Rewrote to use SharedLibHelper. * gnu/gcj/natCore.cc (_Jv_RegisterResource): Indentation fixlet. (_Jv_create_core): New function. (create): Use it. (default_register_resource): New function. (_Jv_RegisterCoreHook): New global. (_Jv_RegisterResource): Use it. (core_chain_struct): Removed. (_Jv_FindCore): New function. (_Jv_FreeCoreChain): New function. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@70892 138bc75d-0d04-0410-961f-82ee72b054a4
* 2003-08-29 Michael Koch <konqueror@gmx.de>mkoch2003-08-285-271/+8
| | | | | | | | | | | * java/net/natInetAddressWin32.cc, java/net/natNetworkInterfaceWin32.cc, java/net/natPlainDatagramSocketImplWin32.cc, java/net/natPlainSocketImplWin32.cc: Removed code enclosed in DISABLE_JAVA_NET defines. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@70883 138bc75d-0d04-0410-961f-82ee72b054a4
* * Makefile.am: (write_entries_to_file) New parameterizedmembar2003-08-273-22/+66
| | | | | | | | | | | | | | | | | | | function for writing entries to a file one line at a time. (all_java_class_files): Removed definition. (.java.class) Removed.target. (libgcj-@gcc_version@.jar): Changed dependency to $(all_java_source_files); added compilation step which compiles all changed source files in one pass. (libgcj.la) Refactored to use write_entries_to_file. (lib-gnu-awt-xlib.la) Likewise. (install-data-local) Likewise. (write-entries-to-file-check) New target which tests write_entries_to_file. (all-recursive): Changed dependency from $(all_java_class_files) to libgcj-@gcc_version@.jar * Makefile.in: Rebuilt. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@70842 138bc75d-0d04-0410-961f-82ee72b054a4
* * java/lang/StrictMath.java: Typo fix.tromey2003-08-266-13/+35
| | | | | | | | | | | | | | | | | | | * java/lang/Math.java: Typo fix. 2003-08-26 Stephen Crawley <crawley@dstc.edu.au> * java/lang/ThreadGroup.java (removeThread): null the 'group' field of the removed Thread. 2003-08-26 Mark Wielaard <mark@klomp.org> Reported by David Holmes <dholmes@dltech.com.au>. * java/lang/InheritableThreadLocal.java (threadMap): Wrap inside Collections.synchronizedMap. * java/lang/ThreadLocal.java (valueMap): Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@70828 138bc75d-0d04-0410-961f-82ee72b054a4
* 2003-08-26 Mark Wielaard <mark@klomp.org>tromey2003-08-268-44/+56
| | | | | | | | | | | | | | | * java/security/acl/Acl.java: Fix broken p tag. * java/text/DateFormatSymbols.java: Correctly open and close li tags. * javax/swing/border/LineBorder.java: Close img tag alt attributes. * javax/swing/plaf/TreeUI.java: Likewise. * javax/swing/plaf/basic/BasicTreeUI.java: Likewise. * java/util/Properties.java: Use the word umlaut, not &auml; in api documentation. * java/util/PropertyResourceBundle.java: Likewise and add closing code tag. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@70825 138bc75d-0d04-0410-961f-82ee72b054a4
* * Makefile.in: Rebuilt.tromey2003-08-262-11/+9
| | | | | | | * Makefile.am: Removed all GNU-make-specific FIXME comments. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@70824 138bc75d-0d04-0410-961f-82ee72b054a4
* * java/lang/ref/Reference.java (get): Indentation fix.tromey2003-08-262-8/+16
| | | | | | | | | | (clear): Comment fix. (enqueue): Likewise. (lock): Likewise. (referent): Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@70814 138bc75d-0d04-0410-961f-82ee72b054a4
* PR java/12058:tromey2003-08-262-1/+4
| | | | | | | * java/lang/reflect/natArray.cc (set): Allow null as argument. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@70813 138bc75d-0d04-0410-961f-82ee72b054a4
* * java/lang/reflect/Proxy.java (ProxyData): `pack' now a String.tromey2003-08-262-6/+28
| | | | | | | | | (ProxyData.getPackage): New method. (ProxyData.getProxyData): Use package name, not Package. (ClassFactory.ClassFactory): Updated. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@70809 138bc75d-0d04-0410-961f-82ee72b054a4
* * Makefile.am: added gnu/awt/xlib/XOffScreenImage.java.sgilbertson2003-08-2514-108/+442
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Makefile.in: re-generated. * gnu/awt/j2d/IntegerGraphicsState.java (ScreenCoupledImage): new interface. (drawImage): detect ScreenCoupledImage instances. * gnu/awt/xlib/XCanvasPeer.java (createImage) implemented. * gnu/awt/xlib/XEventLoop.java (createEvent): re-formatted, and rearranged to avoid null pointer. * gnu/awt/xlib/XGraphics.java (drawImage): added XOffScreenImage handling. * gnu/awt/xlib/XOffScreenImage.java: new file. * gnu/gcj/xlib/Drawable.java (getDepth): new native method. * gnu/gcj/xlib/GC.java (copyArea): new native method. * gnu/gcj/xlib/XAnyEvent.java (TYPE_KEY_PRESS): new constant. (TYPE_KEY_RELEASE): new constant. (TYPE_MOTION_NOTIFY): new constant. (TYPE_ENTER_NOTIFY): new constant. (TYPE_LEAVE_NOTIFY): new constant. (TYPE_FOCUS_IN): new constant. (TYPE_FOCUS_OUT): new constant. (TYPE_KEYMAP_NOTIFY): new constant. (TYPE_GRAPHICS_EXPOSE): new constant. (TYPE_NO_EXPOSE): new constant. (TYPE_VISIBILITY_NOTIFY): new constant. (TYPE_CREATE_NOTIFY): new constant. (TYPE_DESTROY_NOTIFY): new constant. (TYPE_MAP_REQUEST): new constant. (TYPE_CONFIGURE_REQUEST): new constant. (TYPE_GRAVITY_NOTIFY): new constant. (TYPE_RESIZE_REQUEST): new constant. (TYPE_CIRCULATE_NOTIFY): new constant. (TYPE_CIRCULATE_REQUEST): new constant. (TYPE_PROPERTY_NOTIFY): new constant. (TYPE_SELECTION_CLEAR): new constant. (TYPE_SELECTION_REQUEST): new constant. (TYPE_SELECTION_NOTIFY): new constant. (TYPE_COLORMAP_NOTIFY): new constant. (TYPE_MAPPING_NOTIFY): new constant. * gnu/gcj/xlib/natDrawable.cc (getDepth): new method. * gnu/gcj/xlib/natGC.cc (copyArea): new method * java/awt/Component.java (createImage): changed to use peer method. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@70776 138bc75d-0d04-0410-961f-82ee72b054a4
* 2003-08-23 Andreas Tobler <a.tobler@schweiz.ch>andreast2003-08-232-1/+5
| | | | | | | | PR libgcj/8823 * libjava.lang/pr8823.xfail: Removed. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@70730 138bc75d-0d04-0410-961f-82ee72b054a4
* 2003-08-22 Thomas Fitzsimmons <fitzsim@redhat.com>fitzsim2003-08-224-13/+33
| | | | | | | | | | | * gnu/java/awt/peer/gtk/GdkGraphics.java (drawString): Pass font name, not XLFD, to native drawString. * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c (drawString): Replace XLFD-based implementation with Pango-based implementation. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@70698 138bc75d-0d04-0410-961f-82ee72b054a4
* 2003-08-22 Thomas Fitzsimmons <fitzsim@redhat.com>fitzsim2003-08-223-5/+9
| | | | | | | | * gnu/java/awt/peer/gtk/GtkWindowPeer.java: Remove GTK_WINDOW_DIALOG. Set GTK_WINDOW_POPUP to 1. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@70688 138bc75d-0d04-0410-961f-82ee72b054a4
* 2003-08-21 David Daney <ddaney@avtrex.com>tromey2003-08-213-9/+25
| | | | | | | | | | | | Fix for PR libgcj/12013: * java/lang/ref/natReference.cc (finalize_referred_to_object): Check `cleared' field. * java/lang/ref/Reference.java (copy): Updated comments. (cleared): New field. (clear): Rewrote. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@70668 138bc75d-0d04-0410-961f-82ee72b054a4
* 2003-08-21 Scott Gilbertson <scottg@mantatest.com>fitzsim2003-08-219-106/+169
| | | | | | | | | | | | | | | | | Thomas Fitzsimmons <fitzsim@redhat.com> * Makefile.am (gtk_awt_peer_sources): Add gnu/java/awt/peer/GLightweightPeer.java. Remove gnu/java/awt/GLightweightPeer.java. * gnu/java/awt/GLightweightPeer.java: Remove file. * gnu/java/awt/peer/GLightweightPeer.java: New file. * java/awt/Component.java (getToolkit): Add comment about lightweight components. * java/awt/Toolkit.java (createComponent): Return gnu.java.awt.peer.GLightweightPeer. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@70657 138bc75d-0d04-0410-961f-82ee72b054a4
* * configure.in: Fix detection of gcj when building with newlib.rearnsha2003-08-213-10/+15
| | | | | | | * configure: Regenerated. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@70644 138bc75d-0d04-0410-961f-82ee72b054a4
* 2003-08-20 Graydon Hoare <graydon@redhat.com>graydon2003-08-202-5/+20
| | | | | | | | * jni.cc: Replace "cheating" pointer-casting code with extract_from_jvalue<> template. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@70613 138bc75d-0d04-0410-961f-82ee72b054a4
* 2003-01-31 Andrew Haley <aph@redhat.com>aph2003-08-204-11/+39
| | | | | | | | | | | | | | | | * except.c (prepare_eh_table_type): Use new encoding for exception handlers when using -fno-assume-compiled. 2003-08-20 Andrew Haley <aph@redhat.com> * gnu/gcj/runtime/StackTrace.java (getClass): New method. * gnu/gcj/runtime/natStackTrace.cc (getClass): New method. (classAt): Break out class lookup function into getClass(). * exception.cc (PERSONALITY_FUNCTION): Use new encoding for exception handlers when using -fno-assume-compiled. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@70605 138bc75d-0d04-0410-961f-82ee72b054a4
* Fix typo.aph2003-08-201-2/+2
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@70604 138bc75d-0d04-0410-961f-82ee72b054a4
* Fix for PR libgcj/9125:tromey2003-08-203-6/+51
| | | | | | | | | | | | | * gnu/gcj/runtime/natVMClassLoader.cc (findClass): Find Runtime object outside of loop. Respect lib_control setting. * gnu/gcj/runtime/VMClassLoader.java (tried_libraries): New field. (lib_control): New field. (LIB_FULL, LIB_CACHE, LIB_NEVER): New constants. (VMClassLoader): Initialize new field. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@70600 138bc75d-0d04-0410-961f-82ee72b054a4
* * java/lang/ref/natReference.cc (finalize_referred_to_object):tromey2003-08-202-3/+24
| | | | | | | | | | | | Set `list->reference' to DELETED_REFERENCE when removing dead object. (find_slot): Added an assert. (DELETED_REFERENCE): New define. (add_to_hash): Check for DELETED_REFERENCE. (remove_from_hash): Just return if found slot isn't ours. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@70599 138bc75d-0d04-0410-961f-82ee72b054a4
* 2003-08-19 Andrew Haley <aph@redhat.com>aph2003-08-202-0/+22
| | | | | | | | | * prims.cc (unblock_signal): New function. (SIGNAL_HANDLER): Use it. (SIGNAL_HANDLER): Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@70598 138bc75d-0d04-0410-961f-82ee72b054a4
* 2003-08-19 Jeff Sturm <jsturm@one-point.com>tromey2003-08-192-0/+6
| | | | | | | | * lib/libjava.exp (libjava_arguments): Add $libjava to the list of libraries. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@70572 138bc75d-0d04-0410-961f-82ee72b054a4
* PR libgcj/11575membar2003-08-192-8/+20
| | | | | | | | | * java/io/natFileDescriptorWin32.cc (open): Set create flag to OPEN_AWAYS when READ & WRITE regardless of APPEND flag. Honor EXCL when openning with WRITE flag. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@70565 138bc75d-0d04-0410-961f-82ee72b054a4
* * include/jvm.h: New class _Jv_TempUTFString (helper class formembar2003-08-192-0/+81
| | | | | | | | | | getting a temporary C string from a jstring) New macro JV_TEMP_UTF_STRING, which leverages _Jv_TempUTFString but uses a stack buffer if the string length is less than 256 bytes. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@70564 138bc75d-0d04-0410-961f-82ee72b054a4
* PR libgcj/11951:tromey2003-08-184-60/+86
| | | | | | | | | | | | | | | | | | * java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA): Returns void. Throw VirtualMachineError if ffi fails. Initialize return value. Added is_jni_call argument; only wrap exception if not a JNI call. Use descriptive message if operation not supported. (_Jv_GetTypesFromSignature): Use declaring class' loader to find array class. * include/jvm.h (_Jv_CallAnyMethodA): Updated declaration. * jni.cc (_Jv_JNI_CallAnyMethodV): Updated for new form of _Jv_CallAnyMethodA. (_Jv_JNI_CallAnyMethodA): Likewise. (_Jv_JNI_CallAnyVoidMethodV): Likewise. (_Jv_JNI_CallAnyVoidMethodA): Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@70544 138bc75d-0d04-0410-961f-82ee72b054a4
* PR libgcj/11951:tromey2003-08-184-0/+38
| | | | | | | | | * libjava.jni/pr11951.c: New file. * libjava.jni/pr11951.out: New file. * libjava.jni/pr11951.java: New file. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@70543 138bc75d-0d04-0410-961f-82ee72b054a4
* * gij.cc (help): Document -? and -X.tromey2003-08-132-1/+6
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@70407 138bc75d-0d04-0410-961f-82ee72b054a4
* 2003-08-12 Graydon Hoare <graydon@redhat.com>graydon2003-08-132-5/+784
| | | | | | | | * java/awt/Font.java: Stub out more recent API. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@70404 138bc75d-0d04-0410-961f-82ee72b054a4
* 2003-08-12 Graydon Hoare <graydon@redhat.com>graydon2003-08-132-1/+6
| | | | | | | | * java/awt/Color.java (getAlpha): Prevent sign-extended alpha values. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@70401 138bc75d-0d04-0410-961f-82ee72b054a4
* * gij.cc (main): Handle -? and -X.tromey2003-08-122-2/+15
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@70390 138bc75d-0d04-0410-961f-82ee72b054a4
* * libjava.jacks/jacks.xfail: Updated to account for new passes.tromey2003-08-124-18/+4
| | | | | | | | * libjava.compile/abstr.xfail: Now can compile from bytecode. * libjava.compile/PR5641.xfail: Now can compile from bytecode. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@70387 138bc75d-0d04-0410-961f-82ee72b054a4
* 2003-08-10 Jeroen Frijters <jeroen@frijters.net>fitzsim2003-08-122-10/+18
| | | | | | | | | | | * java/awt/Container.java (getPreferredSize): Call preferredSize. (preferredSize): Moved body of getPreferredSize here. (getMinimumSize): Call minimumSize. (minimumSize): Moved body of getMinimumSize here. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@70386 138bc75d-0d04-0410-961f-82ee72b054a4
* * libjava.mauve/mauve.exp (test_mauve_sim): Don't findtromey2003-08-122-6/+19
| | | | | | | | DejaGNUTestHarness in gnu/testlet. (test_mauve): Use correct object extension. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@70381 138bc75d-0d04-0410-961f-82ee72b054a4
* * lib/libjava.exp (libjava_find_lib): Search for .so file first.tromey2003-08-122-25/+27
| | | | | | | (libjava_arguments): Don't add libraries to link line explictly. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@70379 138bc75d-0d04-0410-961f-82ee72b054a4
* * java/awt/EventQueue.java (currentEvent, lastWhen): New fields.tromey2003-08-112-5/+52
| | | | | | | | | | | | (postEvent): Removed FIXME comment. (isDispatchThread): Documented. (getCurrentEvent): New method. (dispatchEvent): Set currentEvent and lastWhen. (getMostRecentEventTime): Rewrote. (invokeLater): Documented. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@70333 138bc75d-0d04-0410-961f-82ee72b054a4
* * java/io/PrintStream.java (print): Always flush if auto_flush isbryce2003-08-102-17/+33
| | | | | | | | | | | set. Don't check for newline characters. (write (int)): Implement without using a temporary array. (write (byte[], int, int): Always flush if auto_flush is set. Don't check for newline characters. Fixes PR libgcj/11778. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@70284 138bc75d-0d04-0410-961f-82ee72b054a4
* 2003-08-08 Andrew Haley <aph@redhat.com>aph2003-08-085-4/+20
| | | | | | | | | | | | | | * Makefile.am (AM_CXXFLAGS): Define BOOT_CLASS_PATH. * Makefile.in: Rebuild. * java/lang/natRuntime.cc (insertSystemProperties): Add "sun.boot.class.path". 2003-08-07 Andrew Haley <aph@redhat.com> * java/io/PrintStream.java: Don't crash on a null string. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@70250 138bc75d-0d04-0410-961f-82ee72b054a4
* boehm-gc:ro2003-08-076-313/+306
| | | | | | | | | | | | | | | | | | * configure.in: Set INCLUDES to absolute path. Save $INCLUDES in boehm-cflags, too. Set INCLUDES so it's available to config.status. * configure: Regenerate. libjava: * configure.in: Don't initialize GCINCS to boehm-gc/include. * configure: Regenerate. libjava/libltdl: * configure.in: Don't initialize GCINCS to boehm-gc/include. * Regenerate. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@70233 138bc75d-0d04-0410-961f-82ee72b054a4
* * java/net/Socket.java (Socket (SocketImpl)): Don't allow nullbryce2003-08-073-134/+32
| | | | | | | | | | | | | | SocketImpl. Update Javadoc. (bind): Call close() not impl.close() in event of exception. (connect): Likewise. Remove superfluous null checks throughout. * java/net/ServerSocket.java (ServerSocket (int, int, InetAddress)): Don't create an extra socket. Fix for PR libgcj/10868. (bind): Clean up exception handling. Remove superfluous null checks throughout. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@70219 138bc75d-0d04-0410-961f-82ee72b054a4
OpenPOWER on IntegriCloud