aboutsummaryrefslogtreecommitdiff
path: root/libjava
AgeCommit message (Collapse)AuthorFilesLines
2002-02-07verify.cc (verify_instructions_0): Actually push the duplicate of a wide type.Mark Wielaard2-0/+7
2002-02-06 Mark Wielaard <mark@klomp.org> * verify.cc (verify_instructions_0) [op_dup2]: Actually push the duplicate of a wide type. From-SVN: r49559
2002-02-06verify.cc (type::isnull): New method.Tom Tromey2-1/+16
* verify.cc (type::isnull): New method. (require_array_type): Handle case where array is null. (verify_instructions_0) [op_arraylength]: Likewise. From-SVN: r49555
2002-02-06Oops, forgot these in last check-in.Bryce McKinlay2-354/+333
From-SVN: r49537
2002-02-06configure.in: Set up PLATFORMOBJS not PLATFORM_SPECIFIC_SOURCES.Bryce McKinlay4-10/+24
* configure.in: Set up PLATFORMOBJS not PLATFORM_SPECIFIC_SOURCES. Symlink PLATFORMH to platform.h. * Makefile.am (libgcj_la_DEPENDENCIES, libgcj_la_LIBADD): Add PLATFORMOBJS. * java/lang/natSystem.cc: #include platform.h not posix.h. * Makefile.in: Rebuilt with libgcj automake. * configure: Rebuilt. From-SVN: r49534
2002-02-05* Makefile.in: Undo munging last change.Richard Henderson2-16/+21
From-SVN: r49519
2002-02-05Undo munging last update.Richard Henderson1-87/+2452
From-SVN: r49514
2002-02-05win32.cc: Created it.Adam Megacz5-2692/+347
2002-02-04 Adam Megacz <adam@xwt.org> * win32.cc: Created it. configure.in: Added PLATFORM_SPECIFIC_SOURCES, which is set to posix.cc or win32.cc. Makefile.am: Updated it to use $(PLATFORM_SPECIFIC_SOURCES). From-SVN: r49509
2002-02-05configure.in: Corrected mingw case branches; added * before and after.Adam Megacz1-0/+5
2002-02-04 Adam Megacz <adam@xwt.org> * configure.in: Corrected mingw case branches; added * before and after. From-SVN: r49508
2002-02-05configure.in: Add -lgdi32 -lwsock32 -lws2_32 to libgcj.spec if compiling for ↵Adam Megacz3-228/+247
win32 2002-02-04 Adam Megacz <adam@xwt.org> * configure.in: Add -lgdi32 -lwsock32 -lws2_32 to libgcj.spec if compiling for win32 From-SVN: r49507
2002-02-05win32-threads.cc: #undef STRICT after gc.h inclusionAdam Megacz2-0/+6
2002-02-04 Adam Megacz <adam@xwt.org> * win32-threads.cc: #undef STRICT after gc.h inclusion From-SVN: r49506
2002-02-02* Makefile.in: Rebuilt.Tom Tromey2-17/+76
From-SVN: r49447
2002-02-02* Makefile.am (clean-nat): New target.Jason Merrill2-0/+8
From-SVN: r49443
2002-02-02* java/io/natFile.cc: Removed old "FIXME" comments.Tom Tromey2-13/+5
From-SVN: r49434
2002-02-02natPosixProcess.cc (myclose): New function.Tom Tromey2-14/+33
* java/lang/natPosixProcess.cc (myclose): New function. (fail): Use it. (startProcess): Likewise. From-SVN: r49433
2002-02-02*** empty log message ***Adam Megacz1-1/+1
From-SVN: r49431
2002-02-02prims.cc: Added #undef STRICT after #include<windows.h>.Adam Megacz2-1/+6
2002-02-01 Adam Megacz <adam@xwt.org> * prims.cc: Added #undef STRICT after #include<windows.h>. From-SVN: r49430
2002-02-022002-02-01 Adam Megacz <adam@xwt.org>Adam Megacz2-21/+17
* prims.cc (_Jv_CreateJavaVM): We now use WIN32 instead of USE_WIN32_SIGNALLING and USE_WINSOCK. (win32_exception_handler): Now throws an exception out of the signal handler; assumes SJLJ From-SVN: r49429
2002-02-022002-02-01 Adam MegaczAdam Megacz2-31/+87
* win32-threads.cc: (_Jv_CondWait, _Jv_CondNotify, _Jv_CondNotifyAll): Corrected wait() algorithm to make it safe. (ensure_condvar_initialized, _Jv_CondInit, _Jv_CondDestroy): Added lazy creation of Win32 Events for better performance (really_start): This now uses GC_CreateThread so boehm-gc knows about new threads even when statically linked. From-SVN: r49428
2002-02-02win32-threads.h (_Jv_ConditionVariable_t): Now a struct, to enable safer ↵Adam Megacz2-51/+42
wait() algorithm. 2002-02-01 Adam Megacz <adam@xwt.org> * include/win32-threads.h (_Jv_ConditionVariable_t): Now a struct, to enable safer wait() algorithm. (_Jv_CondWait, _Jv_CondInit, _Jv_CondDestroy, _Jv_CondNotify, _Jv_CondNotifyAll): Implementations moved to win32-threads.cc. (_Jv_MutexInit, _Jv_HaveMutexDestroy, _Jv_MutexUnlock, _Jv_MutexLock, _Jv_ThreadYield): Reimplement using CRITICAL_SECTIONs instead of mutex. (_Jv_ThreadYield): Don't call Sleep(), because it crashes win98. From-SVN: r49427
2002-02-02configure.in: Added support for mingw.Adam Megacz5-256/+290
2002-02-01 Adam Megacz <adam@xwt.org> * configure.in: Added support for mingw. * java/lang/Win32Process.java: Created as empty file. * java/lang/natWin32Process.cc: Created as empty file. From-SVN: r49425
2002-02-01re PR java/4972 (undefined reference to `libiconv')Craig Rodrigues4-328/+327
2002-02-01 Craig Rodrigues <rodrigc@gcc.gnu.org> PR java/4972 * aclocal.m4, acinclude.m4 (AM_ICONV): Put linking flags for libiconv in LIBICONV variable. * configure: Regenerated. From-SVN: r49411
2002-02-01verify.cc (state::enter_subroutine): New method.Tom Tromey2-10/+39
* verify.cc (state::enter_subroutine): New method. (handle_jsr_insn): Use it. (state::merge): When processing a `ret', correctly use subroutine's state to determine which local variables have changed. (push_exception_jump): Don't let stack overflow. From-SVN: r49388
2002-01-31gccbug.in: Follow GNU Coding Standards for --version.Joseph Myers2-1/+6
gcc: * gccbug.in: Follow GNU Coding Standards for --version. Use GCC version rather than GNATS version in --version output. gcc/f: * g77spec.c (lang_specific_driver): Follow GNU Coding Standards for --version. gcc/java: * gjavah.c (version), jcf-dump.c (version), jv-scan.c (version): Follow GNU Coding Standards for --version. libjava: * gnu/gcj/convert/Convert.java: Only include one copyright year in --version output. From-SVN: r49372
2002-01-30natPlainSocketImpl.cc (_Jv_recv): Added template parameter for `recv' return ↵Tom Tromey2-2/+6
type. * java/net/natPlainSocketImpl.cc (_Jv_recv): Added template parameter for `recv' return type. From-SVN: r49345
2002-01-30verify.cc (handle_ret_insn): Check for subroutine merge here...Tom Tromey2-9/+81
* verify.cc (handle_ret_insn): Check for subroutine merge here... (state::merge): ... not here. (subr_entry_info): New structure. (entry_points): New field. (~_Jv_BytecodeVerifier): Correctly free jsr_ptrs. Free entry_points. From-SVN: r49344
2002-01-30List.java (addNotify): Correctly check to see if peer does not exist.Tom Tromey2-1/+4
* java/awt/List.java (addNotify): Correctly check to see if peer does not exist. From-SVN: r49335
2002-01-29GridLayout.java (layoutContainer): Use number of rows to compute height of ↵Tom Tromey4-5/+15
each cell... * java/awt/GridLayout.java (layoutContainer): Use number of rows to compute height of each cell, and number of columns to compute width of each cell. * java/awt/Window.java (getOwnedWindows): Don't return null. * java/awt/FlowLayout.java (layoutContainer): Set width and height of component. Increment x using horizontal gap, not vertical gap. From-SVN: r49320
2002-01-28verify.cc (class _Jv_BytecodeVerifier): `nargs' byte is number of words, not ↵Tom Tromey2-7/+21
number of arguments. * verify.cc (class _Jv_BytecodeVerifier) [op_invokeinterface]: `nargs' byte is number of words, not number of arguments. From-SVN: r49292
2002-01-28MouseEvent.java (modifiers): Removed field.Tom Tromey3-6/+9
* java/awt/event/MouseEvent.java (modifiers): Removed field. (when): Likewise. * java/awt/event/InputEvent.java (modifiers, when): Now package-private. From-SVN: r49275
2002-01-28verify.cc (class _Jv_BytecodeVerifier): Removed `FIXME' comment and to-do list.Tom Tromey2-13/+22
* verify.cc (class _Jv_BytecodeVerifier): Removed `FIXME' comment and to-do list. (state::merge): Use current class' class loader. (state::print): Print subroutine. (state::merge): Don't look at subroutine of unmerged `ret'. From-SVN: r49274
2002-01-27nogc.cc: Remove warnings.Andreas Tobler2-8/+26
2002-01-26 Andreas Tobler <a.tobler@schweiz.ch> * nogc.cc: Remove warnings. (_Jv_GCRegisterDisappearingLink, _Jv_GCCanReclaimSoftReference): New functions. From-SVN: r49273
2002-01-26MemoryImageSource.java (newPixels(byte[], ColorModel, int, int): Remove ↵Bryce McKinlay2-8/+8
empty "if" statement to work around compiler bug. * java/awt/image/MemoryImageSource.java (newPixels(byte[], ColorModel, int, int): Remove empty "if" statement to work around compiler bug. (newPixels(int[], ColorModel, int, int): Likewise. From-SVN: r49245
2002-01-25ChangeLog entry for verify.cc.Per Bothner1-0/+12
From-SVN: r49241
2002-01-25verify.cc (verify_fail): Change from being a top-level function to e method ↵Per Bothner1-106/+107
of _Jv_BytecodeVerifier. * verify.cc (verify_fail): Change from being a top-level function to e method of _Jv_BytecodeVerifier. Emit current method name. Pass the current verifier to type: and state: methods as needed, for better error messages, and for resolve. (resolve): Pass current class's loader for Class.forName and _Jv_FindClassFromSignature, rather than using the default loader. (various type: and state: methods): Take _Jv_BytecodeVerifier* arg. (get_type_val_for_signature): Make non-static. (various methods): Pass start_PC implicitly, not explicitly. From-SVN: r49240
2002-01-25FlowLayout.java (layoutContainer): Correctly compute loop termination condition.Tom Tromey3-6/+13
* java/awt/FlowLayout.java (layoutContainer): Correctly compute loop termination condition. * java/awt/GridLayout.java (getSize): Use `real_cols' to compute width. From-SVN: r49216
2002-01-25Shape.java: Merged with Classpath.Tom Tromey3-237/+731
* java/awt/Shape.java: Merged with Classpath. * java/awt/Scrollbar.java: Merged with Classpath. From-SVN: r49208
2002-01-25Updated copyright dateTom Tromey1-1/+1
From-SVN: r49207
2002-01-25Container.java (addNotify): Unconditionally call addNotifyContainerChildren ↵Tom Tromey2-5/+5
and superclass addNotify. * java/awt/Container.java (addNotify): Unconditionally call addNotifyContainerChildren and superclass addNotify. From-SVN: r49206
2002-01-25ColorModel.java (getAlpha(Object)): Call getAlpha, not getBlue.Tom Tromey2-1/+6
* java/awt/image/ColorModel.java (getAlpha(Object)): Call getAlpha, not getBlue. From-SVN: r49203
2002-01-25Fix up last entry.Bryce McKinlay1-2/+2
From-SVN: r49202
2002-01-25PixelGrabber.java (grabPixels()): Call grabPixels(0).Bryce McKinlay2-23/+12
* java/awt/image/PixelGrabber.java (grabPixels()): Call grabPixels(0). * java/awt/image/PixelGrabber.java (grabPixels(long)): Wait to be notified that the ImageProducer has completed. From-SVN: r49201
2002-01-25natObject.cc (X86 compare_and_swap): Use +m constraint.Bryce McKinlay2-2/+7
2002-01-25 Bryce McKinlay <bryce@waitaki.otago.ac.nz> * java/lang/natObject.cc (X86 compare_and_swap): Use +m constraint. From-SVN: r49198
2002-01-24Improved ChangeLog entry for verify.cc (is_assignable_from_slow).Per Bothner1-2/+2
From-SVN: r49190
2002-01-24verify.cc (is_assignable_from_slow): If source is an interface, we must also ↵Per Bothner2-1/+8
check the superclass. * verify.cc (is_assignable_from_slow): If source is an interface, we must also check the superclass. From-SVN: r49189
2002-01-24* gnu/awt/xlib/XToolkit.java (getPrintJob): New stub method.Tom Tromey2-1/+11
From-SVN: r49184
2002-01-24BorderLayout.java (addLayoutComponent): Added missing `else'.Tom Tromey2-1/+4
* java/awt/BorderLayout.java (addLayoutComponent): Added missing `else'. From-SVN: r49172
2002-01-24Makefile.in: Rebuilt.Tom Tromey15-251/+2858
* Makefile.in: Rebuilt. * Makefile.am (awt_java_source_files): Added new files. * java/awt/Toolkit.java: Merged with Classpath. * java/awt/PrintGraphics.java: New file from Classpath. * java/awt/PrintJob.java: New file from Classpath. * java/awt/datatransfer/Clipboard.java: New file from Classpath. * java/awt/datatransfer/ClipboardOwner.java: New file from Classpath. * java/awt/datatransfer/DataFlavor.java: New file from Classpath. * java/awt/datatransfer/FlavorMap.java: New file from Classpath. * java/awt/datatransfer/MimeTypeParseException.java: New file from Classpath. * java/awt/datatransfer/StringSelection.java: New file from Classpath. * java/awt/datatransfer/SystemFlavorMap.java: New file from Classpath. * java/awt/datatransfer/Transferable.java: New file from Classpath. * java/awt/datatransfer/UnsupportedFlavorException.java: New file from Classpath. From-SVN: r49171
2002-01-24Makefile.in: Rebuilt.Tom Tromey3-53/+372
* Makefile.in: Rebuilt. * Makefile.am (awt_java_source_files): Added new files. * java/awt/image/AreaAveragingScaleFilter.java: New file from Classpath. * java/awt/image/CropImageFilter.java: New file from Classpath. * java/awt/image/FilteredImageSource.java: New file from Classpath. * java/awt/image/ImageFilter.java: New file from Classpath. * java/awt/image/MemoryImageSource.java: New file from Classpath. * java/awt/image/PixelGrabber.java: New file from Classpath. * java/awt/image/RGBImageFilter.java: New file from Classpath. * java/awt/image/ReplicateScaleFilter.java: New file from Classpath. * java/awt/image/ImageProducer.java: Replaced with Classpath version. * java/awt/image/ImageObserver.java: Replaced with Classpath version. * java/awt/image/ImageConsumer.java: Replaced with Classpath version. * java/awt/GridBagConstraints.java (clone): Catch CloneNotSupportedException. From-SVN: r49169
2002-01-24Makefile.in: Rebuilt.Tom Tromey12-7/+1774
* Makefile.in: Rebuilt. * Makefile.am (awt_java_source_files): Added new files. * java/awt/image/AreaAveragingScaleFilter.java: New file from Classpath. * java/awt/image/CropImageFilter.java: New file from Classpath. * java/awt/image/FilteredImageSource.java: New file from Classpath. * java/awt/image/ImageFilter.java: New file from Classpath. * java/awt/image/MemoryImageSource.java: New file from Classpath. * java/awt/image/PixelGrabber.java: New file from Classpath. * java/awt/image/RGBImageFilter.java: New file from Classpath. * java/awt/image/ReplicateScaleFilter.java: New file from Classpath. * java/awt/image/ImageProducer.java: Replaced with Classpath version. * java/awt/image/ImageObserver.java: Replaced with Classpath version. * java/awt/image/ImageConsumer.java: Replaced with Classpath version. * java/awt/GridBagConstraints.java (clone): Catch CloneNotSupportedException. From-SVN: r49157
2002-01-23natField.cc (setAddr): New function.Per Bothner2-9/+28
* java/lang/reflect/natField.cc (setAddr): New function. Calls getAddr and then checks that the field isn't final. (setBoolean. setChar, setByte, setShort, setInt, setLong, setFloat, setDouble, set): Use setAddr instead of getAddr, to check for FINAL. (set): Call setAddr before check that new value has right type, to better match specified semantics. From-SVN: r49153