aboutsummaryrefslogtreecommitdiff
path: root/libjava/classpath
AgeCommit message (Collapse)AuthorFilesLines
2007-02-09TimeZone.java: Handle default (one hour) daylight savings.Jakub Jelinek2-0/+5
2007-02-09 Jakub Jelinek <jakub@redhat.com> * java/util/TimeZone.java: Handle default (one hour) daylight savings. From-SVN: r121770
2007-02-09* gnu/classpath/jdwp/VMVirtualMachine.javaKeith Seitz1-0/+0
(_stepping_threads): New member. * classpath/lib/gnu/classpath/jdwp/VMVirtualMachine.class: Regenerated. * gnu/classpath/jdwp/VMVirtualMachine.h: Regenerated. * gnu/claspath/jdwp/natVMVirtualMachine.cc (get_request_step_filter): New function. (DISABLE_EVENT): New macro. (initialize): Initialize _stepping_threads. (registerEvent): Implement EVENT_SINGLE_STEP. (unregisterEvent): Likewise. From-SVN: r121769
2007-02-09TimeZone.java: Handle default (one hour) daylight savings.Jakub Jelinek1-2/+9
2007-02-09 Jakub Jelinek <jakub@redhat.com> * java/util/TimeZone.java: Handle default (one hour) daylight savings. From-SVN: r121766
2007-02-092007-02-09 Gary Benson <gbenson@redhat.com>Gary Benson3-1/+7
* javax/management/ObjectName.java (quote): Initialize StringBuilder correctly. From-SVN: r121765
2007-02-09re PR classpath/23566 (Need to regenerate TimeZone data against tzdata2006a)Jakub Jelinek3-123/+177
PR 23566 * scripts/timezones.pl: Parse each file in 2 passes, in one parse just Rule lines, in the other everything else. Pass 0 instead of $savings as second argument to parseRule when parsing the start rule. * java/util/TimeZone.java (timezones): Regenerate from tzdata2007a. From-SVN: r121740
2007-02-09sources.am: Regenerate.Keith Seitz1-0/+0
* sources.am: Regenerate. * Makefile.in: Regenerate. * classpath/lib/javax/management/MBeanServerFactory.class: Regenerate. From-SVN: r121734
2007-02-08This file got left behind in my last commit, sorry.Kyle Galloway1-0/+63
From-SVN: r121720
2007-02-08StackFrameCommandSet.java (executeGetValues): Pass jlong instead of ByteBuffer.Kyle Galloway5-4/+7
2007-02-08 Kyle Galloway <kgallowa@redhat.com> * classpath/gnu/classpath/jdwp/processor/ StackFrameCommandSet.java (executeGetValues): Pass jlong instead of ByteBuffer. (executeSetValues): Ditto. (executeThisObject): Ditto. * classpath/gnu/classpath/jdwp/processor/ StackFrameCommandSet.class: Rebuilt. * classpath/lib/gnu/classpath/jdwp/VMVirtualMachine.class: Rebuilt. * classpath/lib/gnu/classpath/jdwp/VMFrame.class: Rebuilt. * classpath/lib/gnu/classpath/jdwp/exception/ InvalidFrameException.java: New file. * gnu/classpath/jdwp/VMFrame.java: Added field for thread of frame. (Constructor): New method. * gnu/classpath/jdwp/VMFrame.h: Regenerated. * gnu/classpath/jdwp/VMVirtualMachine.java (getFrame): Changed ByteBuffer to jlong. * gnu/classpath/jdwp/natVMVirtualMachine.cc (getFrame): Implement. * gnu/classpath/jdwp/VMVirtualMachine.h: Regenerated. From-SVN: r121719
2007-02-082007-02-08 Gary Benson <gbenson@redhat.com>Gary Benson2-4/+8
* javax/management/MBeanServerFactory.java (servers): Initialize. (createMBeanServer): Don't initialize servers. From-SVN: r121713
2007-02-07re PR classpath/30718 (TransformerException in XSLURIResolver)Chris Burdess22-27/+141
2007-02-07 Chris Burdess <dog@gnu.org> Fixes PR 30718. * gnu/xml/dom/ls/SAXEventSink.java: Add public accessor/mutators. * gnu/xml/transform/XSLURIResolver.java: Add support for custom SAXSources without a backing URL or stream. Fixes PR 27710. * gnu/xml/dom/DomDocumentBuilderFactory.java: Fall back to synchronous LSParser if implementation does not support asynchronous. * gnu/xml/stream/XMLParser.java, gnu/xml/stream/XIncludeFilter.java: Use custom code instead of java.net.URL to resolve to an an absolute URI, to avoid nonexistent protocol handler problems. From-SVN: r121694
2007-02-06re PR cp-tools/30707 (gjavah cannot handle more than one CLASS)Tom Tromey3-3/+7
PR libgcj/30707: * tools/gnu/classpath/tools/javah/JniIncludePrinter.java (printClass): Always print a header. From-SVN: r121664
2007-02-06re PR cp-tools/30706 (gjavah incompatible with sun javah and gcjh)Andrew Haley5-3/+15
2007-02-05 Andrew Haley <aph@redhat.com> PR cp-tools/30706 * tools/gnu/classpath/tools/javah/JniIncludePrinter.java: (printClass): Replace '/' in filenames with '_'. * tools/gnu/classpath/tools/javah/JniStubPrinter.java (printClass): Likewise. From-SVN: r121641
2007-02-05Proxy.java (equals): Handle case where address==null.Tom Tromey3-4/+12
* java/net/Proxy.java (equals): Handle case where address==null. (hashCode): Likewise. (toString): Likewise. From-SVN: r121609
2007-02-01* java/lang/ClassLoader.java (getResources): No longer final.Tom Tromey1-0/+0
From-SVN: r121475
2007-02-01LogManager.java (loggers): Genericized.Tom Tromey8-0/+0
* java/util/logging/LogManager.java (loggers): Genericized. (addLogger): Merged. (findAncestor): Likewise. (getLogger): Likewise. (getLoggerNames): Genericized. (reset): Merged. (getLevelProperty): Likewise. * java/lang/reflect/Method.java (getDeclaringClass): Genericized. * java/lang/reflect/Constructor.java (getParameterTypes): Genericized. (getExceptionTypes): Likewise. (newInstance): Likewise. * java/lang/reflect/Array.java (newInstance): Genericized. * java/lang/Object.java (getClass): Genericized. * java/nio/charset/spi/CharsetProvider.java (charsets): Genericized. * java/text/Collator.java: Implement Comparable<Object>. From-SVN: r121473
2007-02-01Calendar.java: Implement Comparable<Calendar>.Tom Tromey5-0/+0
* java/util/Calendar.java: Implement Comparable<Calendar>. Update comments. (clear): Call complete. (setTimeZone): Call computeTime, computeFields. (compareTo): New method. * java/nio/charset/Charset.java: Implement Comparable<Charset>. (availableCharsets): Genericized. (aliases): Likewise. (compareTo): Changed argument type. * java/lang/ClassLoader.java (loadClass): Genericized. (findClass): Likewise. (defineClass): Likewise. (resolveClass): Likewise. (findSystemClass): Likewise. (setSigners): Likewise. (findLoadedClass): Likewise. (getResources): Likewise. (findResources): Likewise. (getSystemResources): Likewise. (checkInitialized): New method. * java/lang/Class.java (getCanonicalName): New method. From-SVN: r121471
2007-02-01Makefile.in: Rebuilt.Tom Tromey3-48/+31
* tools/Makefile.in: Rebuilt. * tools/Makefile.am (noinst_SCRIPTS): Renamed from bin_SCRIPTS. (noinst_DATA): Renamed from TOOLS_DATA. From-SVN: r121451
2007-01-31* resource/gnu/classpath/tools/jar/messages.propertiesTom Tromey14-1/+38
(Main.Stdin): New message. * tools/gnu/classpath/tools/jar/Main.java (initializeParser): Add '-@' option. (readNames): New method. (run): Use it. From-SVN: r121424
2007-01-30re PR libgcj/30600 (gnu.gcj.convert.BytesToCharsetAdaptor calculates bad ↵Kaloian Doganov1-0/+0
argument for java.nio.Buffer.limit(int)) 2007-01-29 Kaloian Doganov <kaloian@doganov.org> PR libgcj/30600: * gnu/gcj/convert/BytesToCharsetAdaptor.java (read): Fix call to 'limit'. From-SVN: r121329
2007-01-29java-interp.h: Added _Jv_Frame class and its two subclasses _Jv_InterpFrame ↵Kyle Galloway2-0/+0
and _Jv_NativeFrame. 2007-01-29 Kyle Galloway <kgallowa@redhat.com> * include/java-interp.h: Added _Jv_Frame class and its two subclasses _Jv_InterpFrame and _Jv_NativeFrame. Also moved _Jv_FrameType from java-stack.h. * include/java-stack.h: Removed _Jv_FrameType. * java/lang/Thread.java: Added frame member to hold new composite frame stack. * java/lang/Thread.h: Regenerated. * java/lang/Thread.class: Rebuilt. * jni.cc (_Jv_JNIMethod::call): Push a frame onto the stack when calling a JNI method. * jvmti.cc (_Jv_JVMTI_GetStackTrace): New Method. (_Jv_JVMTI_GetFrameCount): New method. * stacktrace.cc (UnwindTraceFn): Modified to use new _Jv_Frame classes. * testsuite/libjava.jvmti/interp/getstacktrace.jar: New test. * testsuite/libjava.jvmti/interp/natgetstacktrace.cc: New test. * testsuite/libjava.jvmti/interp/getstacktrace.h: New test. * testsuite/libjava.jvmti/interp/getstacktrace.jar: New test. * testsuite/libjava.jvmti/interp/getstacktrace.out: Output file for test. From-SVN: r121314
2007-01-29Checking in updated class fileTom Tromey1-0/+0
From-SVN: r121298
2007-01-29SecurityManager.java: Load and initialize java.security.Security.Andrew Haley2-0/+12
2007-01-26 Andrew Haley <aph@redhat.com> * java/lang/SecurityManager.java: Load and initialize java.security.Security. From-SVN: r121287
2007-01-29SecurityManager.java: Load and initialize java.security.Security.Andrew Haley1-0/+5
2007-01-26 Andrew Haley <aph@redhat.com> * java/lang/SecurityManager.java: Load and initialize java.security.Security. From-SVN: r121286
2007-01-29natClass.cc (initializeClass): Re-throw SecurityExceptions.Andrew Haley1-0/+0
2007-01-26 Andrew Haley <aph@redhat.com> * java/lang/natClass.cc (initializeClass): Re-throw SecurityExceptions. * java/lang/natVMClassLoader.cc (loadClass): checkPackageAccess. * java/lang/ClassLoader.java: (loadClass): Likewise. From-SVN: r121285
2007-01-26libjavaTom Tromey3-3/+8
* Updated headers. libjava/classpath * tools/gnu/classpath/tools/javah/FieldHelper.java (print): Print 'volatile' after field type. From-SVN: r121215
2007-01-26re PR libgcj/29594 (jv-convert with no args NPE)Tom Tromey1-0/+0
PR libgcj/29594: * gnu/gcj/convert/Convert.java (main): Correctly handle missing input or output encodings. Removed unused local variables. From-SVN: r121197
2007-01-23Arrays.java (binarySearch): Change comparison order.Marco Trudel4-3/+10
2007-01-23 Marco Trudel <mtrudel@gmx.ch> * java/util/Arrays.java (binarySearch): Change comparison order. From-SVN: r121091
2007-01-20Makefile.am, [...]: Install into nativeexeclibdir instead of gcjversionedlibdir.Matthias Klose5-78/+70
2007-01-20 Matthias Klose <doko@debian.org> * native/jni/gtk-peer/Makefile.am, native/jawt/Makefile.am: Install into nativeexeclibdir instead of gcjversionedlibdir. * native/jni/gtk-peer/Makefile.in, native/jawt/Makefile.in: Regenerate. From-SVN: r121008
2007-01-17* tools/gnu/classpath/tools/javah/PathOptionGroup.javaTom Tromey7-1/+11
(PathOptionGroup): Set default boot class path. From-SVN: r120882
2007-01-17aclocal.m4: Regenerate to use multi.m4.Jack Howarth36-24/+188
2007-01-17 Jack Howarth <howarth@bromo.med.uc.edu> boehm-gc/ * aclocal.m4: Regenerate to use multi.m4. * configure: Regenerate. * Makefile.in: Regenerate. zlib/ * Makefile.am: Add ACLOCAL_AMFLAGS to use multi.m4. * aclocal.m4: Regenerate. * configure: Regenerate. * Makefile.in: Regenerate. libffi/ * Makefile.am: Add ACLOCAL_AMFLAGS to use multi.m4. * aclocal.m4: Regenerate. * configure: Regenerate. * Makefile.in: Regenerate. libjava/ * configure.ac: Use multi.m4 from aclocal rather than custom code. Use multi_basedir instead libgcj_basedir. Test for /proc/self/exe when not cross-compiling. * aclocal.m4: Regenerate. * configure: Regenerate. * Makefile.in: Regenerate. libjava/classpath/ * configure.ac: Use multi.m4 from aclocal rather than custom code. Use multi_basedir instead libgcj_basedir. * aclocal.m4: Regenerate. * configure: Regenerate. * Makefile.in: Regenerate. libjava/libltdl/ * Makefile.am: Add ACLOCAL_AMFLAGS to use multi.m4. * configure.ac: Use multi.m4 from aclocal rather than custom code. * aclocal.m4: Regenerate. * configure: Regenerate. * Makefile.in: Regenerate. From-SVN: r120870
2007-01-15MappedByteBuffer.java: Removed.Gary Benson1-0/+0
2007-01-15 Gary Benson <gbenson@redhat.com> * java/nio/MappedByteBuffer.java: Removed. * sources.am, Makefile.in: Rebuilt. From-SVN: r120793
2007-01-15URLClassLoader.java: Removed.Gary Benson18-0/+0
2007-01-15 Gary Benson <gbenson@redhat.com> * java/net/URLClassLoader.java: Removed. * gnu/java/net/loader/Load_gcjlib.java: New file. * gnu/gcj/runtime/BootClassLoader.java: Ensure core URL handler is present in static executables. * sources.am, Makefile.in: Rebuilt. From-SVN: r120791
2007-01-11*.h: New files.Tom Tromey41-0/+0
* gnu/gcj/xlib/*.h: New files. * gnu/awt/xlib/*.h: Likewise. * classpath/lib/gnu/gcj/xlib: New class files. * classpath/lib/gnu/awt/xlib: Likewise. From-SVN: r120655
2007-01-11Readd missing chunks from r116332:Matthias Klose39-28/+113
2007-01-10 Matthias Klose <doko@debian.org> Readd missing chunks from r116332: * m4/acinclude.m4 (CLASSPATH_TOOLEXECLIBDIR): New macro. * resource/Makefile.am (loggingdir): Define to toolexeclibdir. (securitydir): Likewise. * configure.ac: Call CLASSPATH_TOOLEXECLIBDIR. Set default nativeexeclibdir using toolexeclibdir. Readd missing chunks from r115839: * native/jni/gtk-peer/Makefile.am (libgtkpeer_la_LDFLAGS): Add -avoid-version. * native/jawt/Makefile.am (libjawt_la_LDFLAGS): Add -avoid-version. * configure, Makefile.in, doc/Makefile.in, doc/api/Makefile.in, examples/Makefile.in, external/Makefile.in, external/jsr166/Makefile.in, external/relaxngDatatype/Makefile.in, external/sax/Makefile.in, external/w3c_dom/Makefile.in, include/Makefile.in, lib/Makefile.in, native/Makefile.in, native/fdlibm/Makefile.in, native/jawt/Makefile.in, native/jni/Makefile.in, native/jni/classpath/Makefile.in, native/jni/gconf-peer/Makefile.in, native/jni/gtk-peer/Makefile.in native/jni/java-io/Makefile.in, native/jni/java-lang/Makefile.in, native/jni/java-net/Makefile.in, native/jni/java-nio/Makefile.in, native/jni/java-util/Makefile.in, native/jni/midi-alsa/Makefile.in, native/jni/midi-dssi/Makefile.in, native/jni/native-lib/Makefile.in, native/jni/qt-peer/Makefile.in, native/jni/xmlj/Makefile.in, native/plugin/Makefile.in, resource/Makefile.in, scripts/Makefile.in, tools/Makefile.in: Regenerate From-SVN: r120654
2007-01-10URL.java: Removed.Gary Benson2-0/+0
2007-01-10 Gary Benson <gbenson@redhat.com> * java/net/URL.java: Removed. * sources.am, Makefile.in: Rebuilt. From-SVN: r120644
2007-01-10regexp, [...]: Remove empty directories.Matthias Klose1-0/+12
2007-01-10 Matthias Klose <doko@debian.org> * resource/gnu/regexp, tools/gnu/classpath/tools/rmi/rmic, tools/gnu/classpath/tools/rmi/rmid, tools/gnu/classpath/tools/giop, doc/www.gnu.org, doc/unicode, testsuite, testsuite/java.sun.awt, testsuite/javax.swing.text.html.parser, testsuite/java.lang, testsuite/java.opstack, testsuite/java.sun.tools, testsuite/java.text, testsuite/scheme, testsuite/config, testsuite/java.net, testsuite/lib, testsuite/java.io, testsuite/java.util, native/target, native/testsuite, native/vmi, org/omg/CORBA/SendingContext, gnu/regexp, test, compat: Remove empty directories. From-SVN: r120643
2007-01-09Merged gcj-eclipse branch to trunk.Tom Tromey9597-54623/+206694
From-SVN: r120621
2006-12-18Makefile.am: remove @X_CFLAGS@ from AM_CXXFLAGS...Adam Megacz2-9/+8
2006-12-18 Adam Megacz <megacz@cs.berkeley.edu> * Makefile.am: remove @X_CFLAGS@ from AM_CXXFLAGS; it causes -I/usr/include to wind up in cross-builds * configure: Regenerate. From-SVN: r120006
2006-11-032006-11-03 Gary Benson <gbenson@redhat.com>Gary Benson3-5/+14
* java/net/Inet4Address.java (FAMILY): Renamed to AF_INET. (<init>, writeReplace): Reflect the above. * java/net/Inet6Address.java (FAMILY): Renamed to AF_INET6. (<init>): Reflect the above. From-SVN: r118452
2006-10-10re PR xml/29362 (NullPointerException in ↵Tom Tromey2-1/+8
gnu.xml.transform.TransformerImpl.strip(libgcj.so.7rh)) PR classpath/29362: * gnu/xml/transform/TransformerImpl.java (transform): Only strip if there is a stylesheet. From-SVN: r117612
2006-10-052006-10-05 Gary Benson <gbenson@redhat.com>Gary Benson2-3/+13
* java/net/SocketPermission.java (processHostport): Cope with IPv6 addresses with a one-digit first component. From-SVN: r117454
2006-09-25Makefile.in: Rebuilt.Tom Tromey3-0/+9
* native/jni/gconf-peer/Makefile.in: Rebuilt. * native/jni/gconf-peer/Makefile.am (libgconfpeer_la_LDFLAGS): New variable. From-SVN: r117210
2006-09-25re PR libgcj/29178 (CharsetEncoder.canEncode() gives different results than ↵Tom Tromey4-1/+56
Sun version) PR libgcj/29178: * gnu/java/nio/charset/US_ASCII.java (Encoder.canEncode): New method. (Encoder.canEncode): Likewise. (Encoder.encodeLoop): Return unmappable for all non-ASCII characters. * gnu/java/nio/charset/ByteCharset.java (Encoder.canEncode): New method. (Encoder.canEncode): Likewise. * gnu/java/nio/charset/ISO_8859_1.java (Encoder.canEncode): New method. (Encoder.canEncode): Likewise. From-SVN: r117209
2006-09-25mprec.c (mprec_calloc): Renamed.Tom Tromey2-3/+8
* native/fdlibm/mprec.c (mprec_calloc): Renamed. (Balloc): Updated. From-SVN: r117204
2006-09-25Suggested by Aaron M.Mark Wielaard2-1/+7
2006-09-25 Mark Wielaard <mark@klomp.org> Suggested by Aaron M. Ucko <ucko@debian.org> Fixes bug #29203 * native/fdlibm/mprec.c (ulp): Define L as int32_t. From-SVN: r117197
2006-09-22re PR classpath/28661 (HTTP Header differs b/w java and classpath)David Daney2-0/+14
PR classpath/28661 * gnu/java/net/protocol/http/HTTPURLConnection.java (connect): Add default content-type for POST method. From-SVN: r117149
2006-09-22[multiple changes]Sven de Marothy5-511/+406
2006-08-02 Sven de Marothy <sven@physto.se> * gnu/java/awt/peer/gtk/GtkChoicePeer.java (remove): Force event on removing item 0 when it's selected. (handleEvent): Always call Choice.selected(). * java/awt/Choice.java: (remove): Simplify and correct. 2006-07-30 Sven de Marothy <sven@physto.se> * java/awt/Choice.java: (accessibleAction): Call select() directly. (add, insert, remove): Reimplement. (dispatchEventImpl): Always call super. (processItemEvent): Does not set the index. * include/gnu_java_awt_peer_gtk_GtkChoicePeer.h * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkChoicePeer.c (append): removed. (nativeAdd): Name changed to add. (selection_changed_cb): Simplify callback. * gnu/java/awt/peer/gtk/GtkChoicePeer.java (selected): New field. (add): Replaced with native impl. (handleEvent): New method. From-SVN: r117142
2006-09-20ChangeLog: Fix latest entry.Gary Benson1-7/+7
* ChangeLog: Fix latest entry. From-SVN: r117080
2006-09-20InetAddress.java: Updated to latest.Gary Benson6-250/+649
2006-09-20 Gary Benson <gbenson@redhat.com> * classpath/java/net/InetAddress.java: Updated to latest. * classpath/java/net/Inet4Address.java: Likewise. * classpath/java/net/Inet6Address.java: Likewise. * classpath/java/net/ResolverCache.java: Likewise. * classpath/java/net/SocketPermission.java: Likewise. * classpath/java/net/Inet4Address.java (AF_INET): Renamed to FAMILY. (<init>, writeReplace): Reflect the above. * classpath/java/net/Inet6Address.java (AF_INET6): Renamed to FAMILY. (<init>): Reflect the above. From-SVN: r117074
2006-09-18SSLSocket.java (isBound, [...]): Removed old comment.Tom Tromey2-122/+117
* gnu/javax/net/ssl/provider/SSLSocket.java (isBound, isClosed, isConnected): Removed old comment. (getRemoteSocketAddress): Uncommented. (setOOBInline, getOOBInline, setKeepAlive, getKeepAlive, setTrafficClass, getTrafficClass, setReuseAddress, getReuseAddress, shutdownInput, shutdownOutput, isInputShutdown, isOutputShutdown): Uncommented. From-SVN: r117035