aboutsummaryrefslogtreecommitdiff
path: root/libjava
AgeCommit message (Collapse)AuthorFilesLines
2003-02-10BigInteger.java: Updated notice to include years 2002 and 3.Raif S. Naffah2-181/+189
2003-02-10 Raif S. Naffah <raif@fl.net.au> * java/math/BigInteger.java: Updated notice to include years 2002 and 3. Added 2 private (int) arrays with values from the HAC (Handbook of Applied Cryptography -A. Menezes & al): k[] that contains bit lengths and t[] that contains nbr. of tests --used in isProbablePrime(). * java/math/BigInteger.java (make(long)): Merged into valueOf(long). * java/math/BigInteger.java (make(int[],int), add(int,int), add(BI,BI,int), times(BI,int), divide(long,long,BI,BI,int), gcd(BI), isProbablePrime(int), shift(BI,int), valueOf(String,int), neg(BI), bitOp(int,BI,BI), and(BI,int)): Use valueOf(long) instead of make(long). * java/math/BigInteger.java (euclidInv): Reduce number of work vars (euclidInv(int,int,int)): Now returns an array of 2 ints instead of 3. (euclidInv(BI,BI,BI)): Used to return an array of 2 BIs; now accepts 6 BIs and returns void. (modInverse(BI)): Use new signatures of euclidInv(). * java/math/BigInteger.java (isProbablePrime(int)): Use divide() with static small primes instead of remainder(). Use pre-computed max nbr of trials based on bitlength of BI to test. Use pre-computed small primes for the trial tests instead of random numbers. * java/math/BigInteger.java (isOdd, isMinusOne, pow): Removed. not used. * java/math/BigInteger.java (format(int,StringBuffer)): Removed invoacation of MPN.chars_per_word(). not used. * java/math/BigInteger.java (gcd(int,int)): Declared 'tmp' once as local var and used where needed. * java/math/BigInteger.java (modPow(BI,BI)): Fixed spelling. Combined declaration with initialisation of locals. Removed unused var. * java/math/BigInteger.java: Style changes (pow(int)): Removed 'else' keyword. (toString(int)): idem. (doubleValue()): idem. (bitLength()): idem. (equals(Object)): Use static methods name in same class w/o prepending class name. (doubleValue()): idem. (setNegative(BI)): idem. (negate()): idem. (and(BI,int)): idem. (and(BI)): idem. (gcd(BI)): idem. (byteArrayToIntArray()): Removed casting to (int). this is std. behaviour. (canonicalize()): idem. (alloc(int)): Always instantiate a new BI. From-SVN: r62656
2003-02-10Timestamp.java (compareTo(Object)): New method.Tom Tromey2-8/+32
* java/sql/Timestamp.java (compareTo(Object)): New method. (compareTo(Timestamp)): Likewise. (serialVersionUID): Updated. From-SVN: r62648
2003-02-07JarFile.java (JarFile(String, boolean)): Read manifest when verify is true.Mark Wielaard2-3/+28
* java/util/jar/JarFile.java (JarFile(String, boolean)): Read manifest when verify is true. (JarFile(File, boolean)): Likewise. (manifestRead): Set manifestRead field correctly. From-SVN: r62545
2003-02-07BigDecimal (valueOf): fix DiagBigDecimal val008, val013 tests; see patch ↵Stephen Crawley2-18/+54
#1016 on Savannah. 2003-02-07 Stephen Crawley <crawley@dstc.edu.au> * java/math/BigDecimal(valueOf): fix DiagBigDecimal val008, val013 tests; see patch #1016 on Savannah. 2003-02-07 Stephen Crawley <crawley@dstc.edu.au> * java/math/BigDecimal.java (BigDecimal): enhance parsing of exponents (toString): do not return Strings starting with . and - erroneously. Improves Mauve results to 12 of 600 instead of 16 of 338 on DiagBigDecimal. From-SVN: r62540
2003-02-07Stephen Crawley <crawley@dstc.edu.au>Stephen Crawley2-267/+314
* java/beans/PropertyDescriptor.java (PropertyDescriptor(String, Class)): Sanity check getter and setter methods. (PropertyDescriptor(String, Class, String, String)): Likewise. (PropertyDescriptor(String, Method, Method): Factor out getter and setter method sanity checks into new method. (findMethods): Don't do parameter sanity checking of get method here. (checkMethods): New method. 2003-02-07 Stephen Crawley <crawley@dstc.edu.au> * java/beans/PropertyDescriptor.java: Reformat. From-SVN: r62537
2003-02-07xfails: Add new entries for gnu.testlet.java.text.CollationElementIterator.jdk11Mark Wielaard2-0/+39
* libjava.mauve/xfails: Add new entries for gnu.testlet.java.text.CollationElementIterator.jdk11 From-SVN: r62525
2003-02-04PipedOutputStream.java (flush): Declare as throwing IOException.Tom Tromey4-7/+17
* java/io/PipedOutputStream.java (flush): Declare as throwing IOException. (close): Likewise. * java/io/PipedWriter.java (close): Declare as throwing IOException. * java/io/StringWriter.java (close): Declare as throwing IOException. From-SVN: r62401
2003-02-03natRuntime.cc (java::lang::Runtime::_load)): Take care of the fact that on ↵Ranjit Mathew2-2/+22
Win32... 2003-02-03 Ranjit Mathew <rmathew@hotmail.com> * java/lang/natRuntime.cc (java::lang::Runtime::_load)): Take care of the fact that on Win32, JNI_OnLoad is an "stdcall" function and could also have been exported as "JNI_OnLoad@8" (MinGW) or "_JNI_OnLoad@8" (MSVC). From-SVN: r62348
2003-02-03resolve.cc (_Jv_JNIMethod::ncode): Use stdcall calling convention on Win32 ↵Ranjit Mathew2-1/+13
to invoke native JNI methods. 2003-02-03 Ranjit Mathew <rmathew@hotmail.com> * resolve.cc (_Jv_JNIMethod::ncode): Use stdcall calling convention on Win32 to invoke native JNI methods. From-SVN: r62345
2003-02-03Fix ChangeLog entry.Andrew Haley1-1/+1
From-SVN: r62328
2003-02-03configure.host (x86_64): Enable interpreter.Andrew Haley2-1/+5
2003-02-03 Andrew Haley <aph@emcee.cambridge.redhat.com> * configure.host (x86_64): Enable interpreter. From-SVN: r62326
2003-02-03jacks.exp (gcj_jacks_write): Set LD_LIBRARY_PATH to find libgcc_s.Ulrich Weigand2-1/+11
* libjava.jacks/jacks.exp (gcj_jacks_write): Set LD_LIBRARY_PATH to find libgcc_s. Set JAVA_CLASSPATH to find libgcj.jar. From-SVN: r62318
2003-02-03libgcj.spec.in (jc1): Add BACKTRACESPEC.Andrew Haley5-352/+367
2003-02-03 Andrew Haley <aph@redhat.com> * libgcj.spec.in (jc1): Add BACKTRACESPEC. * configure.host (x86_64): Default to -fno-omit-frame-pointer. * configure.in (BACKTRACESPEC): New. * configure: Regenerate. From-SVN: r62316
2003-02-02configure: Rebuilt.Tom Tromey3-2/+5
* configure: Rebuilt. * configure.in (TOOLKIT) [xlib]: Set correctly. From-SVN: r62292
2003-02-02Makefile.in: Rebuilt.Tom Tromey3-3/+11
* Makefile.in: Rebuilt. * Makefile.am (lib_gnu_awt_xlib_la_LDFLAGS): Link against libstdc++. From-SVN: r62291
2003-02-01Makefile.in: Rebuilt.Mark Wielaard3-3/+8
* Makefile.in: Rebuilt. * Makefile.am (gtk_c_headers): Strip trailing / from jniinclude. From-SVN: r62231
2003-01-31jni.cc (_Jv_JNI_NewObjectArray): Check that initializer can be cast to ↵Tom Tromey2-1/+11
element type. * jni.cc (_Jv_JNI_NewObjectArray): Check that initializer can be cast to element type. (_Jv_JNI_SetObjectArrayElement): Check array bounds. (_Jv_JNI_GetObjectArrayElement): Likewise. From-SVN: r62210
2003-01-31Makefile.in: Rebuilt.Tom Tromey3-42/+39
* Makefile.in: Rebuilt. * Makefile.am (cond_x_ltlibrary): Renamed library to lib-gnu-awt-xlib.la. (lib_gnu_awt_xlib_la_SOURCES): Renamed. (EXTRA_lib_gnu_awt_xlib_la_SOURCES): Likewise. (lib_gnu_awt_xlib_la_DEPENDENCIES): Likewise. (lib_gnu_awt_xlib_la_LIBADD): Likewise. (lib_gnu_awt_xlib_la_LDFLAGS): Likewise. (lib_gnu_awt_xlib_la_LINK): Likewise. (install-exec-hook): Removed. (lib-gnu-awt-xlib.la): Renamed. From-SVN: r62201
2003-01-31libjava.exp (libjava_prune_warnings): Remove all unreachable bytecode warnings.Mark Wielaard2-3/+14
* lib/libjava.exp (libjava_prune_warnings): Remove all unreachable bytecode warnings. From-SVN: r62190
2003-01-31aclocal.m4, [...]: Rebuilt.Tom Tromey5-267/+345
* aclocal.m4, configure, include/config.h.in: Rebuilt. * acinclude.m4 (CHECK_FOR_BROKEN_MINGW_LD): Resurrected; was in aclocal.m4 and lost in some merge. From-SVN: r62188
2003-01-31Window.java (Window(Window,GraphicsConfiguration)): Don't try to find ↵Tom Tromey93-1309/+16186
graphics configuration. * java/awt/Window.java (Window(Window,GraphicsConfiguration)): Don't try to find graphics configuration. * java/awt/Toolkit.java (default_toolkit_name): Use new Configuration entry. * gnu/classpath/Configuration.java.in (default_awt_peer_toolkit): New global. * configure: Rebuilt. * configure.in (TOOLKIT): New subst. (--enable-java-awt) [xlib, gtk]: Set TOOLKIT if required. Do AWT tests much earlier. Run Gtk tests. Make jniinclude directory. Make output directories for .c files. * Makefile.in: Rebuilt. * Makefile.am (lib_gnu_java_awt_peer_gtk_la_SOURCES): New macro. (toolexeclib_LTLIBRARIES): Added cond_gtk_ltlibrary. (all_java_source_files): Added new sources. ($(lib_gnu_java_awt_peer_gtk_la_OBJECTS)): New target. (gtk_c_files): New macro. (gtk_c_source_files): New macro. (cond_gtk_ltlibrary): New macro. ($(gtk_c_files)): New target. (lib_gnu_java_awt_peer_gtk_la_LIBADD): New macro. (gtk_awt_peer_sources): New macro. (gtk_c_headers): New macro. ($(gtk_c_headers)): New target. (ACLOCAL_AMFLAGS): New macro. * gtk.m4, glib.m4, libart.m4: New files. * gnu/java/awt/peer/gtk/GdkFontMetrics.java, gnu/java/awt/peer/gtk/GdkGraphics.java, gnu/java/awt/peer/gtk/GtkArg.java, gnu/java/awt/peer/gtk/GtkArgList.java, gnu/java/awt/peer/gtk/GtkButtonPeer.java, gnu/java/awt/peer/gtk/GtkCanvasPeer.java, gnu/java/awt/peer/gtk/GtkCheckboxGroupPeer.java, gnu/java/awt/peer/gtk/GtkCheckboxMenuItemPeer.java, gnu/java/awt/peer/gtk/GtkCheckboxPeer.java, gnu/java/awt/peer/gtk/GtkChoicePeer.java, gnu/java/awt/peer/gtk/GtkClipboard.java, gnu/java/awt/peer/gtk/GtkComponentPeer.java, gnu/java/awt/peer/gtk/GtkContainerPeer.java, gnu/java/awt/peer/gtk/GtkDialogPeer.java, gnu/java/awt/peer/gtk/GtkFileDialogPeer.java, gnu/java/awt/peer/gtk/GtkFontPeer.java, gnu/java/awt/peer/gtk/GtkFramePeer.java, gnu/java/awt/peer/gtk/GtkGenericPeer.java, gnu/java/awt/peer/gtk/GtkImage.java, gnu/java/awt/peer/gtk/GtkImagePainter.java, gnu/java/awt/peer/gtk/GtkLabelPeer.java, gnu/java/awt/peer/gtk/GtkListPeer.java, gnu/java/awt/peer/gtk/GtkMainThread.java, gnu/java/awt/peer/gtk/GtkMenuBarPeer.java, gnu/java/awt/peer/gtk/GtkMenuComponentPeer.java, gnu/java/awt/peer/gtk/GtkMenuItemPeer.java, gnu/java/awt/peer/gtk/GtkMenuPeer.java, gnu/java/awt/peer/gtk/GtkOffScreenImage.java, gnu/java/awt/peer/gtk/GtkPanelPeer.java, gnu/java/awt/peer/gtk/GtkPopupMenuPeer.java, gnu/java/awt/peer/gtk/GtkScrollbarPeer.java, gnu/java/awt/peer/gtk/GtkScrollPanePeer.java, gnu/java/awt/peer/gtk/GtkTextAreaPeer.java, gnu/java/awt/peer/gtk/GtkTextComponentPeer.java, gnu/java/awt/peer/gtk/GtkTextFieldPeer.java, gnu/java/awt/peer/gtk/GtkToolkit.java, gnu/java/awt/peer/gtk/GtkWindowPeer.java, gnu/java/awt/peer/gtk/TestAWT.java, gnu/java/awt/peer/gtk/Test.java: New files from Classpath. * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontMetrics.c, jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c, jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c, jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCanvasPeer.c, jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxMenuItemPeer.c, jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c, jni/gtk-peer/gnu_java_awt_peer_gtk_GtkChoicePeer.c, jni/gtk-peer/gnu_java_awt_peer_gtk_GtkClipboard.c, jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c, jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c, jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c, jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImagePainter.c, jni/gtk-peer/gnu_java_awt_peer_gtk_GtkLabelPeer.c, jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c, jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c, jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuBarPeer.c, jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuItemPeer.c, jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c, jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPanelPeer.c, jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c, jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollBarPeer.c, jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollPanePeer.c, jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c, jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c, jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c, jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c, jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c, jni/gtk-peer/gthread-jni.c, jni/gtk-peer/gthread-jni.h, jni/gtk-peer/gtkpeer.h, jni/classpath/jcl.c, jni/classpath/jcl.h, jni/classpath/jnilink.c, jni/classpath/jnilink.h, jni/classpath/native_state.c, jni/classpath/native_state.h, jni/classpath/primlib.c, jni/classpath/primlib.h: Likewise. From-SVN: r62187
2003-01-31Properties.java (load): Ignore backslash before EOF.Julian Dolby2-1/+12
2003-01-31 Julian Dolby <dolby@us.ibm.com> * java/util/Properties.java (load): Ignore backslash before EOF. From-SVN: r62186
2003-01-30natClass.cc (initializeClass): Check tables when (state == ↵Jeff Sturm3-10/+31
JV_STATE_IN_PROGRESS). * java/lang/natClass.cc (initializeClass): Check tables when (state == JV_STATE_IN_PROGRESS). (_Jv_GetInterfaces): Use _Jv_WaitForState to link interface. * java/lang/natClassLoader.cc (_Jv_WaitForState): Handle interpreted classes. (linkClass0): Use _Jv_WaitForState. From-SVN: r62161
2003-01-28Component.java (processPaintEvent): Dispose of Graphics object when finished.Oscar Pearce2-13/+25
2003-01-28 Oscar Pearce <oscar@pearceenterprises.com> * java/awt/Component.java (processPaintEvent): Dispose of Graphics object when finished. From-SVN: r62052
2003-01-28* libjava/configure.host: Disable can_unwind_signal on darwin.Andreas Tobler2-0/+5
From-SVN: r62048
2003-01-28TestEarlyGC.java: Added comment explaining bytecode.Tom Tromey2-0/+15
* libjava.loader/TestEarlyGC.java: Added comment explaining bytecode. From-SVN: r62047
2003-01-28re PR java/9254 (java::lang::Object::wait(), threads-win32.cc returns wrong ↵Ranjit Mathew3-52/+136
return codes) 2003-01-28 Ranjit Mathew <rmathew@hotmail.com> Fixes PR java/9254: * include/win32-threads.h (_Jv_Mutex_t): Convert to a struct additionally containing id of the owner thread as well as the number of nested times the thread has acquired the mutex. (_Jv_MutexInit): Initialise owner thread id and refcount to 0. (_Jv_MutexDestroy): Reset owner thread id and refcount to 0. (_Jv_MutexUnlock): Check if really the owner thread, reset owner thread id to 0 before leaving, if leaving for the last time. (_Jv_MutexLock): Set owner thread id in the mutex and increment refcount. (_Jv_ThreadYield): Yield using a call to Sleep(0). * win32-threads.cc (_Jv_CondWait): Check if really owner of the passed mutex. Pass handle of the broadcast event, instead of a pointer to it in Win32 ResetEvent( ) call. Remove incorrect return values. (_Jv_CondDestroy): Close both event handles and delete critical section. (_Jv_CondNotify): Check if really the owner thread. (_Jv_CondNotifyAll): Check if really the owner thread. (_Jv_InitThreads): Change daemon_cond to a manual-reset event. (really_start): Use SetEvent( ) to signal daemon_cond. (_Jv_ThreadWait): Remove SignalObjectAndWait( ) and use WaitForSingleObject( ) instead to wait for daemon_cond to be signalled. From-SVN: r62033
2003-01-28configure.in: Specifically define HAVE_BACKTRACE if building for MinGW.Ranjit Mathew5-322/+359
2003-01-27 Ranjit Mathew <rmathew@hotmail.com> * configure.in: Specifically define HAVE_BACKTRACE if building for MinGW. * include/win32.h: Remove HAVE_BACKTRACE definition. * gnu/gcj/runtime/natStackTrace.cc: Include platform.h. * configure: Rebuilt. From-SVN: r62000
2003-01-28* libjava.jacks/jacks.xfail: More lexer tests now pass.Tom Tromey2-43/+4
From-SVN: r61995
2003-01-28consthrow.java: New file.Tom Tromey3-0/+13
* libjava.compile/consthrow.java: New file. * libjava.compile/consthrow.xfail: New file. From-SVN: r61959
2003-01-28configure.in (toolexecdir, [...]): Set and AC_SUBST.Alexandre Oliva5-345/+389
* configure.in (toolexecdir, toolexecmainlibdir, toolexeclibdir): Set and AC_SUBST. Remove USE_LIBDIR conditional. * Makefile.am (toolexecdir, toolexeclibdir): Don't override. (toolexecmainlib_DATA): Renamed from toolexeclib_DATA. * Makefile.in, configure: Rebuilt. From-SVN: r61931
2003-01-28* libjava.lang/pr8823.xfail: New file, add "xfail-byte".Kaveh R. Ghazi2-0/+5
From-SVN: r61917
2003-01-24re PR java/9253 (on win32, java.io.File.listFiles("C:\\") returns pwd ↵Ranjit Mathew2-2/+10
instead of the root content of C:) 2003-01-24 Ranjit Mathew <rmathew@hotmail.com> Fixes PR java/9253: * java/io/natFileWin32.cc (performList): Append only "*.*" if the canonical file path already has a "\" at the end. From-SVN: r61736
2003-01-24defineclass.cc (handleMethodsEnd): Precompute code for static method.Tom Tromey5-21/+73
* defineclass.cc (handleMethodsEnd): Precompute code for static method. (handleCodeAttribute): Likewise. * resolve.cc (ncode): Use run_class for unsynchronized static methods. * include/java-interp.h (class _Jv_InterpMethod): Declare run_class. * interpret.cc (run_synch_class): Initialize class. (run) [insn_invokestatic]: Don't initialize class. [insn_anewarray]: Likewise. [insn_multianewarray]: Likewise. (run_class): New function. From-SVN: r61727
2003-01-24ClassLoader.java (findLoadedClass): Removed erroneous comment.Tom Tromey2-3/+7
* java/lang/ClassLoader.java (findLoadedClass): Removed erroneous comment. From-SVN: r61725
2003-01-24calls.c (Java_calls_docall): Define with JNIEXPORT and JNICALL method ↵Ranjit Mathew13-13/+31
attributes. 2003-01-24 Ranjit Mathew <rmathew@hotmail.com> * libjava.jni/calls.c (Java_calls_docall): Define with JNIEXPORT and JNICALL method attributes. * libjava.jni/field.c (Java_field_fetch): Likewise. * libjava.jni/final_method.c (Java_final_1method_meth): Likewise. * libjava.jni/findclass.c (Java_findclass_doit): Likewise. * libjava.jni/invoke.c (Java_invoke_val): Likewise. * libjava.jni/martin.c (Java_martin_myNative): Likewise. * libjava.jni/noclass.c (Java_noclass_find_1it): Likewise. * libjava.jni/overload.c (Java_overload_over__I): Likewise. (Java_overload_over__II): Likewise. * libjava.jni/register.c (JNI_OnLoad): Likewise. * libjava.jni/simple_int.c (Java_simple_1int_nat): Likewise. * libjava.jni/throwit.c (Java_throwit_throwit): Likewise. * libjava.jni/virtual.c (Java_virtual_equals): Likewise. From-SVN: r61720
2003-01-22Fix misapplied patch.Andrew Haley1-1/+1
From-SVN: r61601
2003-01-22x86_64-signal.h: Add simple handler for x86_64 32-bit mode.Andrew Haley3-1/+20
2003-01-22 Andrew Haley <aph@redhat.com> * x86_64-signal.h: Add simple handler for x86_64 32-bit mode. * configure.host (CHECKREFSPEC): Define for x86_64. From-SVN: r61600
2003-01-21natResourceBundle.cc (getCallingClassLoader): Start search at 2, not 3.Tom Tromey2-2/+10
* java/util/natResourceBundle.cc (getCallingClassLoader): Start search at 2, not 3. From-SVN: r61574
2003-01-21natFileWin32.cc (isAbsolute): Check path length before looking at any ↵Vladimir Puskas3-8/+17
characters. 2003-01-21 Vladimir Puskas <vpuskas@eunet.yu> * java/io/natFileWin32.cc (isAbsolute): Check path length before looking at any characters. * java/io/natFilePosix.cc (_stat): Only compute `buf' if it will be used. (isAbsolute): Check path's length as well. From-SVN: r61566
2003-01-21jacks.xfail: All 8.4.3 tests and 9.4-modifier-10 now pass.Tom Tromey2-5/+5
* libjava.jacks/jacks.xfail: All 8.4.3 tests and 9.4-modifier-10 now pass. From-SVN: r61557
2003-01-20Makefile.am (core_java_source_files): Add VMObjectStreamClass.java.Mark Wielaard8-33/+102
* Makefile.am (core_java_source_files): Add VMObjectStreamClass.java. (nat_source_files): Add natVMObjectStreamClass.cc. * Makefile.in: Regenerated. * gcj/javaprims.h (namespace java): Regenerated. * java/io/ObjectStreamClass.java (getClassUID): Call VMObjectStreamClass.hasClassInitializer(). (hasClassInitializer): Removed. * java/io/VMObjectStreamClass.java: New class. * java/io/natVMObjectStreamClass.cc: New file. * java/lang/Class.h: Make java::io::VMObjectStreamClass friend class. From-SVN: r61501
2003-01-16SocketImpl.java (toString): Don't explicitly call toString() on possible ↵Mark Wielaard2-2/+8
null address. * java/net/SocketImpl.java (toString): Don't explicitly call toString() on possible null address. From-SVN: r61404
2003-01-162003-01-16 Michael Koch <konqueror@gmx.de>Michael Koch2-5/+10
* java/net/MulticastSocket.java (setInterface): Reindented. From-SVN: r61379
2003-01-15natGC.cc (fillPolygon): New method.Scott Gilbertson6-19/+52
2003-01-15 Scott Gilbertson <scottg@mantatest.com> * gnu/gcj/xlib/natGC.cc (fillPolygon): New method. * gnu/gcj/xlib/GC.java (fillPolygon): Declare. * gnu/awt/xlib/XGraphics.java (fillPolygon): Added translateX and translateY arguments. Implement. * gnu/awt/j2d/IntegerGraphicsState.java (fillPolygon): Pass down translation arguments. (drawPolyline, drawPolygon): Fix incorrect tests. * gnu/awt/j2d/DirectRasterGraphics.java (fillPolygon): Added translateX and translateY arguments. From-SVN: r61369
2003-01-15Makefile.in: Rebuilt.Scott Gilbertson3-3/+13
2003-01-15 Scott Gilbertson <scottg@mantatest.com> * Makefile.in: Rebuilt. * Makefile.am (xlib_includes): New macro. (INCLUDES): Use it. From-SVN: r61366
2003-01-15XToolkit.java (getColorModel): Implemented.Scott Gilbertson3-12/+35
2003-01-15 Scott Gilbertson <scottg@mantatest.com> * gnu/awt/xlib/XToolkit.java (getColorModel): Implemented. * gnu/awt/xlib/XGraphicsConfiguration.java (getPixel): Work with 16-bit display mode. From-SVN: r61362
2003-01-15CardLayout.java (show): Rewrote.Scott Gilbertson2-21/+34
2003-01-15 Scott Gilbertson <scottg@mantatest.com> * java/awt/CardLayout.java (show): Rewrote. (gotoComponent): Removed `target' argument. Simplified code. Don't pre-compute `choice' unless `what' is FIRST or LAST. Changed all callers. (NONE): Removed. From-SVN: r61357
2003-01-142003-01-14 Michael Koch <konqueror@gmx.de>Michael Koch4-1/+17
* java/net/InetSocketAddress.java (serialVersionUID): New member variable. * java/net/NetPermission.java (NetPermission): Dont implement java.io.Serialization directly. * java/net/SocketAddress.java: (serialVersionUID): Documentation added. From-SVN: r61305
2003-01-142003-01-14 Michael Koch <konqueror@gmx.de>Michael Koch16-33/+317
* java/awt/Label.java (Label): Implements javax.accessibility.Accessible; * java/awt/List.java (List): Implements javax.accessibility.Accessible; * java/awt/ScrollPane.java (ScrollPane): Implements javax.accessibility.Accessible; * java/awt/Scrollbar.java (Scrollbar): Implements javax.accessibility.Accessible; * java/awt/TextComponent.java (setCaretPosition): Throw exception, documentation added. * java/awt/Toolkit.java: Added some newlines in method documentations. (createButton): Exception documentation added. (createTextField): Exception documentation added. (createLabel): Exception documentation added. (createList): Exception documentation added. (createCheckbox): Exception documentation added. (createScrollbar): Exception documentation added. (createScrollPane): Exception documentation added. (createTextArea): Exception documentation added. (createChoice): Exception documentation added. (createFrame): Exception documentation added. (createWindow): Exception documentation added. (createDialog): Exception documentation added. (createMenuBar): Exception documentation added. (createMenu): Exception documentation added. (createMenuItem): Exception documentation added. (createFileDialog): Exception documentation added. (createCheckboxMenuItem): Exception documentation added. (loadSystemColors): Exception documentation added. (setDynamicLayout): Exception documentation added. (isDynamicLayoutSet): Exception documentation added. (isDynamicLayoutActive): Exception documentation added. (getScreenSize): Exception documentation added. (getScreenResolution): Exception documentation added. (getScreenInsets): Exception documentation added. (getColorModel): Exception documentation added. (getSystemClipboard): Exception documentation added. (getSystemSelection): Exception documentation added. (getMenuShortcutKeyMask): Exception documentation added. (getSystemEventQueue): Exception documentation added. * java/awt/Window.java: Reindented some code. (Window): Centralized implementation, documentation added. (finalize): Documentation added. (hide): Fixed typo in comment. (getWindowListeners): Documentation added. * java/awt/color/ColorSpace.java (toRGB): Documentation added. * java/awt/color/ICC_ColorSpace.java (ICC_ColorSpace): Documentation added. (toRGB): Throw exception, documentation added. (fromRGB): Throw exception, documentation added. (toCIEXYZ): Documentation added. (fromCIEXYZ): Documentation added. (getMinValue): Documentation added. (getMaxValue): Documentation added. * java/awt/geom/Dimension2D.java (clone): Documentation added. * java/awt/geom/GeneralPath.java (clone): Documentation added. * java/awt/geom/Line2D.java (clone): Documentation added. * java/awt/geom/QuadCurve2D.java (clone): Documentation added. * java/awt/image/ColorModel.java (ColorModel): Throw exception, documentation added. * java/awt/image/ImageFilter.java (clone): Doesnt throw CloneNotSupportedException. From-SVN: r61303