aboutsummaryrefslogtreecommitdiff
path: root/libjava
AgeCommit message (Collapse)AuthorFilesLines
2004-09-29re PR libgcj/17715 (.properties files missing from libgcj-4.0.0.jar)Tom Tromey3-14/+50
PR libgcj/17715: * Makefile.in: Rebuilt. * Makefile.am (libgcj-@gcc_version@.jar): Include properties files. (all_property_files): New macro. From-SVN: r88300
2004-09-29Makefile.in: Rebuilt.Tom Tromey3-495/+499
* Makefile.in: Rebuilt. * Makefile.am (ordinary_java_source_files): Re-sorted. (libgcj.la): Moved to old location near lib-gnu-awt-xlib.la. From-SVN: r88294
2004-09-28* jni.cc (_Jv_JNI_RegisterNatives): Formatting fixlets.Tom Tromey2-3/+4
From-SVN: r88255
2004-09-28re PR libgcj/17222 (libjava fails to build due to command line length during ↵Tom Tromey3-2/+22
link) PR libgcj/17222: * Makefile.am (libgcj.la): Restored. * Makefile.in: Rebuilt. From-SVN: r88251
2004-09-28URLConnection.java: Reformatted.Michael Koch3-33/+47
2004-09-28 Michael Koch <konqueror@gmx.de> * java/net/URLConnection.java: Reformatted. * java/net/URLClassLoader.java: Reformatted. (getContent): Reordered return of content. (getContentHandler): Don't check for null explicitely. From-SVN: r88226
2004-09-272004-09-27 Michael Koch <konqueror@gmx.de>Michael Koch2-11/+29
* java/io/BufferedInputStream.java (BufferedInputStream): Added Jeroen Frijters to authors. (count): Don't explicitely initialize with default value. (pos): Likewise. (marklimit): Likewise. (read): Changed boolean expression to match GNU classpath' version. (reset): Add proper message to exception. (skip): Check for closed stream. (refill): Likewise. From-SVN: r88167
2004-09-26prims.cc (unblock_signal): Annotate signum with __unused__ to avoid warnings ↵Per Bothner6-5/+22
in the non-POSIX_VERSION case. * prims.cc (unblock_signal): Annotate signum with __unused__ to avoid warnings in the non-POSIX_VERSION case. Also, we only need this function if either HANDLE_SEGV or HANDLE_FPE, so place it inside an #if block. * include/default-signal.h (SIGNAL_HANDLER): Parameters are __unused__. * include/i386-signal.h (SIGNAL_HANDLER): Likewise * include/mips-signal.h (SIGNAL_HANDLER): Likewise * include/sparc-signal.h (SIGNAL_HANDLER): Likewise From-SVN: r88148
2004-09-26* prims.cc (process_gcj_properties): Optimization.Per Bothner2-11/+12
From-SVN: r88147
2004-09-26Collections.java (sort): Copy from array in forwards order...Per Bothner2-4/+9
* java/util/Collections.java (sort): Copy from array in forwards order, rather than reverse order which may be much less efficient. From-SVN: r88146
2004-09-26System.java (properties): Make package private.Mark Wielaard3-3/+28
2004-09-26 Mark Wielaard <mark@klomp.org> * java/lang/System.java (properties): Make package private. * java/lang/Throwable.java (StaticData.nl): Initialize through directly accessing System.properties.getProperty(). * java/lang/Throwable.java (nl): Remove static field. (StaticData): New private static inner class. (stackTraceStringBuffer): Use StaticData.nl. From-SVN: r88133
2004-09-262004-09-26 Casey Marshall <csm@gnu.org>Casey Marshall3-3/+14
* java/security/ProtectionDomain.java (<init>(CodeSource,PermissionCollection)): set `staticBinding' to `true'. * java/security/SecureClassLoader.java (defineClass): make protection domain dynamically bound. (getPermissions): call `getCurrentPolicy' to avoid permission check. From-SVN: r88127
2004-09-25[multiple changes]Mark Wielaard7-294/+404
2004-09-25 Mark Wielaard <mark@klomp.org> * Makefile.am (core_java_source_files): Add VMTimeZone.java. (nat_source_files): Rename natTimeZone.cc to natVMTimeZone.cc. * Makefile.in: Regenerated. * gcj/javaprims.h: Regenerated. * java/util/TimeZone.java (defaultZone): Use VMTimeZone. (getDefaultTimeZone): Make package private. Check that GMToffset contains at least one digit. (getDefaultTimeZoneId, readTimeZoneFile, readtzFile): (Re)Moved to VMTimeZone. * util/VMTimeZone.java: New file with above methods. * java/util/natTimeZone.cc: Removed (renamed). * java/util/natVMTimeZone.cc: Added (renamed). 2004-09-25 Jeroen Frijters <jeroen@frijters.net> * java/util/TimeZone.java (getDefaultTimeZone): Fixed test to distinguish between hours and minutes in specified timezone. From-SVN: r88112
2004-09-25Proxy.java (getPackage, [...]): Fixed handling of default package.Jeroen Frijters2-21/+17
2004-09-25 Jeroen Frijters <jeroen@frijters.net> * java/lang/reflect/Proxy.java (getPackage, ClassFactory): Fixed handling of default package. (generate): Removed confused comments and code about making Method and Field accessible. From-SVN: r88109
2004-09-25re PR java/17500 (Anonymous inner class compile freakout)Tom Tromey2-0/+33
PR java/17500: * testsuite/libjava.compile/pr17500.java: New file. From-SVN: r88107
2004-09-25RE.java (initialize): Add RETokenLookAhead support.Shashank Bapat5-10/+134
2004-09-25 Shashank Bapat <shashankbapat@yahoo.com> Mark Wielaard <mark@klomp.org> * gnu/regexp/RE.java (initialize): Add RETokenLookAhead support. * gnu/regexp/RETokenLookAhead.java: New file. * Makefile.am (ordinary_java_source_files): Add RETokenLookAhead.java. * Makefile.in: Regenerated. Co-Authored-By: Mark Wielaard <mark@klomp.org> From-SVN: r88106
2004-09-25ObjectStreamField.java: Removed unused import statement.Michael Koch2-1/+5
2004-09-25 Michael Koch <konqueror@gmx.de> * java/io/ObjectStreamField.java: Removed unused import statement. From-SVN: r88091
2004-09-24re PR java/15656 (ICE segfault in lex.c)Tom Tromey3-0/+13
PR java/15656: * testsuite/libjava.compile/pr15656.xfail: New file. * testsuite/libjava.compile/pr15656.java: new file. From-SVN: r88047
2004-09-24re PR java/16789 (ICE in force_evaluation_order() on valid code)Tom Tromey3-0/+22
PR java/16789: * testsuite/libjava.lang/pr16789.out: New file. * testsuite/libjava.lang/pr16789.java: New file. From-SVN: r88046
2004-09-24re PR java/16927 (assert statement fails at -O1 and above)Andrew Haley2-0/+12
2004-09-24 Andrew Haley <aph@redhat.com> PR java/16927 * testsuite/libjava.compile/AssertBug.java: New file. From-SVN: r88035
2004-09-242004-09-24 Casey Marshall <csm@gnu.org>Casey Marshall2-1/+6
* java/util/PropertyPermissionCollection.java (implies): avoid infinite loop. From-SVN: r88033
2004-09-242004-09-24 Andrew John Hughes <gnu_andrew@member.fsf.org>Andrew John Hughes2-0/+10
* javax/security/auth/PrivateCredentialPermission.java (PrivateCredentialPermission): added serialization UID From-SVN: r88031
2004-09-242004-09-24 Ilya Perminov <iperminov@logicalsoft.com>Ilya Perminov3-1/+23
* gnu/java/rmi/server/UnicastServer.java (incomingMessageCall): Added code to handle Errors. * gnu/java/rmi/server/UnicastServerRef.java (incomingMessageCall): Added code to handle Errors. From-SVN: r88030
2004-09-24ClassLoader.java (loadedClasses): Declare as HashMap.Tom Tromey2-3/+8
2004-09-24 Tom Tromey <tromey@redhat.com> * java/lang/ClassLoader.java (loadedClasses): Declare as HashMap. (definedPackages): Likewise. From-SVN: r88027
2004-09-24ObjectInputStream.java: Re-ordered imports.Michael Koch2-9/+11
2004-09-24 Michael Koch <konqueror@gmx.de> * java/io/ObjectInputStream.java: Re-ordered imports. From-SVN: r88025
2004-09-24ObjectInputStream.java (callReadMethod): re-throw `ClassNotFoundException'.Casey Marshall2-1/+9
2004-09-24 Casey Marshall <csm@gnu.org> * java/io/ObjectInputStream.java (callReadMethod): re-throw `ClassNotFoundException'. From-SVN: r88023
2004-09-24ObjectInputStream.java (readObject): Delegate instantation of Externalizable ↵Jeroen Frijters3-23/+58
classes to ObjectStreamClass. 2004-09-24 Jeroen Frijters <jeroen@frijters.net> * java/io/ObjectInputStream.java (readObject): Delegate instantation of Externalizable classes to ObjectStreamClass. * java/io/ObjectStreamClass.java (newInstance): New method to instantiate Externalizable (while ignoring the accessibility of the constructor). (constructor): New field to cache the constructor. From-SVN: r88019
2004-09-24URL.java (systemClassLoader): New static field.Mark Wielaard2-20/+34
2004-09-24 Mark Wielaard <mark@klomp.org> * java/net/URL.java (systemClassLoader): New static field. (getURLStreamHandler): Always use system/application classloader for finding URLStreamhandler. Remove unecessary instanceof checks. From-SVN: r88018
2004-09-242004-09-24 Guilhem Lavaux <guilhem@kaffe.org>Guilhem Lavaux2-17/+31
* java/net/URL.java (set): This method now matches the behaviour of the JDK. (DEFAULT_SEARCH_PATH): Added "gnu.inet". From-SVN: r88016
2004-09-24[multiple changes]Michael Koch2-1/+12
2004-09-24 Guilhem Lavaux <guilhem@kaffe.org> * java/net/URL.java (URL): Delete whitespaces in the protocol string. 2004-09-24 Jeroen Frijters <jeroen@frijters.net> * java/net/URL.java (URL(String,String,int,String,URLStreamHandler): Don't set authority if host isn't specified. From-SVN: r88015
2004-09-24PipeImpl.java: Use VMPipe for native stuff.Michael Koch13-36/+184
2004-09-24 Michael Koch <konqueror@gmx.de> * gnu/java/nio/PipeImpl.java: Use VMPipe for native stuff. * gnu/java/nio/SelectorImpl.java: Use VMSelector for native stuff. * gnu/java/nio/VMPipe.java, gnu/java/nio/VMSelector.java: New files. * gnu/java/nio/natPipeImplEcos.cc, gnu/java/nio/natPipeImplPosix.cc, gnu/java/nio/natPipeImplWin32.cc: Ported to VMPipe. * gnu/java/nio/natSelectorImplEcos.cc, gnu/java/nio/natSelectorImplPosix.cc, gnu/java/nio/natSelectorImplWin32.cc: Ported to VMSelector. * Makefile.am: Added new files gnu/java/nio/VMPipe.java and gnu/java/nio/VMSelector.java. * Makefile.in: Regenerated. From-SVN: r88014
2004-09-242004-09-24 Jeroen Frijters <jeroen@frijters.net>Jeroen Frijters2-7/+13
* java/lang/StackTraceElement.java (className): Renamed field to declaringClass to be compatible with Sun serialization format. From-SVN: r88012
2004-09-23AppletContext.java, [...]: Jalopied and checkstyle clean.Michael Koch5-12/+23
2004-09-23 Michael Koch <konqueror@gmx.de> * java/applet/AppletContext.java, java/applet/Applet.java, java/applet/AppletStub.java, java/applet/AudioClip.java: Jalopied and checkstyle clean. From-SVN: r87972
2004-09-232004-09-23 Mark Wielaard <mark@klomp.org>Mark Wielaard2-3/+24
* java/util/Collections.java (binarySearch(List, Object, Comparator)): Explicitly reverse direction in list iterator. (rotate): Just return when list is empty. From-SVN: r87970
2004-09-23re PR java/17329 (ICE: SEGV in java_gimplify_expr)Tom Tromey2-0/+17
PR java/17329: * testsuite/libjava.compile/pr17329.java: New file. From-SVN: r87960
2004-09-23re PR java/17380 (Bad diagnostic and ICE on valid code...)Tom Tromey2-0/+8
PR java/17380: * testsuite/libjava.jacks/jacks.xfail: Added 9.2-implicit-6 and 9.2-implicit-7. From-SVN: r87958
2004-09-23Makefile.am: Run aclocal with -I ../configKelley Cook9-337/+641
2004-09-22 Kelley Cook <kcook@gcc.gnu.org> * Makefile.am: Run aclocal with -I ../config * acinclude.m4: Delete macros picked up from ../config and tidy. (AM_ICONV,AM_LC_MESSAGES, PKG_CHECK_MODULES): Delete. * aclocal.m4, configure, Makefile.in, gcj/Makefile.in: Regenerate. * include/Makefile.in, testsuite/Makefile.in: Regenerate. From-SVN: r87913
2004-09-23aclocal.m4: Regenerate with aclocal 1.9.2.Kelley Cook7-268/+279
2004-09-22 Kelley Cook <kcook@gcc.gnu.org> * aclocal.m4: Regenerate with aclocal 1.9.2. * configure: Regenerate. * Makefile.in, gcj/Makefile.in: Regenerate with automake 1.9.2. * include/Makefile.in, testsuite/Makefile.in: Likewise. From-SVN: r87912
2004-09-23re PR libgcj/17623 (URL does not retain userInfo across context constructor.)David Daney2-1/+12
PR libgcj/17623 * java/net/URL.java (URL): Copy userInfo from context. (getUserInfo): Return cached userInfo if present. From-SVN: r87909
2004-09-23re PR libgcj/6182 (Mauve Character.unicode test gives bogus test results)Tom Tromey2-4/+5
PR libgcj/6182: * mauve-libgcj: Enable java.lang.Character tests. From-SVN: r87901
2004-09-22Makefile.am (lib_org_ietf_jgss_la_DEPENDENCIES): Add missing dependencies.Andreas Tobler3-261/+270
2004-09-22 Andreas Tobler <a.tobler@schweiz.ch> * Makefile.am (lib_org_ietf_jgss_la_DEPENDENCIES): Add missing dependencies. (lib_org_ietf_jgss_la_LIBADD): Likewise. * Makefile.in: Regenerated. From-SVN: r87890
2004-09-22configure.ac: Introduce AC_C_BIGENDIAN_CROSS for WORDS_BIGENDIAN.Andreas Tobler8-146/+449
2004-09-22 Andreas Tobler <a.tobler@schweiz.ch> * configure.ac: Introduce AC_C_BIGENDIAN_CROSS for WORDS_BIGENDIAN. * configure: Regenerate. * include/config.h.in: Likewise. * jni/gtk-peer/gtkpeer.h (SWAPU32): Introduce macro to swap pixels. * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImagePainter.c: Moved SWAPU32 macro to gtkpeer.h. * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c (Java_gnu_java_awt_peer_gtk_GdkGraphics2D_getImagePixels): Convert pixels from 0xBBGGRRAA to 0xAARRGGBB only on Little Endian architectures. * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c (area_updated): Likewise. From-SVN: r87889
2004-09-22re PR java/14446 (GZIPInputStream: corrupted gzip file - crc mismatch)Tom Tromey3-1/+28
PR libgcj/14446: * java/util/zip/GZIPInputStream.java (read): Avoid sign extension when comparing CRCs. * java/util/zip/InflaterInputStream.java (onebytebuffer): New field. (read()): New overload. From-SVN: r87882
2004-09-21natMethod.cc (_Jv_CallAnyMethodA): Indentation fix.Tom Tromey2-1/+7
* java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA): Indentation fix. From-SVN: r87825
2004-09-212004-09-21 Michael Koch <konqueror@gmx.de>Michael Koch2-2/+8
* java/net/Socket.java (getLocalAddress): Return InetAddress.ANY_IF if not bound yet. From-SVN: r87817
2004-09-21MacSpi.java (clone): Provide meaningful implementation.Casey Marshall2-1/+6
2004-09-21 Casey Marshall <csm@gnu.org> * javax/crypto/MacSpi.java (clone): Provide meaningful implementation. From-SVN: r87816
2004-09-21re PR libgcj/16869 (too long list of arguments in "make clean")Tom Tromey3-264/+266
PR libgcj/16869: * Makefile.in: Rebuilt. * Makefile.am (MOSTLYCLEANFILES): Removed. (mostlyclean-local): Remove header files. From-SVN: r87813
2004-09-21TreeMap.java (root): Don't initialize.Mark Wielaard1-2/+7
2004-09-21 Mark Wielaard <mark@klomp.org> * java/util/TreeMap.java (root): Don't initialize. (TreeMap(Comparator)): Call fabricateTree(0). (fabricateTree): Initialize root and size when count is 0. From-SVN: r87811
2004-09-212004-09-21 Casey Marshall <csm@gnu.org>Andreas Tobler2-35/+33
* java/security/cert/X509CRLSelector.java: (match): remove unreachable try-catch clauses. Reported by: Dalibor Topic <robilad@kaffe.org> From-SVN: r87805
2004-09-21ByteBuffer.java (hashCode): Implemented.Sven de Marothy8-14/+134
2004-09-21 Sven de Marothy <sven@physto.se> * java/nio/ByteBuffer.java (hashCode): Implemented. * java/nio/CharBuffer.java: Likewise. * java/nio/DoubleBuffer.java: Likewise. * java/nio/FloatBuffer.java: Likewise. * java/nio/LongBuffer.java: Likewise. * java/nio/IntBuffer.java: Likewise. * java/nio/ShortBuffer.java: Likewise. From-SVN: r87804
2004-09-21[multiple changes]Andreas Tobler3-3/+11
2004-09-21 Andreas Tobler <a.tobler@schweiz.ch> * javax/security/auth/x500/X500Principal.java: Fix some merge glitches. 2004-09-21 Michael Koch <konqueror@gmx.de> * javax/net/ssl/SSLServerSocket.java: Removed comment about "Do not edit this file, it's generated.". From-SVN: r87800