aboutsummaryrefslogtreecommitdiff
path: root/libjava/classpath
AgeCommit message (Collapse)AuthorFilesLines
2007-04-20BreakpointManager.java (newBreakpoint): Install the new breakpoint into the ↵Keith Seitz1-0/+0
bytecode. * gnu/gcj/jvmti/BreakpointManager.java (newBreakpoint): Install the new breakpoint into the bytecode. (deleteBreakpoint): Remove the breakpoint from the bytecode. * classpath/lib/gnu/gcj/jvmti/BreakpointManager.class: Regenerate. * gnu/gcj/jvmti/natBreakpoint.cc (initialize_native): Don't install the breakpoint here. From-SVN: r123997
2007-04-19re PR crypto/31626 (javax.net.SocketFactory#createSocket() throws ↵Tom Tromey3-0/+14
UnsupportedOperationException) libjava * gnu/javax/net/ssl/provider/SSLSocketFactoryImpl.h: Rebuilt. libjava/classpath 2007-04-19 Casey Marshall <csm@gnu.org> PR classpath/31626: * gnu/javax/net/ssl/provider/SSLSocketFactoryImpl.java (createSocket): New method. From-SVN: r123977
2007-04-19libjavaTom Tromey8-16/+46
* Regenerated headers with new gjavah. libjava/classpath * tools/gnu/classpath/tools/javah/MethodHelper.java (print): Changed arguments. Directly print method name. * tools/gnu/classpath/tools/javah/ClassWrapper.java (methodNameMap): New field. (makeVtable): Initialize it. (printMethods): Compute name for bridge targets. From-SVN: r123965
2007-04-18UnicastConnectionManager.java (UnicastConnectionManager(int port, ↵Andrew Haley2-1/+13
RMIServerSocketFactory)): Listen on "localhost", not localhost. 2007-04-17 Andrew Haley <aph@redhat.com> * gnu/java/rmi/server/UnicastConnectionManager.java (UnicastConnectionManager(int port, RMIServerSocketFactory)): Listen on "localhost", not localhost. From-SVN: r123952
2007-04-17re PR awt/31311 (Quitting applet can hang X server)Francis Kung4-45/+15
2007-04-17 Francis Kung <fkung@redhat.com> PR classpath/31311 * gnu/java/awt/peer/gtk/ComponentGraphics.java (dispose): Removed method. (disposeSurface): Removed method. * gnu_java_awt_peer_gtk_ComponentGraphics.h: Regenerated. * native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphics.c (Java_gnu_java_awt_peer_gtk_ComponentGraphics_disposeSurface): Removed. (Java_gnu_java_awt_peer_gtk_ComponentGraphics_initState): Destroy surface after it is used to create a cairo context. From-SVN: r123928
2007-04-16Committed up-to-date .class and .h files from an earlier commitTom Tromey3-0/+0
From-SVN: r123890
2007-04-16https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=236614Tom Tromey3-11/+15
* gnu/javax/net/ssl/provider/SSLSocketFactoryImpl.java (createSocket): Change order of delegation. From-SVN: r123889
2007-04-16ObjectInputStream.java: (parseContent): Call (String, Object) version of ↵Andrew Haley3-6/+55
dumpElementln. 2007-04-16 Andrew Haley <aph@redhat.com> * java/io/ObjectInputStream.java: (parseContent): Call (String, Object) version of dumpElementln. (dumpElementln(String, Object)): New method. * java/io/ObjectOutputStream.java (writeObject): Call (String, Object) version of dumpElementln. (dumpElementln(String, Object)): New method. From-SVN: r123875
2007-04-162007-04-16 Andrew John Hughes <gnu_andrew@member.fsf.org>Andrew John Hughes3-33/+84
* javax/management/ObjectName.java: (parse(String)): Catch multiple wildcards, initialise with an empty string (so null isn't appended), and emit comma even when wildcard ends the list. (checkComponents()): Catch newlines. (quote(String)): Handle newlines and quotes correctly. From-SVN: r123873
2007-04-16BootClassLoader.java (getBootURLLoader): New method.Andrew Haley1-0/+0
2007-04-16 Andrew Haley <aph@redhat.com> * gnu/gcj/runtime/BootClassLoader.java (getBootURLLoader): New method. (bootGetResource): Use getBootURLLoader() to load resources. (bootGetResources): Likewise. * java/lang/reflect/natMethod.cc (Method::invoke): In invoke also check that the method's declaring class is accessible. From-SVN: r123867
2007-04-16TaggedComponentHelper.java (read): Use read_octet_array(), not read().Andrew Haley3-0/+0
2007-04-16 Andrew Haley <aph@redhat.com> * org/omg/IOP/TaggedComponentHelper.java (read): Use read_octet_array(), not read(). (write): Use write_octet_array(), not write(). * org/omg/PortableServer/Servant.java (_get_delegate): Throw if no delegate has been set. * javax/management/ObjectName.java serialVersionUID: Declare. Make all fields transient. (parse): Break out from constructor. (writeObject, readObject): New methods. From-SVN: r123865
2007-04-16TaggedComponentHelper.java (read): Use read_octet_array(), not read().Andrew Haley4-29/+88
2007-04-16 Andrew Haley <aph@redhat.com> * org/omg/IOP/TaggedComponentHelper.java (read): Use read_octet_array(), not read(). (write): Use write_octet_array(), not write(). * org/omg/PortableServer/Servant.java (_get_delegate): Throw if no delegate has been set. * javax/management/ObjectName.java serialVersionUID: Declare. Make all fields transient. (parse): Break out from constructor. (writeObject, readObject): New methods. From-SVN: r123864
2007-04-09ArrayValue.java: New file.Kyle Galloway2-0/+92
2007-04-09 Kyle Galloway <kgallowa@redhat.com> * classpath/gnu/classpath/jdwp/value/ArrayValue.java: New file. * classpath/lib/gnu/classpath/jdwp/value/ArrayValue.class: New file. * gnu/classpath/jdwp/ArrayValue.h: New file. * gnu/classpath/jdwp/natVMFrame.cc (getValue): Add array case. (setValue): Ditto. From-SVN: r123680
2007-04-05DecimalFormatSymbols.java: Added the year 2007 to Copyright information and ↵Tania Bento2-0/+0
introduced new variable, currency. 2007-04-04 Tania Bento <tbento@redhat.com> * java/text/DecimalFormatSymbols.java: Added the year 2007 to Copyright information and introduced new variable, currency. (DecimalFormatSymbols(Locale)): Define currency and intlCurrencySymbol to "XXX", currencySymbol to "?" and localCurrency appropriately. (getCurrency): Fixed documentation and return the value of currency. (setCurrency): Fixed documentation and update the value of currency. (setInternationalCurrencySymbol): Fixed documentation and update the value of currency. * java/util/Currency.java: Introduced two new variables, properties and fractionDigits. In the static block, a properties object is created and the currency resource is loaded. (Currency(Locale)): fractionDigits is defined. (Currency(String)): New method. (getDefaultFractionDigits): Return the value of fractionDigits. (getInstance(String)): Check if String is equal to "XXX". From-SVN: r123512
2007-04-05VariableTable.java: Change longs to ints for argCnt and slots.Kyle Galloway2-4/+4
2007-04-04 Kyle Galloway <kgallowa@redhat.com> * classpath/gnu/classpath/jdwp/util/VariableTable.java: Change longs to ints for argCnt and slots. (write): Replace writeLong with writeInt for the above. From-SVN: r123511
2007-04-02natPlainSocketImplPosix.cc (create): Return if already created.Tom Tromey6-0/+0
https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=233406 * gnu/java/net/natPlainSocketImplPosix.cc (create): Return if already created. * gnu/java/net/PlainSocketImpl.java (getLocalAddress): Handle case where localport is -1. (create): Now public. * gnu/java/nio/SocketChannelImpl.java (SocketChannelImpl): Call 'create' on the socket. From-SVN: r123440
2007-04-02ThreadStartEvent.java (Event): Event type is "THREAD_START" not "THREAD_END".Keith Seitz3-16/+33
* gnu/classpath/jdwp/event/ThreadStartEvent.java (Event): Event type is "THREAD_START" not "THREAD_END". * gnu/classpath/jdwp/transport/SocketTransport.java (ITransport): Handle configure strings ":port" and "port". From-SVN: r123436
2007-04-02[multiple changes]Andrew Haley5-1/+13
2007-03-30 Andrew Haley <aph@redhat.com> * javax/management/ObjectName.java: Handle 0-length names. 2007-03-27 Andrew Haley <aph@redhat.com> * javax/management/MBeanServerFactory.java: Use the domain that we've been passed, not the fixed string "DefaultDomain". From-SVN: r123430
2007-04-022007-04-02 Kyle Galloway <kgallowa@redhat.com>Kyle Galloway2-1/+1
* classpath/gnu/classpath/jdwp/processor/ThreadReferenceCommandSet.java (executeResume): Call VMVirtualMachine.resumeThread. From-SVN: r123426
2007-03-30re PR libgcj/29869 (LogManager class loading failure with Tomcat)Tom Tromey5-5/+15
libjava PR libgcj/29869: * java/util/logging/LogManager.java (readConfiguration): Handle comma-separated 'handlers'. Don't try to add a non-existing handler. libgcj/classpath PR libgcj/29869: * gnu/java/util/jar/JarUtils.java (log): Commented out. (readSFManifest): Don't log. From-SVN: r123356
2007-03-28ClientHandshake.java (RSAGen.implRun): check keyEncipherment bit of the ↵Casey Marshall4-1/+13
certificate... 2007-03-28 Casey Marshall <csm@gnu.org> * gnu/javax/net/ssl/provider/ClientHandshake.java (RSAGen.implRun): check keyEncipherment bit of the certificate, and just pass the public key to the cipher. From-SVN: r123307
2007-03-28sources.am, [...]: Rebuilt.Tom Tromey2-0/+0
* sources.am, Makefile.in: Rebuilt. * scripts/mime.types: Removed. * scripts/MakeDefaultMimeTypes.java: Removed. * gnu/gcj/io/MimeTypes.java: Removed. * gnu/gcj/io/MimeTypes.h: Removed. * gnu/gcj/io/DefaultMimeTypes.java: Removed. * gnu/gcj/io/DefaultMimeTypes.h: Removed. From-SVN: r123288
2007-03-28re PR classpath/31302 (Exception in SSLSocketImpl)Casey Marshall3-131/+54
2007-03-27 Casey Marshall <csm@gnu.org> PR classpath/31302: * gnu/javax/net/ssl/provider/SSLSocketImpl.java (SSLSocketImpl): Always make a new socket. (bind, connect, getInetAddress, getLocalAddress, getPort, getLocalPort, getRemoteSocketAddress, getLocalSocketAddress, setTcpNoDelay, getTcpNoDelay, setSoLinger, getSoLinger, setOOBInline, getOOBInline, setSoTimeout, getSoTimeout, setSendBufferSize, getSendBufferSize, setReceiveBufferSize, getReceiveBufferSize, setKeepAlive, getKeepAlive, setTrafficClass, getTrafficClass, setReuseAddress, getReuseAddress, close, shutdownInput, shutdownOutput, isConnected, isBound, isClosed, isInputShutdown, isOutputShutdown): Always use 'underlyingSocket'. From-SVN: r123285
2007-03-27re PR xml/31303 (SAXException: org.xml.sax.driver property needs to be set?)Tom Tromey3-0/+11
PR classpath/31303: * external/sax/org/xml/sax/helpers/XMLReaderFactory.java (createXMLReader): Code in Classpath default. From-SVN: r123267
2007-03-27Classpath JDWP merge with upstreamKeith Seitz66-429/+2243
From-SVN: r123265
2007-03-27Index: gcc/java/ChangeLogTom Tromey4-28/+111
from Tom Tromey <tromey@redhat.com> * Make-lang.in (JAVA_MANFILES): Removed grmiregistry.1. (java.maintainer-clean): Likewise. (java.install-man): Likewise. (.INTERMEDIATE): Removed grmiregistry.pod. (grmiregistry.pod): Removed. * gcj.texi (Invoking gcjh): Removed. (Invoking gjnih): Likewise. (Invoking grmiregistry): Likewise. (direntry): Updated. (Top): Likewise. (which-gcj): Removed. Index: libjava/classpath/ChangeLog from Tom Tromey <tromey@redhat.com> * doc/cp-tools.texinfo (gcjh Tool): Added more text. (rmid Tool): Likewise. 2007-03-25 Dalibor Topic <robilad@kaffe.org> * doc/cp-tools.texinfo: Fix node ordering. 2007-03-19 Matthias Klose <doko@ubuntu.com> * doc/Makefile.am: Build a gcjh(1) man page. * doc/cp-tools.texinfo: Add documentation for gcjh. From-SVN: r123253
2007-03-26Main.java (cniOrJniSeen): New field.Stepan Kasal13-1/+14
2007-03-26 Stepan Kasal <skasal@redhat.com> * tools/gnu/classpath/tools/javah/Main.java (cniOrJniSeen): New field. (getParser): Use new field. From-SVN: r123240
2007-03-19configure.ac: New configure option --enable-generated-files-in-srcdir.Matthias Klose36-32/+428
2007-03-10 Matthias Klose <doko@ubuntu.com> * configure.ac: New configure option --enable-generated-files-in-srcdir. * doc/Makefile.am: Add support to generate files in srcdir, install the cp-tools documentation in info format. * configure: Regenerate. * native/jni/classpath/Makefile.in, native/jni/midi-dssi/Makefile.in, native/jni/Makefile.in, native/jni/gconf-peer/Makefile.in, native/jni/java-io/Makefile.in, native/jni/native-lib/Makefile.in, native/jni/java-util/Makefile.in, native/jni/java-lang/Makefile.in, native/jni/midi-alsa/Makefile.in, native/jni/java-nio/Makefile.in, native/jni/java-net/Makefile.in, native/jni/xmlj/Makefile.in, native/jni/qt-peer/Makefile.in, native/jni/gtk-peer/Makefile.in, native/Makefile.in, native/jawt/Makefile.in, native/fdlibm/Makefile.in, native/plugin/Makefile.in, resource/Makefile.in, scripts/Makefile.in, tools/Makefile.in, doc/Makefile.in, doc/api/Makefile.in, lib/Makefile.in, external/Makefile.in, external/sax/Makefile.in, external/w3c_dom/Makefile.in, external/jsr166/Makefile.in, external/relaxngDatatype/Makefile.in, include/Makefile.in, examples/Makefile.in: Regenerate. From-SVN: r123050
2007-03-172007-03-17 Thomas Fitzsimmons <fitzsim@redhat.com>Thomas Fitzsimmons39-110/+39
* resource/com/sun/tools/javac/messages.properties (Main.FailedToRead, Main.MalformedURL, Main.FailedToLoad): Clarify messages for when --with-ecj-jar is not specified. * configure.ac (FOUND_ECJ_JAR): Remove conditional. * tools/Makefile.am: Build com.sun.tools.javac package unconditionally. * configure, doc/api/Makefile.in, doc/Makefile.in, examples/Makefile.in, external/jsr166/Makefile.in, external/Makefile.in, external/relaxngDatatype/Makefile.in, external/sax/Makefile.in, external/w3c_dom/Makefile.in, include/Makefile.in, lib/Makefile.in, Makefile.in, native/fdlibm/Makefile.in, native/jawt/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/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/Makefile.in, native/plugin/Makefile.in, resource/Makefile.in, scripts/Makefile.in, tools/Makefile.in: Regenerate. * tools/classes/com/sun/tools/javac: New directory. * tools/classes/com/sun/tools/javac/Main.class, tools/classes/com/sun/tools/javac/Messages.class: New files. From-SVN: r123015
2007-03-17Main.java (run): Use class' name in File case.Tom Tromey3-2/+7
* tools/gnu/classpath/tools/javah/Main.java (run): Use class' name in File case. From-SVN: r123012
2007-03-16* tools/gnu/classpath/tools/javah/JniStubPrinter.javaTom Tromey23-21/+50
(printClass): Added filename argument. * tools/gnu/classpath/tools/javah/JniIncludePrinter.java (printClass): Added filename argument. * tools/gnu/classpath/tools/javah/CniIncludePrinter.java (printClass): Use user's file name. * tools/gnu/classpath/tools/javah/CniStubPrinter.java (printClass): Use user's file name. * tools/gnu/classpath/tools/javah/Printer.java (printClass): Added filename argument. * tools/gnu/classpath/tools/javah/Main.java (getParser): Fix '-v' argument order. (writeHeaders): Use a HashMap. (run): Put class name into HashMap for writeHeaders. From-SVN: r123000
2007-03-13Makefile.am (AM_CXXFLAGS): Define ECJ_JAR_FILE.Thomas Fitzsimmons91-6/+3113
2007-03-13 Thomas Fitzsimmons <fitzsim@redhat.com> * Makefile.am (AM_CXXFLAGS): Define ECJ_JAR_FILE. * classpath/configure.ac: Add --with-ecj-jar configure option. * classpath/gnu/classpath/Configuration.java.in (ECJ_JAR): New field. * classpath/INSTALL: Document --with-ecj-jar configure option and ecj jar requirement for com.sun.tools.javac support. * classpath/tools/Makefile.am: Build decendents of com and sun directories. * configure.ac: Substitute ECJ_JAR in stub Configuration.java. * gnu/classpath/Configuration.java, gnu/classpath/natConfiguration.cc (ecj): New method. (ECJ_JAR): New field. * scripts/makemake.tcl (scan_packages): Add com directory. * sources.am (property_files): Add classpath/resource/sun/rmi/rmic/messages.properties and classpath/resource/com/sun/tools/javac/messages.properties. * classpath/resource/com, classpath/resource/com/sun, classpath/resource/com/sun/tools, classpath/resource/com/sun/tools/javac, classpath/resource/sun, classpath/resource/sun/rmi, classpath/resource/sun/rmi/rmic, classpath/tools/classes/com, classpath/tools/classes/com/sun, classpath/tools/classes/com/sun/javadoc, classpath/tools/classes/com/sun/tools, classpath/tools/classes/com/sun/tools/doclets, classpath/tools/classes/sun, classpath/tools/classes/sun/rmi, classpath/tools/classes/sun/rmi/rmic, classpath/tools/com, classpath/tools/com/sun, classpath/tools/com/sun/javadoc, classpath/tools/com/sun/tools, classpath/tools/com/sun/tools/doclets, classpath/tools/com/sun/tools/javac, classpath/tools/sun, classpath/tools/sun/rmi, classpath/tools/sun/rmi/rmic: New directories. * classpath/resource/com/sun/tools/javac/messages.properties, classpath/resource/sun/rmi/rmic/messages.properties, classpath/tools/classes/com/sun/javadoc/ClassDoc.class, classpath/tools/classes/com/sun/javadoc/ConstructorDoc.class, classpath/tools/classes/com/sun/javadoc/Doc.class, classpath/tools/classes/com/sun/javadoc/DocErrorReporter.class, classpath/tools/classes/com/sun/javadoc/Doclet.class, classpath/tools/classes/com/sun/javadoc/ExecutableMemberDoc.class, classpath/tools/classes/com/sun/javadoc/FieldDoc.class, classpath/tools/classes/com/sun/javadoc/MemberDoc.class, classpath/tools/classes/com/sun/javadoc/MethodDoc.class, classpath/tools/classes/com/sun/javadoc/PackageDoc.class, classpath/tools/classes/com/sun/javadoc/ParamTag.class, classpath/tools/classes/com/sun/javadoc/Parameter.class, classpath/tools/classes/com/sun/javadoc/ProgramElementDoc.class, classpath/tools/classes/com/sun/javadoc/RootDoc.class, classpath/tools/classes/com/sun/javadoc/SeeTag.class, classpath/tools/classes/com/sun/javadoc/SerialFieldTag.class, classpath/tools/classes/com/sun/javadoc/SourcePosition.class, classpath/tools/classes/com/sun/javadoc/Tag.class, classpath/tools/classes/com/sun/javadoc/ThrowsTag.class, classpath/tools/classes/com/sun/javadoc/Type.class, classpath/tools/classes/com/sun/javadoc/TypeVariable.class, classpath/tools/classes/com/sun/tools/doclets/Taglet.class, classpath/tools/classes/sun/rmi/rmic/Main.class, classpath/tools/classes/sun/rmi/rmic/Messages.class, classpath/tools/com/sun/javadoc/ClassDoc.java, classpath/tools/com/sun/javadoc/ConstructorDoc.java, classpath/tools/com/sun/javadoc/Doc.java, classpath/tools/com/sun/javadoc/DocErrorReporter.java, classpath/tools/com/sun/javadoc/Doclet.java, classpath/tools/com/sun/javadoc/ExecutableMemberDoc.java, classpath/tools/com/sun/javadoc/FieldDoc.java, classpath/tools/com/sun/javadoc/MemberDoc.java, classpath/tools/com/sun/javadoc/MethodDoc.java, classpath/tools/com/sun/javadoc/PackageDoc.java, classpath/tools/com/sun/javadoc/ParamTag.java, classpath/tools/com/sun/javadoc/Parameter.java, classpath/tools/com/sun/javadoc/ProgramElementDoc.java, classpath/tools/com/sun/javadoc/RootDoc.java, classpath/tools/com/sun/javadoc/SeeTag.java, classpath/tools/com/sun/javadoc/SerialFieldTag.java, classpath/tools/com/sun/javadoc/SourcePosition.java, classpath/tools/com/sun/javadoc/Tag.java, classpath/tools/com/sun/javadoc/ThrowsTag.java, classpath/tools/com/sun/javadoc/Type.java, classpath/tools/com/sun/javadoc/TypeVariable.java, classpath/tools/com/sun/tools/doclets/Taglet.java, classpath/tools/com/sun/tools/javac/Main.java, classpath/tools/com/sun/tools/javac/Messages.java, classpath/tools/sun/rmi/rmic/Main.java, classpath/tools/sun/rmi/rmic/Messages.java: New files. * Makefile.in, classpath/Makefile.in, classpath/configure, classpath/doc/Makefile.in, classpath/doc/api/Makefile.in, classpath/examples/Makefile.in, classpath/external/Makefile.in, classpath/external/jsr166/Makefile.in, classpath/external/relaxngDatatype/Makefile.in, classpath/external/sax/Makefile.in, classpath/external/w3c_dom/Makefile.in, classpath/include/Makefile.in, classpath/include/config.h.in, classpath/lib/Makefile.in, classpath/lib/gnu/classpath/Configuration.class, classpath/native/Makefile.in, classpath/native/fdlibm/Makefile.in, classpath/native/jawt/Makefile.in, classpath/native/jni/Makefile.in, classpath/native/jni/classpath/Makefile.in, classpath/native/jni/gconf-peer/Makefile.in, classpath/native/jni/gtk-peer/Makefile.in, classpath/native/jni/java-io/Makefile.in, classpath/native/jni/java-lang/Makefile.in, classpath/native/jni/java-net/Makefile.in, classpath/native/jni/java-nio/Makefile.in, classpath/native/jni/java-util/Makefile.in, classpath/native/jni/midi-alsa/Makefile.in, classpath/native/jni/midi-dssi/Makefile.in, classpath/native/jni/native-lib/Makefile.in, classpath/native/jni/qt-peer/Makefile.in, classpath/native/jni/xmlj/Makefile.in, classpath/native/plugin/Makefile.in, classpath/resource/Makefile.in, classpath/scripts/Makefile.in, classpath/tools/Makefile.in, configure, gnu/classpath/Configuration.h: Regenerate. From-SVN: r122876
2007-03-09re PR xml/30831 (Writing (transforming) XML fails)Gary Benson3-24/+34
2007-03-09 Gary Benson <gbenson@redhat.com> Chris Burdess <dog@gnu.org> PR classpath/30831 * gnu/xml/dom/ls/SAXEventSink.java: Only set extended document properties when reader is available. Co-Authored-By: Chris Burdess <dog@gnu.org> From-SVN: r122743
2007-03-08re PR xml/30983 (DocumentBuilder.parse throws exception)Gary Benson3-16/+7
2007-03-08 Gary Benson <gbenson@redhat.com> PR classpath/30983: * gnu/xml/dom/ls/DomLSParser.java (getInputSource): Do not use the entity resolver to resolve the top-level document. From-SVN: r122700
2007-03-07Win32Process.java: Added nested class EOFInputStream.Mohan Embar2-0/+0
* java/lang/Win32Process.java: Added nested class EOFInputStream. * java/lang/natWin32Process.cc (ChildProcessPipe): Added DUMMY enum and implementation. (startProcess): Use redirect flag. * classpath/lib/java/lang/Win32Process.class: Regenerated. * classpath/lib/java/lang/Win32Process$EOFInputStream.class: New. * gcj/javaprims.h: Regenerated. * java/lang/Win32Process$EOFInputStream.h: New. From-SVN: r122668
2007-03-07org.w3c.dom.DOMImplementationSourceList: New file.Gary Benson2-0/+6
2007-03-07 Gary Benson <gbenson@redhat.com> * resource/META-INF/services/org.w3c.dom.DOMImplementationSourceList: New file. 2007-03-07 Gary Benson <gbenson@redhat.com> * sources.am, Makefile.in: Rebuilt. From-SVN: r122661
2007-03-06AbsentInformationException.java: New file.Kyle Galloway2-0/+56
2007-03-06 Kyle Galloway <kgallowa@redhat.com> * classpath/gnu/classpath/jdwp/exception/AbsentInformationException.java: New file. * classpath/lib/gnu/classpath/jdwp/exception/AbsentInformationException.class: Ditto. * gnu/classpath/jdwp/exception/AbsentInformationException.h: Ditto. * gnu/classpath/jdwp/natVMMethod.cc: Add CHECK_INTERP_CLASS macro. (VMMethod::getLineTable): Use new macro. (VMMethod::getVariableTable): Implement. * sources.am: Regenerated. * Makefile.in: Ditto. From-SVN: r122639
2007-03-06Makefile.am (gkeytool.pod): Don't use sed -i.Matthias Klose3-6/+11
2007-03-06 Matthias Klose <doko@ubuntu.com> * doc/Makefile.am(gkeytool.pod): Don't use sed -i. * doc/Makefile.in: Regenerate. From-SVN: r122634
2007-03-06Makefile.in: Rebuilt.Tom Tromey25-5/+182
libjava * Makefile.in: Rebuilt. * Makefile.am (bin_PROGRAMS): Added gcjh. (gcjh_SOURCES, gcjh_LDFLAGS, gcjh_LINK, gcjh_LDADD, gcjh_DEPENDENCIES): New variables. libjava/classpath * tools/gnu/classpath/tools/javah/Main.java (getName): New method. (getParser): Now protected. Use getName. Add '-v' alias for --verbose. (postParse): New method. (run): Now protected. Use postParse. * tools/gnu/classpath/tools/javah/GcjhMain.java: New file. * tools/Makefile.in: Rebuilt. * tools/Makefile.am: Remove vm-tools.lst before creating it. From-SVN: r122631
2007-03-05re PR classpath/31017 (gnu-classpath browser plugin does not compile against ↵Mario Torre3-28/+34
newest version of mozilla-firefox (2.0.0.2) or seamonkey (1.1.1)) 2007-03-02 Mario Torre <neugens@limasoftware.net> PR classpath/31017: committed for Petteri R<C3><83><C2><A4>ty <betelgeuse@gentoo.org> * configure.ac: fix broken build for gcj browser plugin From-SVN: r122580
2007-03-05Makefile.am (man_MANS): Add $(TOOLS_MANFILES).Matthias Klose3-13/+72
2007-03-05 Matthias Klose <doko@ubuntu.com> * doc/Makefile.am(man_MANS): Add $(TOOLS_MANFILES). * doc/Makefile.in: Regenerate. From-SVN: r122573
2007-03-05Character.java: Re-merged with Classpath.Mark Wielaard8-0/+0
2007-03-05 Mark Wielaard <mark@klomp.org> * java/lang/Character.java: Re-merged with Classpath. * java/lang/natString.cc (nativeCompareTo): Renamed from compareTo. * java/lang/StringBuilder.java: Re-merged with Classpath. * java/lang/String.java: Re-merged with Classpath. (nativeCompareTo): Renamed from compareTo. * java/lang/StringBuffer.java: Re-merged with Classpath. * jni.cc (_Jv_JNI_GetAnyMethodID): Split calls to append. From-SVN: r122560
2007-03-05natVMProxy.cc (ncode_closure.meth): Delete.Andrew Haley1-0/+0
2007-03-05 Andrew Haley <aph@redhat.com> * java/lang/reflect/natVMProxy.cc (ncode_closure.meth): Delete. (generateProxyClass): Don't pass method to ncode. (run_proxy): Call _Jv_GetReflectedMethod to find the proxy method. * java/lang/reflect/Method.h: Rebuild. * java/lang/reflect/Method.java (internalGetParameterTypes, internalGetExceptionTypes): New methods. * headers.txt (class java/lang/reflect/Method): Declare _Jv_GetReflectedMethod. Be its friend. * java/lang/natClass.cc (_Jv_GetReflectedMethod): New method. * java/lang/Class.h: Declare it. Be its friend. From-SVN: r122554
2007-03-05sources.am, [...]: Rebuilt.Tom Tromey9-0/+0
* sources.am, Makefile.in: Rebuilt. * scripts/makemake.tcl (emit_package_rule): Don't omit VMProcess.java. * Makefile.am (nat_source_files): Added natVMProcess.cc. (inner_nat_headers): Added ImmediateEOFInputStream.h. * gcj/javaprims.h: Regenerated. * java/lang/System.java (EnvironmentMap): Now package-private. (EnvironmentMap(Map)): New constructor. (EnvironmentMap.put): New method. * java/lang/natWin32Process.cc (startProcess): Update. * java/lang/Win32Process.java (Win32Process): Added 'redirect' argument. (startProcess): Likewise. * java/lang/EcosProcess.java (EcosProcess): Added 'redirect' argument. * java/lang/natPosixProcess.cc (nativeSpawn): Handle redirection. * java/lang/PosixProcess.java (redirect): New field. (PosixProcess): Added 'redirect' argument. * java/lang/natRuntime.cc (execInternal): Added 'redirect' argument to Process creation. * java/lang/natVMProcess.cc: New file. * java/lang/ProcessBuilder.java: Removed. * java/lang/VMProcess.java: New file. From-SVN: r122553
2007-03-05Updating header files. Earlier change here seems to have been in error.Tom Tromey1-0/+0
From-SVN: r122550
2007-03-02AnnotationInvocationHandler.java: Generify in a few places.Andrew Haley1-0/+0
2007-03-02 Andrew Haley <aph@redhat.com> * sun/reflect/annotation/AnnotationInvocationHandler.java: Generify in a few places. (equals): Rewrite to use invoke on local proxy. (deepToString): Remove most of it. (toString): Make nonstatic. (arrayClone): Delete. (coerce): New method. (invoke): Rewrite to handle gcj's structures correctly. * java/lang/natClass.cc (getDeclaredAnnotations): Fix test for null loader. * sources.am: Regenerate. * Makefile.am: Likewise. From-SVN: r122483
2007-02-26TimeZone.java (getDefaultDisplayName): Don't check if TimeZone is instanceof ↵Jakub Jelinek2-8/+6
SimpleTimeZone. * java/util/TimeZone.java (getDefaultDisplayName): Don't check if TimeZone is instanceof SimpleTimeZone. From-SVN: r122330
2007-02-232007-02-23 Gary Benson <gbenson@redhat.com>Gary Benson1-0/+0
* java/lang/VMCompiler.java (compileClass): Don't lose zeros from within the digest. From-SVN: r122260
2007-02-23re PR libgcj/17002 (java.util.TimeZone.getDefault() is broken)Jakub Jelinek11-0/+0
2007-02-22 Jakub Jelinek <jakub@redhat.com> PR libgcj/17002 PR classpath/28550 * java/util/VMTimeZone.java (getDefaultTimeZoneId): To read /etc/localtime, use ZoneInfo.readTZFile instead of VMTimeZone.readtzFile. Get better timezone name for /etc/localtime, either if it is a symlink or through /etc/sysconfig/clock. (readSysconfigClockFile): New static method. (readtzFile): Removed. * java/lang/System.java: Add gnu.java.util.zoneinfo.dir to comments. * posix.cc (_Jv_platform_initProperties): Set gnu.java.util.zoneinfo.dir. * sources.am (gnu_java_util_source_files): Add classpath/gnu/java/util/ZoneInfo.java. * Makefile.in: Regenerated. * java/util/VMTimeZone.h: Regenerated. * java/util/TimeZone.h: Regenerated. * gnu/java/util/ZoneInfo.h: Generated. From-SVN: r122258
2007-02-22re PR libgcj/17002 (java.util.TimeZone.getDefault() is broken)Jakub Jelinek11-126/+1508
libjava/ PR libgcj/17002 PR classpath/28550 * java/util/VMTimeZone.java (getDefaultTimeZoneId): To read /etc/localtime, use ZoneInfo.readTZFile instead of VMTimeZone.readtzFile. Get better timezone name for /etc/localtime, either if it is a symlink or through /etc/sysconfig/clock. (readSysconfigClockFile): New static method. (readtzFile): Removed. * java/lang/System.java: Add gnu.java.util.zoneinfo.dir to comments. * posix.cc (_Jv_platform_initProperties): Set gnu.java.util.zoneinfo.dir. * sources.am (gnu_java_util_source_files): Add classpath/gnu/java/util/ZoneInfo.java. * Makefile.in: Regenerated. * java/util/VMTimeZone.h: Regenerated. * java/util/TimeZone.h: Regenerated. * gnu/java/util/ZoneInfo.h: Generated. libjava/classpath/ * java/util/Date.java (parse): Properly parse 09:01:02 as hours/minutes/seconds, not as hours/minutes/year. * java/util/SimpleTimeZone.java (SimpleTimeZone): Simplify {start,end}TimeMode constructor by calling shorter constructor, set {start,end}TimeMode fields after it returns. (setStartRule): Don't adjust startTime into WALL_TIME. Set startTimeMode to WALL_TIME. (endStartRule): Similarly. (getOffset): Handle properly millis + dstOffset overflowing into the next day. Adjust startTime resp. endTime based on startTimeMode resp. endTimeMode. * java/util/TimeZone.java (zoneinfo_dir, availableIDs, aliases0): New static fields. (timezones): Remove synchronized keyword. Set zoneinfo_dir. If non-null, set up aliases0 and don't put anything into timezones0. (defaultZone): Call getTimeZone instead of timezones().get. (getDefaultTimeZone): Fix parsing of EST5 or EST5EDT6. Use getTimeZoneInternal instead of timezones().get. (parseTime): Parse correctly hour:minute. (getTimeZoneInternal): New private method. (getTimeZone): Do the custom ID checking first, canonicalize ID for custom IDs as required by documentation. Call getTimeZoneInternal to handle the rest. (getAvailableIDs(int)): Add locking. Handle zoneinfo_dir != null. (getAvailableIDs(File,String,ArrayList)): New private method. (getAvailableIDs()): Add locking. Handle zoneinfo_dir != null. * gnu/java/util/ZoneInfo.java: New file. From-SVN: r122229