aboutsummaryrefslogtreecommitdiff
path: root/libjava
AgeCommit message (Collapse)AuthorFilesLines
2005-05-16re PR libgcj/20504 (java.util.regex implementation doesn't support quoting ↵Ziga Mahkovec2-21/+38
constructs) 2005-05-16 Ziga Mahkovec <ziga.mahkovec@klika.si> PR libgcj/20504 gnu/regexp/RE.java: Add support for quoting constructs. From-SVN: r99789
2005-05-15* java/lang/String.java (startsWith): Fixed javadoc.Tom Tromey2-1/+5
From-SVN: r99746
2005-05-15re PR java/21519 (ICE in generate_bytecode_conditional, at ↵Tom Tromey3-0/+14
java/jcf-write.c:1337) gcc/java: PR java/21519: * jcf-write.c (generate_bytecode_insns) <SAVE_EXPR>: Don't call NOTE_PUSH. libjava: PR java/21519: * testsuite/libjava.compile/pr21519.java: New file. * testsuite/libjava.compile/pr21519.no-link: New file. From-SVN: r99739
2005-05-15* stacktrace.cc (getLineNumberForFrame): Use _Jv_GetSafeArg.Tom Tromey2-3/+7
From-SVN: r99733
2005-05-14re PR libgcj/21557 (Hash synchronization: Thread.interrupt() can make ↵Bryce McKinlay2-2/+20
_Jv_MonitorEnter hang) 2005-05-13 Bryce McKinlay <mckinlay@redhat.com> PR libgcj/21557 * java/lang/natObject.cc (_Jv_MonitorEnter): Save and clear thread interrupt status flag if _Jv_CondWait is interrupted. From-SVN: r99687
2005-05-13SystemClassLoader.java (init): Handle empty element in path.Tom Tromey2-3/+35
* gnu/gcj/runtime/SystemClassLoader.java (init): Handle empty element in path. From-SVN: r99676
2005-05-13[multiple changes]Bryce McKinlay5-4/+34
2005-05-12 Bryce McKinlay <mckinlay@redhat.com> * include/jvm.h (gcj::verifyClasses): Declare. * link.cc (gcj::verbose_class_flag): Moved. * prims.cc (gcj::verifyClasses): Define here. (gcj::verbose_class_flag): Move definition here. (_Jv_Linker::wait_for_state): Don't call verify_class if gcj::verifyClasses is not set. * gij.cc (main): Set gcj::verifyClasses when '-noverify' is given. 2005-05-12 Aaron Luchko <aluchko@redhat.com> * gij.cc (main): Recognize '-verify', '-noverify', and '-verifyremote' 2005-05-12 Aaron Luchko <aluchko@redhat.com> * gcj.texi: Add '-verify', '-noverify', and '-verifyremote'. From-SVN: r99646
2005-05-13* configure.host: Set IEEESPEC to -mieee for sh*-*-*.Kaz Kojima2-0/+5
From-SVN: r99642
2005-05-12Makefile.am (cond_gtk_gcjawt_ltlibrary): Rename libjawt.la libgcjawt.la.Thomas Fitzsimmons3-32/+37
2005-05-12 Thomas Fitzsimmons <fitzsim@redhat.com> * Makefile.am (cond_gtk_gcjawt_ltlibrary): Rename libjawt.la libgcjawt.la. From-SVN: r99636
2005-05-12gcj.texi (Code Generation): Document -fbootstrap-classes.Tom Tromey11-12/+86
gcc/java: * gcj.texi (Code Generation): Document -fbootstrap-classes. * decl.c (GCJ_BOOTSTRAP_LOADER_ADDITION): New macro. (parse_version): Use it. * lang.opt (-fbootstrap-classes): New option. libjava: * external/w3c_dom/Makefile.in: Rebuilt. * external/w3c_dom/Makefile.am (libw3c_gcj_la_GCJFLAGS): Added -fbootstrap-classes. * external/sax/Makefile.in: Rebuilt. * external/sax/Makefile.am (libsax_gcj_la_GCJFLAGS): Added -fbootstrap-classes. * java/lang/Class.h (_Jv_CopyClassesToSystemLoader): Declare as friend. * java/lang/natVMClassLoader.cc (getSystemClassLoaderInternal): Call _Jv_CopyClassesToSystemLoader. * java/lang/natClassLoader.cc (system_class_list): New global. (_Jv_RegisterClassHookDefault): Handle bootstrap and system classes differently. (_Jv_CopyClassesToSystemLoader): New function. (SYSTEM_LOADER_INITIALIZED): New define. * include/jvm.h (GCJ_BOOTSTRAP_LOADER_ADDITION): New define. (_Jv_CheckABIVersion): Use it. (_Jv_ClassForBootstrapLoader): New function. * Makefile.in: Rebuilt. * Makefile.am (AM_GCJFLAGS): Added -fbootstrap-classes. From-SVN: r99604
2005-05-10javaprims.h: Updated.Tom Tromey7-13/+1018
* gcj/javaprims.h: Updated. * java/lang/String.java (String(StringBuilder)): New constructor. * java/lang/natStringBuilder.cc: New file. * java/lang/StringBuilder.java: New file. * Makefile.in: Rebuilt. * Makefile.am (core_java_source_files): Added StringBuilder.java. (nat_source_files): Added natStringBuilder.cc. From-SVN: r99535
2005-05-10re PR java/21436 (imports not remembered for previously compiled files)Paolo Bonzini2-2/+7
gcc/java: 2005-05-10 Paolo Bonzini <bonzini@gnu.org> PR java/21436 * class.c (maybe_layout_super_class): Look for imports in this_class. * parse.h (ctxp_for_generation_last): New. (do_resolve_class): Add a parameter. * parse.y (ctxp_for_generation_last): New. (java_pop_parser_context): Add at end of list. (find_in_imports, find_in_imports_on_demand): Look in ctxp if the TYPE_IMPORT_LIST or respectively the TYPE_IMPORT_DEMAND_LIST of the given type are NULL. (do_resolve_class): Look into the imports of the new second parameter. Adjust recursive calls. (resolve_class, resolve_inner_class, find_as_inner_class): Adjust calls to do_resolve_class. (create_class): Set the TYPE_IMPORT_LIST and TYPE_IMPORT_DEMAND_LIST. (java_complete_class): Do not do that here. libjava: 2005-05-10 Paolo Bonzini <bonzini@gnu.org> PR java/21436 * testsuite/libjava.jacks/jacks.xfail: Adjust. From-SVN: r99513
2005-05-10* configure: Regenerate.Mike Stump2-110/+192
From-SVN: r99498
2005-05-10BitSet.java (get(int, int)): Fix breakage when requested set doesn't start ↵David Daney2-1/+6
on a multiple of 64. 2005-05-09 David Daney <ddaney@avtrex.com> * java/util/BitSet.java (get(int, int)): Fix breakage when requested set doesn't start on a multiple of 64. From-SVN: r99492
2005-05-09libjava.exp (libjava_find_gij): Use $objdir/..Bryce McKinlay1-0/+4
2005-04-22 Bryce McKinlay <mckinlay@redhat.com> * testsuite/lib/libjava.exp (libjava_find_gij): Use $objdir/.. to find gij if get_multilibs fails. From-SVN: r99448
2005-05-07GtkVolatileImage.java: Add imports.Matthias Klose2-0/+8
2005-05-07 Matthias Klose <doko@debian.org> * gnu/java/awt/peer/gtk/GtkVolatileImage.java: Add imports. From-SVN: r99349
2005-05-06Makefile.am (gtk_awt_peer_sources): Add GtkVolatileImage.java.Thomas Fitzsimmons13-72/+965
2005-05-06 Thomas Fitzsimmons <fitzsim@redhat.com> * Makefile.am (gtk_awt_peer_sources): Add GtkVolatileImage.java. * Makefile.in: Regenerate. * gnu/java/awt/peer/gtk/GdkGraphicsConfiguration.java (createCompatibleVolatileImage(int,int)): Implement. (createCompatibleVolatileImage(int,int,ImageCapabilities)): Likewise. * gnu/java/awt/peer/gtk/GtkComponentPeer.java (backBuffer, caps): New fields. (createVolatileImage): Implement. (createBuffers): Likewise. (getBackBuffer): Likewise. (flip): Likewise. (destroyBuffers): Likewise. * gnu/java/awt/peer/gtk/GtkVolatileImage.java: New file. * java/awt/Canvas.java (CanvasBltBufferStrategy): New class. (CanvasFlipBufferStrategy): Likewise. (createBufferStrategy(int)): New method. (createBufferStrategy(int,BufferCapabilities)): Likewise. * java/awt/Component.java (BltBufferStrategy): Implement and document class. (FlipBufferStrategy): Likewise. * java/awt/Window.java (WindowBltBufferStrategy): New class. (WindowFlipBufferStrategy): Likewise. (createBufferStrategy(int)): New method. (createBufferStrategy(int,BufferCapabilities)): Likewise. (getBufferStrategy): Likewise. * java/awt/BufferCapabilities.java (BufferCapabilities): Rename front to frontCaps and back to backCaps. From-SVN: r99336
2005-05-062005-05-06 Michael Koch <konqueror@gmx.de>Michael Koch2-11/+16
* java/awt/BufferCapabilities.java (BufferCapabilities): Merged javadoc. From-SVN: r99304
2005-05-062005-05-06 Michael Koch <konqueror@gmx.de>Michael Koch2-45/+146
* java/util/Locale.java (defaultLocale): Use gnu.classpath.SystemProperties to get properties. (getLocale): New methods. Use it everywhere where instances of Locales are needed. (getDisplayLanguage): Merged javadoc. (getDisplayCountry): Likewise. (getDisplayVariant): Likewise. From-SVN: r99303
2005-05-06gnu_java_awt_peer_gtk_GdkPixbufDecoder.c: use DeleteLocalRef() to avoid ↵Archie Cobbs2-6/+19
exhausting local native references. 2005-05-06 Archie Cobbs <archie@dellroad.org> * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c: use DeleteLocalRef() to avoid exhausting local native references. From-SVN: r99302
2005-05-06[multiple changes]Michael Koch2-3/+24
2005-05-06 Mark Wielaard <mark@klomp.org> * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c: (window_delete_cb): Don't use C++ style comments. 2005-05-06 Robert Schuster <thebohemian@gmx.net> * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c: Fixed copyright header. 2005-05-06 Robert Schuster <thebohemian@gmx.net> * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c: (window_delete_cb): Made the function return TRUE. From-SVN: r99301
2005-05-062005-05-06 Roman Kennke <roman@kennke.org>Roman Kennke6-37/+270
* javax/swing/text/PlainView.java (drawUnselectedText): Call Utilities.drawTabbedText() with correct offset parameter. * javax/swing/text/Utilities.java (drawTabbedText): Initilialize local variable pos correctly. 2005-05-06 Roman Kennke <roman@kennke.org> * javax/swing/text/AbstractDocument.java (LeafElement): Made start and end package private fields for effective reindexing. * javax/swing/text/PlainDocument.java (constructor): The field rootElement is always BranchElement, so we handle it as such. (removeUpdate): Rewritten reindexing for removeUpdate so that the actual removal is taken into account. 2005-05-06 Roman Kennke <roman@kennke.org> * javax/swing/text/GapContent.java: Removed debugging output stuff, which I accidentally left in. 2005-05-06 Roman Kennke <roman@kennke.org> * javax/swing/text/GapContent.java: Implemented a real GapContent. Only the public methods have been implemented so far and still no UndoableEdit support. From-SVN: r99300
2005-05-04BufferCapabilities.java (BufferCapabilities): Fix the typo.H.J. Lu2-4/+9
2005-05-04 H.J. Lu <hongjiu.lu@intel.com> * java/awt/BufferCapabilities.java (BufferCapabilities): Fix the typo. From-SVN: r99261
2005-05-05BufferStrategy.java: Document.Thomas Fitzsimmons2-4/+76
2005-05-04 Thomas Fitzsimmons <fitzsim@redhat.com> * java/awt/image/BufferStrategy.java: Document. From-SVN: r99250
2005-05-04BufferCapabilities.java: Document.Thomas Fitzsimmons2-11/+140
2005-05-04 Thomas Fitzsimmons <fitzsim@redhat.com> * java/awt/BufferCapabilities.java: Document. From-SVN: r99234
2005-05-04FileLock.java (toString): Entirely avoid String "+".Tom Tromey2-12/+25
* java/nio/channels/FileLock.java (toString): Entirely avoid String "+". 2005-05-04 Andrew Overholt <overholt@redhat.com> * java/nio/channels/FileLock.java (toString): Re-implement using StringBuffer. From-SVN: r99230
2005-05-04Shuffle ChangeLog entries into new files ChangeLog-1998,Ian Lance Taylor8-24640/+24641
ChangeLog-2000, and ChangeLog-2004. Correct some typos. This change does not itself get a ChangeLog entry. From-SVN: r99225
2005-05-04ImageCapabilities.java: Document.Thomas Fitzsimmons3-40/+83
2005-05-04 Thomas Fitzsimmons <fitzsim@redhat.com> * java/awt/ImageCapabilities.java: Document. * java/awt/image/VolatileImage.java: Unindent copyright header. From-SVN: r99224
2005-05-04VolatileImage.java: Document.Thomas Fitzsimmons2-38/+222
2005-05-03 Thomas Fitzsimmons <fitzsim@redhat.com> * java/awt/image/VolatileImage.java: Document. From-SVN: r99208
2005-05-03* ChangeLog: Remove conflict indicator.Thomas Fitzsimmons1-1/+0
From-SVN: r99197
2005-05-032005-05-03 Thomas Fitzsimmons <fitzsim@redhat.com>Thomas Fitzsimmons2-3/+22
* jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c (init_glib_threads): Check if threading system is already initialized. From-SVN: r99196
2005-05-03re PR libgcj/21372 (FileChannel.tryLock() return value incorrect)Andrew Overholt3-3/+23
2005-05-03 Andrew Overholt <overholt@redhat.com> PR libgcj/21372: * gnu/java/nio/channels/FileChannelImpl.java: Return null if lock could not be acquired. * java/nio/channels/FileLock.java (toString): Re-implement to be in line with other implementations. From-SVN: r99188
2005-05-03VMSecurityManager.java (currentClassLoader): Use 'systemClasssLoader' directly.Tom Tromey2-1/+6
* java/lang/VMSecurityManager.java (currentClassLoader): Use 'systemClasssLoader' directly. From-SVN: r99185
2005-05-03VMSecurityManager.java (currentClassLoader): Don't call ↵Tom Tromey2-2/+7
VMClassLoader.getSystemClassLoader. * java/lang/VMSecurityManager.java (currentClassLoader): Don't call VMClassLoader.getSystemClassLoader. From-SVN: r99177
2005-04-292005-04-29 Michael Koch <konqueror@gmx.de>Michael Koch10-228/+247
* java/net/NetworkInterface.java (static): Removed. (NetworkInterface(String,InetAddress)): Made package-private. (NetworkInterface(String,InetAddress[])): New constructor. (getRealNetworkInterfaces): Removed. (getByName): Use VMNetworkInterface.getInterfaces(). (getByInetAddress): Likewise. (getNetworkInterfaces): Likewise. * java/net/VMNetworkInterface.java, java/net/natVMNetworkInterfaceNoNet.cc, java/net/natVMNetworkInterfacePosix.c,c java/net/natVMNetworkInterfaceWin32.cc: New files. * java/net/natNetworkInterfaceNoNet.cc, java/net/natNetworkInterfacePosix.cc, java/net/natNetworkInterfaceWin32.cc: Removed. * configure.ac * Makefile.am * configure, Makefile.in: Regenerated. From-SVN: r99021
2005-04-29Class.h (_Jv_ResolvePoolEntry): Declare as friend.Andrew Haley2-0/+7
2005-04-29 Andrew Haley <aph@redhat.com> * java/lang/Class.h (_Jv_ResolvePoolEntry): Declare as friend. From-SVN: r99016
2005-04-292005-04-29 Dalibor Topic <robilad@kaffe.org>Dalibor Topic5-37/+74
* java/nio/channels/FileChannelImpl.java (FileChannelImpl(String, int)): Removed. (FileChannelImpl(File, int)): Added. Check if opened file is a directory. * java/io/FileInputStream.java(FileInputStream): Fixed javadocs. Call FileChannelImpl(File, int). * java/io/FileOutputStream.java (FileInputStream): Call FileChannelImpl(File, int). * java/io/RandomAccessFile.java (RandomAccessFile): Call FileChannelImpl(File, int). Switched constructors around. From-SVN: r99011
2005-04-29re PR java/19285 (Interfaces not initialized by static field access)Andrew Haley4-9/+43
2005-04-27 Andrew Haley <aph@redhat.com> PR java/19285 * prims.cc (_Jv_ResolvePoolEntry): New function. * include/jvm.h (_Jv_Linker::find_field): New arg: found_class. * link.cc (_Jv_Linker::find_field): New arg: found_class. (resolve_pool_entry): Initialize the class in which a field is found. (link_symbol_table): Pass new arg to found_class. From-SVN: r99006
2005-04-292005-04-29 Michael Koch <konqueror@gmx.de>Michael Koch2-9/+21
* java/nio/charset/Charset.java (provider): Reformatted. From-SVN: r98978
2005-04-292005-04-29 Michael Koch <konqueror@gmx.de>Michael Koch2-22/+9
* gnu/java/net/protocol/http/HTTPConnection.java: (userAgent): Initialize from system properties. (initUserAgent): Removed. From-SVN: r98977
2005-04-29ResourceBundle.java (getObject): Clarify MissingResourceException detailed ↵Mark Wielaard2-7/+13
message. 2005-04-29 Mark Wielaard <mark@klomp.org> * java/util/ResourceBundle.java (getObject): Clarify MissingResourceException detailed message. (tryBundle(String,ClassLoader)): Likewise. From-SVN: r98976
2005-04-292005-04-29 Robert Schuster <thebohemian@gmx.net>Robert Schuster3-22/+75
* java/beans/FeatureDescriptor.java: (getShortDescription): Implemented fallback mechanism and fixed documentation (fixes bug #12637). (getDisplayName): Dito. 2005-04-29 Robert Schuster <thebohemian@gmx.net> * java/beans/Introspector.java: Fixed bug #12624, BeanDescriptors will now be set correctly. (flushCaches): Now flushes all cached intermediate data. From-SVN: r98975
2005-04-282005-04-28 Michael Koch <konqueror@gmx.de>Michael Koch2-3/+9
* java/net/InetAddress.java (aton): Fixed javadoc. (lookup): Likewise. From-SVN: r98941
2005-04-28[multiple changes]Michael Koch2-1/+21
2005-04-28 Tom Tromey <tromey@redhat.com> * javax/swing/Timer.java (drainEvents, queueEvent): Now package-private. 2005-04-28 Audrius Meskauskas <audriusa@bluewin.ch> * javax/swing/Timer.java (constructor): Assigning initialDelay. 2005-04-28 Audrius Meskauskas <audriusa@bluewin.ch> * javax/swing/Timer.java (Waker.run): firing the first action event. From-SVN: r98939
2005-04-28Timer.java: Reordered all fields and methods, Added more javadocs.Michael Koch2-160/+202
2005-04-28 Michael Koch <konqueror@gmx.de> * javax/swing/Timer.java: Reordered all fields and methods, Added more javadocs. From-SVN: r98936
2005-04-28Timer.java: Javadocs merged from GNU classpath.Michael Koch2-33/+73
2005-04-28 Michael Koch <konqueror@gmx.de> * javax/swing/Timer.java: Javadocs merged from GNU classpath. From-SVN: r98932
2005-04-28[multiple changes]Michael Koch2-20/+27
2005-04-28 Jeroen Frijters <jeroen@frijters.net> * gnu/java/net/protocol/file/Connection.java (StaticData): New inner class to contain statics. (connect, getHeaderField): Modified to use StaticData. 2005-04-28 Michael Koch <konqueror@gmx.de> * gnu/java/net/protocol/file/Connection.java (lineSeparator): Initialize with SystemProperties.getProperty(). From-SVN: r98929
2005-04-27Connection.java: Return correct content length for directory listing.Chris Burdess3-15/+88
2005-04-27 Chris Burdess <dog@gnu.org> * gnu/java/net/protocol/file/Connection.java: Return correct content length for directory listing. * java/net/URLClassLoader.java: Correction for URLClassLoader, bug #11285: return valid URLs for directories.i From-SVN: r98884
2005-04-27* gnu/java/net/protocol/https/Handler.java: Commit.Thomas Fitzsimmons1-0/+76
From-SVN: r98883
2005-04-27[multiple changes]Thomas Fitzsimmons4-3/+34
2005-04-27 Thomas Fitzsimmons <fitzsim@redhat.com> * Makefile.am (ordinary_java_source_files): Add gnu/java/net/protocol/https/Handler.java. * Makefile.in: Regenerate. * java/net/URL.java: Remove org.metastatic.jessie from default protocol search path. 2005-04-27 Chris Burdess <dog@gnu.org> * gnu/java/net/protocol/https/Handler.java: New file. From-SVN: r98879