aboutsummaryrefslogtreecommitdiff
path: root/libjava
AgeCommit message (Collapse)AuthorFilesLines
2005-07-16makemake.tcl (emit_package_rule): Emit command to create target directory.Andreas Schwab5-2/+282
* scripts/makemake.tcl (emit_package_rule): Emit command to create target directory. * Makefile.am (%.lo): Don't create it here. * sources.am, Makefile.in: Regenerated. From-SVN: r102096
2005-07-16Major merge with Classpath.Tom Tromey2817-643410/+11668
Removed many duplicate files. * HACKING: Updated.x * classpath: Imported new directory. * standard.omit: New file. * Makefile.in, aclocal.m4, configure: Rebuilt. * sources.am: New file. * configure.ac: Run Classpath configure script. Moved code around to support. Disable xlib AWT peers (temporarily). * Makefile.am (SUBDIRS): Added 'classpath' (JAVAC): Removed. (AM_CPPFLAGS): Added more -I options. (BOOTCLASSPATH): Simplified. Completely redid how sources are built. Include sources.am. * include/Makefile.am (tool_include__HEADERS): Removed jni.h. * include/jni.h: Removed (in Classpath). * scripts/classes.pl: Updated to look at built classes. * scripts/makemake.tcl: New file. * testsuite/libjava.jni/jni.exp (gcj_jni_compile_c_to_so): Added -I options. (gcj_jni_invocation_compile_c_to_binary): Likewise. From-SVN: r102082
2005-07-16ChangeLog.gcj, [...]: Added.Tom Tromey71-45/+39169
* ChangeLog.gcj, Makefile.in, aclocal.m4, config.guess, config.sub, configure, ltmain.sh, doc/Makefile.in, doc/api/Makefile.in, examples/Makefile.in, external/Makefile.in, external/sax/Makefile.in, external/w3c_dom/Makefile.in, include/Makefile.in, include/config.h.in, include/jni.h, lib/Makefile.in, native/Makefile.in, native/fdlibm/Makefile.in, native/jni/Makefile.in, native/jni/classpath/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/xmlj/Makefile.in, native/target/Makefile.in, native/target/Linux/Makefile.in, native/target/generic/Makefile.in, resource/Makefile.in, scripts/Makefile.in: Added. * native/fdlibm/.cvsignore, native/jni/xmlj/.cvsignore, native/jni/java-util/.cvsignore, native/jni/classpath/.cvsignore, native/jni/java-net/.cvsignore, native/jni/java-io/.cvsignore, native/jni/.cvsignore, native/jni/java-lang/.cvsignore, native/jni/gtk-peer/.cvsignore, native/jni/java-nio/.cvsignore, native/testsuite/.cvsignore, native/.cvsignore, native/vmi/.cvsignore, native/target/.cvsignore, native/target/generic/.cvsignore, native/target/Linux/.cvsignore, include/.cvsignore, doc/api/.cvsignore, doc/www.gnu.org/faq/.cvsignore, doc/www.gnu.org/downloads/.cvsignore, doc/www.gnu.org/docs/.cvsignore, doc/www.gnu.org/.cvsignore, doc/www.gnu.org/events/.cvsignore, doc/www.gnu.org/announce/.cvsignore, doc/.cvsignore, resource/.cvsignore, external/w3c_dom/.cvsignore, external/sax/.cvsignore, external/.cvsignore, java/util/.cvsignore, .cvsignore, test/java.net/.cvsignore, test/java.io/.cvsignore, test/.cvsignore, test/java.util/.cvsignore, test/gnu.java.lang.reflect/.cvsignore, test/java.lang.reflect/.cvsignore, examples/.cvsignore, lib/.cvsignore, gnu/classpath/.cvsignore, gnu/test/.cvsignore, compat/java.net/.cvsignore, compat/.cvsignore, vm/.cvsignore, vm/reference/.cvsignore, scripts/.cvsignore: Updated. From-SVN: r102079
2005-07-16Initial revisionTom Tromey32-0/+5340
From-SVN: r102075
2005-07-16Initial revisionTom Tromey4557-0/+1000262
From-SVN: r102074
2005-07-15XCanvasPeer.java (attributes): New field.Scott Gilbertson13-64/+229
2005-07-15 Scott Gilbertson <scottg@mantatest.com> * gnu/awt/xlib/XCanvasPeer.java (attributes): New field. (eventMask): New field. (XCanvasPeer(Component)): Use attributes field. (setBackground): Implemented. (setEventMask): Process mask only if changed. * gnu/awt/xlib/XEventLoop.java (class): Iplement Runnable. (eventLoopThread): New field. (XEventLoop(Display,EventQueue)): Start eventLoopThread. (interrupt): Removed. (run): New method. * gnu/awt/xlib/XEventQueue.java (getNextEvent): Process Container and Component events. * gnu/awt/xlib/XFramePeer.java (processingConfigureNotify): New field. (configureNotify): Set and clear processingConfigureNotify. (setBounds): Process only if processingConfigureNotify is false. (toBack): Implemented. (toFront): Implemented. * gnu/awt/xlib/XGraphics.java (setColor): Ignore null color. * gnu/awt/xlib/XGraphicsConfiguration.java (getPixel): Ignore null color. * gnu/awt/xlib/XToolkit.java (nativeQueueEmpty): Always return true. (wakeNativeQueue): Do nothing. (iterateNativeQueue): Do queue.wait if blocking. * gnu/gcj/xlib/Font.java (loadFont): New method. (loadFontImpl): Renamed native method, was loadFont. * gnu/gcj/xlib/Window.java (toFront): New method. (toBack): New method. * gnu/gcj/xlib/natFont.cc (loadFontImpl): Renamed method, was loadFont. * gnu/gcj/xlib/natWindow.cc (toBack): New method. (toFront): New method. * gnu/gcj/xlib/natXAnyEvent.cc (loadNext): Removed timeout. From-SVN: r102057
2005-07-14Connection.java (unquote): New method.Andrew Haley5-17/+91
2005-07-13 Andrew Haley <aph@redhat.com> * gnu/java/net/protocol/file/Connection.java (unquote): New method. (connect): Unquote filename. gnu/java/net/protocol/jar/Connection.java (getInputStream): Likewise. (getJarFile): Likewise. * java/net/URLConnection.java (getContentHandler): Guard cast with instaceof. * java/net/URL.java (URL): If the file part of a spec is absolute, ignore the file part of its context. From-SVN: r102029
2005-07-14VirtualMachineCommandSet.java: Implemented VirtualMachine Command Set.Aaron Luchko2-0/+479
* gnu/classpath/jdwp/processor/VirtualMachineCommandSet.java: Implemented VirtualMachine Command Set. From-SVN: r102026
2005-07-14Class.java (getProtectionDomain): Merged javadoc from Classpath.Tom Tromey2-0/+18
* java/lang/Class.java (getProtectionDomain): Merged javadoc from Classpath. From-SVN: r102025
2005-07-12FieldCommandSet.java: Implemented the Field CommandSet.Aaron Luchko3-0/+140
* gnu/classpath/jdwp/processor/FieldCommandSet.java: Implemented the Field CommandSet. * gnu/classpath/jdwp/processor/InterfaceTypeCommandSet.java: Implemented the InterfaceType CommandSet. From-SVN: r101951
2005-07-12PacketProcessor.java (run): Send shutdown to jdwp instead of connection.Aaron Luchko2-2/+8
* gnu/classpath/jdwp/processor/PacketProcessor.java (run): Send shutdown to jdwp instead of connection. From-SVN: r101936
2005-07-12ObjectReferenceCommandSet.java: New file.Aaron Luchko2-4/+258
* gnu/classpath/jdwp/processor/ObjectReferenceCommandSet.java: New file. From-SVN: r101935
2005-07-08verify.cc (class _Jv_BytecodeVerifier): Don't check for abstract classes or ↵Colin Walters3-2/+15
interfaces here... 2005-07-06 Colin Walters <walters@verbum.org> * verify.cc (class _Jv_BytecodeVerifier) <op_new>: Don't check for abstract classes or interfaces here; JVM spec says it should throw an exception, so we'll do so later. * interpret.cc (run): Throw an InstantiationException for abstract classes and interfaces. From-SVN: r101788
2005-07-08posix-threads.cc (_Jv_ThreadSetPriority): Use SCHED_OTHER (regular...Andrew Haley2-1/+7
2005-07-08 Andrew Haley <aph@redhat.com> * posix-threads.cc (_Jv_ThreadSetPriority): Use SCHED_OTHER (regular, non-realtime scheduling), not SCHED_RR (realtime, round-robin). From-SVN: r101769
2005-07-07* gnu/classpath/jdwp/util/Signature.javaAaron Luchko2-0/+19
(computeFieldSignature): New Method. From-SVN: r101745
2005-07-07* gnu/classpath/jdwp/processor/ReferenceTypeCommandSet.java:NewAaron Luchko2-0/+326
file. From-SVN: r101730
2005-07-07re PR java/18119 (Private inner class is visible when it shouldn't be)Bryce McKinlay2-4/+5
2005-07-07 Bryce McKinlay <mckinlay@redhat.com> PR java/18119 * parse.y (inner_class_accessible): New function. Logic moved from check_inner_class_access. (check_inner_class_access): Use inner_class_accessible. (resolve_inner_class): Simplify arguments. Create circularity hash here. Keep looking for classes if we found one that was inaccessible. Return the inaccessible class only if there is no other match. (do_resolve_class): Update for new resolve_inner_class arguments. Don't create circularity_hash here. From-SVN: r101715
2005-07-07re PR java/21045 (Anonymous inner class constructor's exceptions can't be ↵Bryce McKinlay3-4/+17
caught or thrown) 2005-07-07 Bryce McKinlay <mckinlay@redhat.com> PR java/21045 * parse.y (add_exception_to_throws): New function. (purge_unchecked_exceptions): Removed. (get_constructor_super): Renamed from verify_constructor_super. Now returns the super constructor after verification. (java_complete_expand_method): Don't use purge_unchecked_exceptions or save/restore the exception list. (check_thrown_exceptions): Add uncaught exceptions in anonymous class initializers and constructors to the throws clause of the method. 2005-07-07 Bryce McKinlay <mckinlay@redhat.com> * testsuite/libjava.compile/PR21045.java: New test. * testsuite/libjava.jacks/jacks.xfail: Remove 15.9.5.1-exception-1, 15.9.5.1-exception-3, 8.3.2-abrupt-6, 8.3.2-abrupt-7. From-SVN: r101713
2005-07-06InputStreamReader.java (refill): Handle no-progress case correctly.Tom Tromey3-4/+26
* java/io/InputStreamReader.java (refill): Handle no-progress case correctly. * gnu/gcj/convert/IOConverter.java: Add 'utf8' alias. From-SVN: r101663
2005-07-06* testsuite/libjava.jacks/jacks.xfail: Removed 9.1.3-body-5.Tom Tromey2-1/+4
From-SVN: r101657
2005-07-05re PR java/19674 (Empty declaration through semicolon (;) causes compile ↵Bryce McKinlay2-0/+11
failure) 2005-07-05 Bryce McKinlay <mckinlay@redhat.com> PR java/19674 * parse.y (interface_member_declaration): Allow empty statements in interface declarations. 2005-07-05 Bryce McKinlay <mckinlay@redhat.com> * testsuite/libjava.compile/PR19674.java: New test. From-SVN: r101634
2005-07-05StringReferenceCommandSet.java: New file.Aaron Luchko2-0/+103
* gnu/classpath/jdwp/processor/StringReferenceCommandSet.java: New file. From-SVN: r101628
2005-07-04CommandSet.java: New file.Aaron Luchko4-33/+197
* gnu/classpath/jdwp/processor/CommandSet.java: New file. * gnu/classpath/jdwp/processor/PacketProcessor.java: Use CommandSets to handle JdwpCommandPackets. * gnu/classpath/jdwp/transport/JdwpReplyPacket.java: New Constructor. From-SVN: r101601
2005-07-01* libtool-version: Updated.Tom Tromey2-1/+5
From-SVN: r101520
2005-06-30* gnu/classpath/jdwp/util/JdwpString.java: New file.Aaron Luchko2-0/+99
From-SVN: r101482
2005-06-30JdwpPacket.java (write): New method.Keith Seitz5-50/+53
* gnu/classpath/jdwp/transport/JdwpPacket.java (write): New method. (myWrite): New abstract method. (toBytes): Remove. (myToBytes): Remove. * gnu/classpath/jdwp/transport/JdwpReplyPacket.java (myWrite): New method. * gnu/classpath/jdwp/transport/JdwpCommandPacket.java (myWrite): New method. * gnu/classpath/jdwp/transport/JdwpConnection.java (sendPacket): Use JdwpPacket.write instead of JdwpPacket.toBytes. From-SVN: r101472
2005-06-30JdwpConnection.java (sendEvent): New method.Keith Seitz2-2/+44
* gnu/classpath/jdwp/transport/JdwpConnection.java (sendEvent): New method. (_bytes): New member. (_doStream): New member. (JdwpConnection): Initialize new members. From-SVN: r101471
2005-06-30Update FSF addressKelley Cook2820-5653/+5657
From-SVN: r101453
2005-06-29re PR libgcj/22211 ([4.0 only] Thread.interrupt sometimes causes abort if ↵Tom Tromey4-4/+30
thread is already dead) PR libgcj/22211: * testsuite/libjava.lang/pr22211.java: New file. * java/lang/natThread.cc (finish_): Synchronize when updating alive_flag. (_Jv_AttachCurrentThread): Likewise. (interrupt): Only call _Jv_ThreadInterrupt if thread is alive. * java/lang/Thread.java (isAlive): Now synchronized. From-SVN: r101430
2005-06-29interpret.cc (run): Use _Jv_CheckCast.Tom Tromey2-5/+7
* interpret.cc (run) <insn_checkcast, checkcast_resolved>: Use _Jv_CheckCast. From-SVN: r101427
2005-06-28re PR libgcj/22189 (Table Full in gcj-dbtool if -m option used with smallest ↵Robin Green2-3/+9
possible input) 2005-06-28 Robin Green <greenrd@greenrd.org> PR java/22189 * gnu/gcj/runtime/PersistentByteMap.java (init): Fix rounding error. From-SVN: r101382
2005-06-27PR java/21540, PR java/13788:Tom Tromey4-19/+30
gcc/java/: PR java/21540, PR java/13788: * parse.y (java_complete_lhs) <CASE_EXPR>: Use fold_constant_for_init. (patch_binop): Added 'folding' argument. Updated all callers. (patch_unaryop) <NOP_EXPR>: New case. (fold_constant_for_init) <NOP_EXPR>: Likewise. (fold_constant_for_init) <COND_EXPR>: Fix sense of test. libjava/: PR java/21540, PR java/13788: * testsuite/libjava.compile/pr21540.java: New file. * testsuite/libjava.compile/pr13788.java: New file. * testsuite/libjava.jacks/jacks.xfail: Updated. From-SVN: r101358
2005-06-27Okay, let's see if CVS can actually put these in the right place...Keith Seitz11-0/+697
* gnu/classpath/jdwp/exception/VmDeadException.java: New file. * gnu/classpath/jdwp/exception/NotImplementedException.java: New file. * gnu/classpath/jdwp/exception/JdwpInternalErrorException.java: New file. * gnu/classpath/jdwp/exception/JdwpException.java: New file. * gnu/classpath/jdwp/exception/InvalidThreadGroupException.java: New file. * gnu/classpath/jdwp/exception/InvalidThreadException.java: New file. * gnu/classpath/jdwp/exception/InvalidStringException.java: New file * gnu/classpath/jdwp/exception/InvalidObjectException.java: New file. * gnu/classpath/jdwp/exception/InvalidEventTypeException.java: New file. * gnu/classpath/jdwp/exception/InvalidCountException.java: New file. * gnu/classpath/jdwp/exception/InvalidClassException.java: New file. From-SVN: r101357
2005-06-26xfails: Updated to reflect current state of mauve and libjava.Andreas Tobler2-144/+5
2005-06-26 Andreas Tobler <a.tobler@schweiz.ch> * testsuite/libjava.mauve/xfails: Updated to reflect current state of mauve and libjava. From-SVN: r101337
2005-06-24natClassLoader.cc (_Jv_UnregisterClass): Handle case where class' name is NULL.Tom Tromey5-22/+53
* java/lang/natClassLoader.cc (_Jv_UnregisterClass): Handle case where class' name is NULL. (_Jv_FindClass): Don't wait for class state. * java/lang/natVMClassLoader.cc (defineClass): Only unregister if name found. * include/java-interp.h (_Jv_DefineClass): Updated. * defineclass.cc (_Jv_DefineClass): Added 'name_result' argument. (struct _Jv_ClassReader): Likewise. (found_name): New field. (handleClassBegin): Set *found_name. (_Jv_VerifyMethodSignature): Handle case where ptr==NULL. (handleClassBegin): Throw error if super class not set. (read_methods): Correctly call check_tag and prepare_pool_entry. From-SVN: r101301
2005-06-24* boehm.cc (_Jv_MarkObj): Handle case where field's type is NULL.Tom Tromey2-2/+10
From-SVN: r101300
2005-06-24verify-impl.c (verify_instructions_0): Correctly handle situation where PC ↵Tom Tromey2-2/+8
falls off end. gcc/java/: * verify-impl.c (verify_instructions_0): Correctly handle situation where PC falls off end. libjava/: * verify.cc (verify_instructions_0): Correctly handle situation where PC falls off end. From-SVN: r101299
2005-06-24interpret.cc (compile): Handle case where table entry is outside of PC range.Tom Tromey2-1/+10
* interpret.cc (compile): Handle case where table entry is outside of PC range. From-SVN: r101298
2005-06-23re PR java/20697 (Invalid Can't find method error on call to super)Bryce McKinlay2-0/+33
PR java/20697 * parse.y (find_most_specific_methods_list): Remove special case for inner classes. From-SVN: r101270
2005-06-22Makefile.am (SUBDIRS): Use append for conditional.Kelley Cook3-148/+123
2005-06-22 Kelley Cook <kcook@gcc.gnu.org> * Makefile.am (SUBDIRS): Use append for conditional. (toolexeclib_LTLIBRARIES): Likewise. (lib_gnu_java_awt_peer_gtk_la_SOURCES): Directly define with a conditional append. * Makefile.in: Regenerate. From-SVN: r101246
2005-06-17VmDeadException.java: New file.Keith Seitz1-0/+17
* gnu/classpath/jdwp/exception/VmDeadException.java: New file. * gnu/classpath/jdwp/exception/NotImplementedException.java: New file. * gnu/classpath/jdwp/exception/JdwpInternalErrorException.java: New file. * gnu/classpath/jdwp/exception/JdwpException.java: New file. * gnu/classpath/jdwp/exception/InvalidThreadGroupException.java: New file. * gnu/classpath/jdwp/exception/InvalidThreadException.java: New file. * gnu/classpath/jdwp/exception/InvalidStringException.java: New file * gnu/classpath/jdwp/exception/InvalidObjectException.java: New file. * gnu/classpath/jdwp/exception/InvalidEventTypeException.java: New file. * gnu/classpath/jdwp/exception/InvalidCountException.java: New file. * gnu/classpath/jdwp/exception/InvalidClassException.java: New file. From-SVN: r101131
2005-06-16Makefile.am (libgcj_la_SOURCES): Define without conditional sources.Kelley Cook3-92/+61
2005-06-16 Kelley Cook <kcook@gcc.gnu.org> * Makefile.am (libgcj_la_SOURCES): Define without conditional sources. (if USING_BOEHMGC): Directly append libgcj_la_SOURCES. (if USING_NOGC, SUPPLY_BACKTRACE, USING_POSIX_PLATFORM, USING_WIN32_PLATFORM, USING_DARWIN_CRT, USING_POSIX_THREADS, USING_WIN32_THREADS, USING_NO_THREADS): Likewise. * Makefile.in: Regenerate. From-SVN: r101083
2005-06-16configure.ac (USING_ECOS_PLATFORM): Remove and merge into...Kelley Cook11-53/+19
2005-06-15 Kelley Cook <kcook@gcc.gnu.org> * configure.ac (USING_ECOS_PLATFORM): Remove and merge into... (USING_POSIX_PLATFORM): ... here. * Makefile.am: Delete USING_ECOS_PLATFORM. * configure, Makefile.in, include/Makefile.in, testsuite/Makefile.in, external/Makefile.in, external/sax/Makefile.in, external/w3c_dom/Makefile.in, gcj/Makefile.in: Regenerate. From-SVN: r101005
2005-06-15re PR libgcj/17536 (wrong ClassLoader for int[])Tom Tromey3-0/+12
PR libgcj/17536: * testsuite/libjava.lang/pr17536.java: New file. * testsuite/libjava.lang/pr17536.out: New file. From-SVN: r100999
2005-06-15re PR libgcj/21074 (Trivial bug in the method getHeaderFieldKey() in the ↵Goffredo Baroncelli2-1/+11
file java/net/protocol/http/HTTPURLConnection.java) 2005-06-15 Goffredo Baroncelli <kreijack@inwind.it> PR libgcj/21074: * gnu/java/net/protocol/http/HTTPURLConnection.java (getHeaderFieldKey): Check index. From-SVN: r100994
2005-06-15re PR libgcj/21906 (hang when invoking abstract method)Tom Tromey4-5/+20
gcc/java/: PR libgcj/21906: * class.c (make_method_value): Use soft_abstractmethod_node for abstract method. * java-tree.h (soft_abstractmethod_node): New define. (JTI_SOFT_ABSTRACTMETHOD_NODE): New enum constant. * decl.c (java_init_decl_processing): Initialize soft_abstractmethod_node. libjava/: PR libgcj/21906: * defineclass.cc (handleMethodsEnd): Set ncode for abstract methods. * include/jvm.h (_Jv_ThrowAbstractMethodError): Declare. * link.cc (_Jv_ThrowAbstractMethodError): Renamed. No longer static. (append_partial_itable): Use it. (set_vtable_entries): Likewise. From-SVN: r100992
2005-06-15SystemClassLoader.java (init): Clear last_was_sep in loop.Tom Tromey2-0/+6
* gnu/gcj/runtime/SystemClassLoader.java (init): Clear last_was_sep in loop. From-SVN: r100991
2005-06-15JdwpIdFactory.java: New file.Keith Seitz3-4/+312
* gnu/classpath/jdwp/id/JdwpIdFactory.java: New file. * gnu/classpath/jdwp/processor/PacketProcessor.java: New file. From-SVN: r100970
2005-06-15ArrayId.java: New file.Keith Seitz1-0/+15
* gnu/classpath/jdwp/id/ArrayId.java: New file. * gnu/classpath/jdwp/id/ArrayReferenceTypeId.java: New file. * gnu/classpath/jdwp/id/ClassLoaderId.java: New file. * gnu/classpath/jdwp/id/ClassObjectId.java: New file. * gnu/classpath/jdwp/id/ClassReferenceTypeId.java: New file. * gnu/classpath/jdwp/id/InterfaceReferenceTypeId.java: New file. * gnu/classpath/jdwp/id/JdwpId.java: New file. * gnu/classpath/jdwp/id/ObjectId.java: New file. * gnu/classpath/jdwp/id/ReferenceTypeId.java: New file. * gnu/classpath/jdwp/id/StringId.java: New file. * gnu/classpath/jdwp/id/ThreadGroupId.java: New file. * gnu/classpath/jdwp/id/ThreadId.java: New file. From-SVN: r100969
2005-06-14* configure.host: Handle Solaris 10/x86.Rainer Orth2-0/+8
From-SVN: r100958