summaryrefslogtreecommitdiffstats
path: root/libjava
Commit message (Collapse)AuthorAgeFilesLines
...
* 2000-07-11 Andrew Haley <aph@cygnus.com>aph2000-07-112-0/+13
| | | | | | | * libjava.compile/static_init2.java: New file. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@34962 138bc75d-0d04-0410-961f-82ee72b054a4
* * java/lang/natClassLoader.cc (_Jv_PrepareCompiledClass):tromey2000-07-072-1/+23
| | | | | | | Initialize static final String fields. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@34910 138bc75d-0d04-0410-961f-82ee72b054a4
* * libjava.lang/stringconst2.out: New file.tromey2000-07-073-0/+27
| | | | | | | * libjava.lang/stringconst2.java: New file. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@34909 138bc75d-0d04-0410-961f-82ee72b054a4
* * java/io/PrintWriter.java (print): Call write(String), nottromey2000-07-032-8/+26
| | | | | | | | print(String). See PR libgcj/277. (print(String)): Use write, not out.write. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@34853 138bc75d-0d04-0410-961f-82ee72b054a4
* * include/jni.h: Include <gcj/array.h>. Fixes PR libgcj/270.tromey2000-06-302-0/+5
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@34818 138bc75d-0d04-0410-961f-82ee72b054a4
* 2000-06-27 Andrew Haley <aph@cygnus.com>aph2000-06-283-1/+18
| | | | | | | | | | * java/io/File.java (createTempFile): Close the FileDescriptor used to create a temp file. Fixes some of PR 203. * java/io/natFileDescriptorPosix.cc (open): Call garbage collection if we run out of file handles. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@34755 138bc75d-0d04-0410-961f-82ee72b054a4
* Removed extraneous conflict marker.warrenl2000-06-281-1/+0
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@34754 138bc75d-0d04-0410-961f-82ee72b054a4
* * gnu/java/security/provider/Gnu.java: New file.warrenl2000-06-287-8/+444
| | | | | | | | | | | | * gnu/java/security/provider/SHA.java: New file. * gnu/java/security/provider/SHA1PRNG.java: New file. * Makefile.am: Added the above files. * Makefile.in: Rebuilt. * java/io/ObjectStreamClass.java (setUID): Use Gnu SHA instead of SHS. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@34753 138bc75d-0d04-0410-961f-82ee72b054a4
* * ThreadGroup.java: Added synchronized flag to many methods.bryce2000-06-282-36/+51
| | | | | | | | | (destroyed_flag): Removed. (isDestroyed, removeGroup, removeThread): Test for parent == null. (activeCount): Added spec note. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@34750 138bc75d-0d04-0410-961f-82ee72b054a4
* * java/security/Principal.java: New file.warrenl2000-06-284-59/+165
| | | | | | | | * Makefile.am: Added Principal.java. * Makefile.in: Rebuilt. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@34749 138bc75d-0d04-0410-961f-82ee72b054a4
* 2000-06-27 Rolf W. Rasmussen <rolfwr@ii.uib.no>tromey2000-06-272-6/+8
| | | | | | | | * java/awt/event/MouseEvent.java: Fixed coordinate space confusion. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@34746 138bc75d-0d04-0410-961f-82ee72b054a4
* * java/io/PushbackInputStream.java (read): If there are characterstromey2000-06-273-11/+22
| | | | | | | | | in the buffer, don't also call super.read(). * java/io/PushbackReader.java (read): If there are characters in the buffer, don't also call super.read(). git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@34745 138bc75d-0d04-0410-961f-82ee72b054a4
* * java/lang/Double.java (valueOf): Call parseDouble().tromey2000-06-272-1/+5
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@34737 138bc75d-0d04-0410-961f-82ee72b054a4
* * java/beans/PropertyChangeEvent.java (oldVal): Renamed to oldValue.warrenl2000-06-2712-101/+275
| | | | | | | | | | | | | | | | | | | | | | | | | (newVal): Renamed to newValue. * java/beans/PropertyVetoException.java (changeEvent): Renamed to evt. * java/beans/beancontext/BeanContextServiceRevokedEvent.java (revokeNow): Renamed to invalidateRefs. * java/io/OptionalDataException.java: Updated FIXME. (eof): New placeholder field. (length); Ditto. * java/io/WriteAbortedException.java (message): Made transient. * java/lang/ClassNotFoundException.java: Updated comments for JDK 1.2. * java/lang/Throwable.java (stackTrace): Made transient. * java/net/InetAddress.java: Made Serializable. * java/security/KeyPair.java: Made Serializable. * java/security/Provider.java: Replaced with Classpath version that implements serialization and proper methods. * java/text/ChoiceFormat.java (strings): Renamed to choiceFormats. (limits): Renamed to choiceLimits. Serialization changes per: http://java.sun.com/products/jdk/1.2/docs/api/serialized-form.html git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@34726 138bc75d-0d04-0410-961f-82ee72b054a4
* * java/lang/natDouble.cc (parseDouble): Renamed fromtromey2000-06-243-4/+11
| | | | | | | | | doubleValueOf. * java/lang/Double.java (parseDouble): Renamed from doubleValueOf. Now public. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@34679 138bc75d-0d04-0410-961f-82ee72b054a4
* For PR gcj/260:tromey2000-06-233-0/+22
| | | | | | | | * libjava.lang/PR260.out: New file. * libjava.lang/PR260.java: New file. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@34670 138bc75d-0d04-0410-961f-82ee72b054a4
* * java/lang/ieeefp.h: Handle ia64, fr30, mcore.tromey2000-06-233-2/+26
| | | | | | | * java/lang/natThrowable.cc: On IA-64, use __ia64_backtrace. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@34667 138bc75d-0d04-0410-961f-82ee72b054a4
* * java/lang/reflect/natMethod.cc: Include <alloca.h>.tromey2000-06-233-15/+10
| | | | | | | | * java/lang/natDouble.cc: Always include <alloca.h>. Fix for PR libgcj/267. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@34665 138bc75d-0d04-0410-961f-82ee72b054a4
* 2000-06-21 Bryce McKinlay <bryce@albatross.co.nz>bryce2000-06-214-17/+42
| | | | | | | | | | | * java/lang/ThreadGroup.java (add(Thread)): Rename to addThread() to comply with classpath VM spec. (add(Group)): Rename to addGroup(). * java/lang/Thread.java (Thread): Use addThread(). * java/lang/natThread.cc (finish_): Use removeThread(). git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@34627 138bc75d-0d04-0410-961f-82ee72b054a4
* 2000-06-20 Bryce McKinlay <bryce@albatross.co.nz>bryce2000-06-205-291/+457
| | | | | | | | | | | | | * java/lang/ThreadGroup.java: Merged with classpath. * prims.cc (_Jv_RunMain): Don't use ain_group'. * gnu/gcj/runtime/FirstThread.java: Remove ThreadGroup constructor argument. * java/lang/Thread.java (Thread): Bootstrap initial thread from ThreadGroup.root if Thread.currentThread is null. Honour the ThreadGroup's max priority setting. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@34615 138bc75d-0d04-0410-961f-82ee72b054a4
* * java/lang/natClass.cc (forName): Removed dead code. Initializetromey2000-06-183-56/+24
| | | | | | | returned class. For PR gcj/260. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@34590 138bc75d-0d04-0410-961f-82ee72b054a4
* Fix for PR libgcj/261:tromey2000-06-163-4/+13
| | | | | | | | | | | * include/win32-signal.h (MAKE_THROW_FRAME): Added `_exception' argument. * include/sparc-signal.h (MAKE_THROW_FRAME): Added `_exception' argument. (This is a patch from long ago that somehow went missing.) git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@34575 138bc75d-0d04-0410-961f-82ee72b054a4
* * gnu/gcj/convert/natIconv.cc (iconv_adapter): New function.tromey2000-06-162-8/+24
| | | | | | | | (read): Use it. (write): Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@34570 138bc75d-0d04-0410-961f-82ee72b054a4
* 2000-06-15 Bryce McKinlay <bryce@albatross.co.nz>bryce2000-06-152-2/+4
| | | | | | | | | | | | | | | Fix for PR java.lang/258: * prims.cc (_Jv_PrimClass): Set state of primitive class to JV_STATE_DONE, to prevent accidental initialization. * java/lang/natClass.cc (_Jv_IsAssignableFrom): Call _Jv_InterfaceAssignableFrom if target is an interface and source is an interface or an abstract class. Remove redundant initializeClass calls. Remove duplicate if_idt test. (_Jv_InterfaceAssignableFrom): New function. * java/lang/Class.h (_Jv_InterfaceAssignableFrom): Prototype. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@34563 138bc75d-0d04-0410-961f-82ee72b054a4
* 2000-06-15 Bryce McKinlay <bryce@albatross.co.nz>bryce2000-06-153-16/+41
| | | | | | | | | | | | | | Fix for PR java.lang/258: * prims.cc (_Jv_PrimClass): Set state of primitive class to JV_STATE_DONE, to prevent accidental initialization. * java/lang/natClass.cc (_Jv_IsAssignableFrom): Call _Jv_InterfaceAssignableFrom if target is an interface and source is an interface or an abstract class. Remove redundant initializeClass calls. Remove duplicate if_idt test. * java/lang/Class.h (_Jv_InterfaceAssignableFrom): New function. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@34562 138bc75d-0d04-0410-961f-82ee72b054a4
* Fix a stupid typo.warrenl2000-06-131-1/+1
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@34536 138bc75d-0d04-0410-961f-82ee72b054a4
* Test for PR java.lang/258:warrenl2000-06-133-0/+76
| | | | | | | | * libjava.lang/Class_1.java: New file. * libjava.lang/Class_1.out: New file. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@34532 138bc75d-0d04-0410-961f-82ee72b054a4
* * prims.cc (DECLARE_PRIM_TYPE): Define a vtable as well.tromey2000-05-315-7/+45
| | | | | | | | | | | | | (_Jv_PrimClass): Set `methods' by calling _Jv_FindArrayClass. * include/jvm.h (struct _Jv_ArrayVTable): Declare. (NUM_OBJECT_METHODS): New define. * java/lang/natClassLoader.cc (_Jv_FindArrayClass): Added `array_vtable' parameter. Added assertion. * java/lang/Class.h (_Jv_FindArrayClass): Added `array_vtable' parameter. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@34312 138bc75d-0d04-0410-961f-82ee72b054a4
* 2000-05-31 Bryce McKinlay <bryce@albatross.co.nz>bryce2000-05-315-0/+13
| | | | | | | | | | * gcj/cni.h: Include <string.h>. * defineclass.cc: Include <alloca.h>. * interpret.cc: Ditto. * gij.cc: Include <stdlib.h>. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@34311 138bc75d-0d04-0410-961f-82ee72b054a4
* * include/name-finder.h: Include <sys/wait.h>.tromey2000-05-304-7/+26
| | | | | | | | | | (_Jv_name_finder::pid): Now of type `pid_t'. (_Jv_name_finder::~_Jv_name_finder): Call waitpid(). * java/lang/Throwable.java (CPlusPlusDemangler.close): Call `proc.waitFor()'. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@34279 138bc75d-0d04-0410-961f-82ee72b054a4
* 2000-05-29 Bryce McKinlay <bryce@albatross.co.nz>bryce2000-05-293-0/+43
| | | | | | | * libjava.lang/PR242.java: New file. PR gcj/242. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@34245 138bc75d-0d04-0410-961f-82ee72b054a4
* * java/io/ObjectOutputStream.java (writeObject): Use component typewarrenl2000-05-242-3/+9
| | | | | | | | when writing arrays. Fixed typo. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@34142 138bc75d-0d04-0410-961f-82ee72b054a4
* * libjava.compile/PR238.java: New file. For PR gcj/238.tromey2000-05-232-0/+11
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@34116 138bc75d-0d04-0410-961f-82ee72b054a4
* * libjava.lang/stringconst.out: New file.tromey2000-05-233-0/+28
| | | | | | | * libjava.lang/stringconst.java: New file. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@34115 138bc75d-0d04-0410-961f-82ee72b054a4
* 2000-05-22 Bryce McKinlay <bryce@albatross.co.nz>bryce2000-05-222-0/+19
| | | | | | | * libjava.compile/PR232B.java: Additional PR gcj/232 test. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@34092 138bc75d-0d04-0410-961f-82ee72b054a4
* * libjava.compile/PR235.java: New file. For PR gcj/235.tromey2000-05-222-0/+11
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@34086 138bc75d-0d04-0410-961f-82ee72b054a4
* * libjava.compile/PR234.java: New file. For PR gcj/234.tromey2000-05-222-0/+28
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@34072 138bc75d-0d04-0410-961f-82ee72b054a4
* 2000-05-22 Bryce McKinlay <bryce@albatross.co.nz>bryce2000-05-222-0/+21
| | | | | | | | Test for PR gcj/232: * libjava.compile/PR232.java: New file. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@34070 138bc75d-0d04-0410-961f-82ee72b054a4
* 2000-05-20 Bryce McKinlay <bryce@albatross.co.nz>bryce2000-05-204-4/+21
| | | | | | | | | | | | | | | | Fix for PR libgcj/226: * java/lang/Class.h (_Jv_InitClass): Don't call __builtin_expect, since this is an installed header. Fix for PR libgcj/228: * java/util/zip/ZipFile (getInputStream): Create inflater with nowrapper option. * java/util/zip/natInflater.cc (inflate): Throw zlib's error message with DataFormatException. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@34064 138bc75d-0d04-0410-961f-82ee72b054a4
* * Makefile.in: Rebuilt.tromey2000-05-206-316/+252
| | | | | | | | | | | | | | | | | | | | | | | | * Makefile.am (hack1): Removed. (awto_files): Likewise. (libgcjawt_la_SOURCES): Likewise. (EXTRA_libgcjawt_la_SOURCES): Likewise. (libgcjawt_la_DEPENDENCIES): Likewise. (libgcjawt_la_LIBADD): Likewise. (libgcjawt_la_LDFLAGS): Likewise. (libgcjawt_la_LINK): Likewise. ($(awt_java_source_files:.java=.class)): Likewise. (libgcj.zip): Don't depend on AWT files. (MOSTLYCLEANFILES): Don't include AWT files. ($(awto_files)): Removed. (nat_headers): Removed AWT files. (cond_awt_java_source_files): Removed. (ordinary_java_source_files): Added awt_java_source_files. * libgcj.spec.in (*lib): Removed -lgcjawt. * configure: Rebuilt. * configure.in: Removed --enable-java-awt option. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@34058 138bc75d-0d04-0410-961f-82ee72b054a4
* 2000-05-20 Bryce McKinlay <bryce@albatross.co.nz>bryce2000-05-202-1/+28
| | | | | | | | | | | * java/util/zip/ZipEntry.java: Implement Cloneable, per JDK1.2 docs. (ZipEntry): Copy the Name' field. (clone): Implement JDK1.2 method. (setCompressedSize): ditto. (hashCode): ditto. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@34043 138bc75d-0d04-0410-961f-82ee72b054a4
* Removed duplicate ChangeLog entrytromey2000-05-201-15/+0
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@34042 138bc75d-0d04-0410-961f-82ee72b054a4
* * java/io/BufferedWriter.java: Merged with Classpath.tromey2000-05-193-77/+320
| | | | | | | * java/io/BufferedOutputStream.java: Merged with Classpath. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@34041 138bc75d-0d04-0410-961f-82ee72b054a4
* Jumbo patch:tromey2000-05-19125-560/+18458
| | | | | | | | | * Imported beans and serialization * Updated IA-64 port * Miscellaneous bug fixes git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@34028 138bc75d-0d04-0410-961f-82ee72b054a4
* Oops, typo in last change.bryce2000-05-191-1/+1
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@34008 138bc75d-0d04-0410-961f-82ee72b054a4
* From Gregory R. Warnes <warnes@biostat.washington.edu>:bryce2000-05-182-1/+5
| | | | | | | | * gnu/gcj/protocol/jar/Connection.java (getJarFile): Test for null `jarFile', not `jarFileURL'. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@34005 138bc75d-0d04-0410-961f-82ee72b054a4
* * lib/libjava.exp (bytecompile_file): Use exec, not system.tromey2000-05-182-2/+11
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@33989 138bc75d-0d04-0410-961f-82ee72b054a4
* 2000-05-18 Bryce McKinlay <bryce@albatross.co.nz>bryce2000-05-184-7/+12
| | | | | | | | | | * java/lang/Thread.java: Declare `data' as Object, not RawData. * java/lang/natThread.java (initialize_native): Cast `data' to jobject. * gnu/gcj/RawData.java: Clarify documentation. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@33981 138bc75d-0d04-0410-961f-82ee72b054a4
* * libjava.mauve/mauve.exp (test_mauve): Call `prune_warnings'.tromey2000-05-174-61/+84
| | | | | | | | | | | | | | | | | | (test_mauve_sim): Likewise. (test_mauve): Redirect stderr in system call. (test_mauve_sim): Likewise. * lib/libjava.exp (test_libjava_from_source): Call `prune_warnings'. (test_libjava_from_javac): Likewise. (bytecompile_file): Redirect stderr in system call. * lib/libjava.exp (libjava_find_program): New proc. (find_jvscan): Use it. (find_gcjh): New proc. * libjava.compile/compile.exp: Use "", not $options. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@33959 138bc75d-0d04-0410-961f-82ee72b054a4
* * libjava.lang/instance.out: New file.tromey2000-05-163-0/+74
| | | | | | | * libjava.lang/instance.java: New file. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@33941 138bc75d-0d04-0410-961f-82ee72b054a4
OpenPOWER on IntegriCloud