Keith Seitz
9898e8391f
Jdwp.class: Regenerated.
...
* classpath/lib/gnu/classpath/jdwp/Jdwp.class: Regenerated.
* classpath/lib/gnu/classpath/jdwp/event/EventManager.class:
Regenerated.
* gnu/classpath/jdwp/event/EventManager.h: Regenerated.
* gnu/classpath/jdwp/event/EventManager.java
(getEventRequest): Rename to...
(getEventRequests): ...this.
Change return type to array of requests.
Construct a list of all matching events and return
them all.
* gnu/classpath/jdwp/Jdwp.java (notify): Use getEventRequests
and send event notifications for all matching requests.
From-SVN: r124250
2007-04-28 01:05:36 +00:00
Keith Seitz
e91ada38ad
LocationOnlyFilter.class: Regenerated;
...
* classpath/lib/gnu/classpath/jdwp/event/filters/
LocationOnlyFilter.class: Regenerated;
* classpath/lib/gnu/classpath/jdwp/util/Location.class:
Regenerated.
* gnu/classpath/jdwp/VMMethod.java
* classpath/lib/gnu/classpath/jdwp/VMMethod.class:
Regenerated.
* gnu/classpath/jdwp/VMMethod.h: Regenerated.
* gnu/classpath/jdwp/util/Location.h: Regenerated.
* gnu/classpath/jdwp/event/filters/LocationOnlyFilter.java
(matches): Use Location.equals to determine equality.
* gnu/classpath/jdwp/VMMethod.java (equals):
New method.
* gnu/classpath/jdwp/util/Location.java (equals):
New method.
From-SVN: r124249
2007-04-28 01:02:10 +00:00
Thomas Fitzsimmons
415e62e232
[multiple changes]
...
2007-03-16 Francis Kung <fkung@redhat.com>
* gnu/java/awt/peer/gtk/CairoGraphics2D.java
(cairoArc): Make protected rather than private so it can be over-ridden.
(cairoClip): Likewise.
(cairoClosePath): Likewise.
(cairoCurveTo): Likewise.
(cairoDrawGlyphVector): Likewise.
(cairoFill): Likewise.
(cairoLineTo): Likewise.
(cairoMoveTo): Likewise.
(cairoNewPath): Likewise.
(cairoRectangle): Likewise.
(cairoResetClip): Likewise.
(cairoRestore): Likewise.
(cairoSave): Likewise.
(cairoScale): Likewise.
(cairoSetAntialias): Likewise.
(cairoSetDash): Likewise.
(cairoSetFillRule): Likewise.
(cairoSetFont): Likewise.
(cairoSetLine): Likewise.
(cairoSetMatrix): Likewise.
(cairoSetOperator): Likewise.
(cairoSetRGBAColor): Likewise.
(cairoStroke): Likewise.
(drawPixels): Likewise.
(init): Likewise.
(setGradient): Likewise.
(setPaintPixels): Likewise.
(cairoDrawLine): Removed.
(cairoDrawRect): Removed.
(cairoFillRect): Removed.
(cairoPreserveClip): Removed.
(cairoRelCurveTo): Removed.
(cairoRelLineTo): Removed.
(cairoRelMoveTo): Removed.
* gnu/java/awt/peer/gtk/ComponentGraphics.java
(cairoArc): New method wrapping superclass method in locks.
(cairoClip): Likewise.
(cairoClosePath): Likewise.
(cairoCurveTo): Likewise.
(cairoDrawGlyphVector): Likewise.
(cairoFill): Likewise.
(cairoLineTo): Likewise.
(cairoMoveTo): Likewise.
(cairoNewPath): Likewise.
(cairoRectangle): Likewise.
(cairoResetClip): Likewise.
(cairoRestore): Likewise.
(cairoSave): Likewise.
(cairoScale): Likewise.
(cairoSetAntialias): Likewise.
(cairoSetDash): Likewise.
(cairoSetFillRule): Likewise.
(cairoSetFont): Likewise.
(cairoSetLine): Likewise.
(cairoSetMatrix): Likewise.
(cairoSetOperator): Likewise.
(cairoSetRGBAColor): Likewise.
(cairoStroke): Likewise.
(disposeNative): Likewise.
(drawPixels): Likewise.
(init): Likewise.
(setGradient): Likewise.
(setPaintPixels): Likewise.
(draw): Do not lock, as locking is now done in the wrapped native methods.
(drawComposite): Likewise.
(drawGlyphVector): Likewise.
(drawImage): Likewise.
(drawRenderedImage): Likewise.
(fill): Likewise.
(setClip): Removed.
(lock): Added documentation.
(unlock): Added documentation.
* include/gnu_java_awt_peer_gtk_CairoGraphics2D.h: Regenerated.
* include/gnu_java_awt_peer_gtk_ComponentGraphics.h: Regenerated.
* lib/gnu/java/awt/peer/gtk/ComponentGraphics.class: Regenerated.
* lib/gnu/java/awt/peer/gtk/CairoGraphics2D.class: Regenerated.
* native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoGraphics2D.c
(Java_gnu_java_awt_peer_gtk_CairoGraphics2D_cairoDrawLine): Removed.
(Java_gnu_java_awt_peer_gtk_CairoGraphics2D_cairoDrawRect): Removed.
(Java_gnu_java_awt_peer_gtk_CairoGraphics2D_cairoFillRect): Removed.
(Java_gnu_java_awt_peer_gtk_CairoGraphics2D_cairoPreserveClip): Removed.
(Java_gnu_java_awt_peer_gtk_CairoGraphics2D_cairoRelCurveTo): Removed.
(Java_gnu_java_awt_peer_gtk_CairoGraphics2D_cairoRelLineTo): Removed.
(Java_gnu_java_awt_peer_gtk_CairoGraphics2D_cairoRelMoveTo): Removed.
2007-04-27 Thomas Fitzsimmons <fitzsim@redhat.com>
* gnu/java/awt/peer/gtk/CairoGraphics2D.h: Regenerate.
* gnu/java/awt/peer/gtk/ComponentGraphics.h: Regenerate.
From-SVN: r124226
2007-04-27 18:08:03 +00:00
Kyle Galloway
9f8b807381
VMIdManager.java (getObjectId): Deal with null objects.
...
2007-04-25 Kyle Galloway <kgallowa@redhat.com>
* gnu/classpath/jdwp/VMIdManager.java (getObjectId): Deal with null
objects.
(get): Deal with ObjectId of 0.
From-SVN: r124164
2007-04-25 19:46:45 +00:00
Kyle Galloway
7c4a926515
2007-04-24 Kyle Galloway <kgallowa@redhat.com>
...
* gnu/classpath/jdwp/natVMVirtualMachine.java
(getThreadStatus): Implement.
From-SVN: r124117
2007-04-24 19:56:55 +00:00
Keith Seitz
9872ecadbd
headers.txt (gnu/gcj/jvmti/Breakpoint.h): Add _Jv_RewriteBreakpointInsn friend declaration.
...
* headers.txt (gnu/gcj/jvmti/Breakpoint.h)[DIRECT_THREADED]:
Add _Jv_RewriteBreakpointInsn friend declaration.
* gnu/gcj/jvmti/natBreakpoint.cc (_Jv_RewriteBreakpointInsn)
[DIRECT_THREADED]: New function.
* gnu/gcj/jvmti/Breakpoint.h: Regenerate.
* interpret-run.cc: Define new REWRITE_INSN macro.
Changed all occurrences of insn rewriting to call REWRITE_INSN.
From-SVN: r124111
2007-04-24 18:18:56 +00:00
Kyle Galloway
a8a423360b
natVMVirtualMachine.cc (getSourceFile): Check for null source file and throw an exception indicating this.
...
2007-04-23 Kyle Galloway <kgallowa@redhat.com>
* gnu/classpath/jdwp/natVMVirtualMachine.cc (getSourceFile): Check
for null source file and throw an exception indicating this.
From-SVN: r124066
2007-04-23 14:23:39 +00:00
Keith Seitz
434942d978
BreakpointManager.java (newBreakpoint): Install the new breakpoint into the 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-20 17:08:44 +00:00
Tom Tromey
765e6a0cd4
re PR crypto/31626 (javax.net.SocketFactory#createSocket() throws 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-19 20:50:40 +00:00
Tom Tromey
06a4a50762
libjava
...
* 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-19 00:24:09 +00:00
Tom Tromey
3088dc29d1
Committed up-to-date .class and .h files from an earlier commit
...
From-SVN: r123890
2007-04-16 20:15:00 +00:00
Andrew Haley
0e055c1cd2
BootClassLoader.java (getBootURLLoader): New method.
...
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: r123862
2007-04-16 13:44:59 +00:00
Kyle Galloway
aa2473e4fc
ArrayValue.java: New file.
...
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-09 20:30:20 +00:00
Tania Bento
618bf37b05
DecimalFormatSymbols.java: Added the year 2007 to Copyright information and 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-05 00:15:16 +00:00
Kyle Galloway
dabf62003e
VariableTable.java: Change longs to ints for argCnt and slots.
...
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-05 00:00:45 +00:00
Tom Tromey
8854e14c61
natFileChannelPosix.cc (mapImpl): Extend file, when writing, if it is too short.
...
http://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=205157
* gnu/java/nio/channels/natFileChannelPosix.cc (mapImpl): Extend
file, when writing, if it is too short.
From-SVN: r123447
2007-04-03 01:05:50 +00:00
Tom Tromey
c44cc446f7
natPlainSocketImplPosix.cc (create): Return if already created.
...
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-02 22:10:41 +00:00
Kyle Galloway
bfd6b6cb22
interpret-run.cc: Add code to properly set up variable slots when debugging.
...
2007-04-02 Kyle Galloway <kgallowa@redhat.com>
* interpret-run.cc: Add code to properly set up variable slots
when debugging.
* gnu/classpath/jdwp/natVMFrame.cc (checkJVMTIError): New function.
(getObjectJVMTI): New function.
(setObjectJVMTI): New function.
(getIntJVMTI): New function.
(setIntJVMTI): New function.
(getLongJVMTI): New function.
(setLongJVMTI): New function.
(getFloatJVMTI): New function.
(setFloatJVMTI): New function.
(getDoubleJVMTI): New function.
(setDoubleJVMTI): New function.
(getFrameDepth): New function.
(getValue): Implement.
(setValue): Implement.
From-SVN: r123427
2007-04-02 13:45:52 +00:00
Tom Tromey
ee753a0ab1
sources.am, [...]: Rebuilt.
...
* 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-28 02:01:01 +00:00
Keith Seitz
fd6a66a10a
VMFrame.java: Update from upstream classpath.
...
* gnu/classpath/jdwp/VMFrame.java: Update from upstream
classpath.
* gnu/classpath/jdwp/natVMFrame.cc: Likewise.
* gnu/classpath/jdwp/VMVirtualMachine.java: Likewise.
* gnu/classpath/jdwp/natVMVirtualMachine.cc: Likewise.
(initialize): Fix compiler type-punning warning.
(getAllLoadedClasses): Return empty list instead of NULL.
(getLoadRequests): Likewise.
* gnu/classpath/jdwp/exception/InvalidTagException.h: New file.
* gnu/classpath/jdwp/exception/InvalidSlotException.h: New file.
* gnu/classpath/jdwp/exception/TypeMismatchException.h: New file.
* gnu/classpath/jdwp/VMVirtualMachine.h: Rebuilt.
* gnu/classpath/jdwp/value/CharValue.h: New file.
* gnu/classpath/jdwp/value/LongValue.h: New file.
* gnu/classpath/jdwp/value/ShortValue.h: New file.
* gnu/classpath/jdwp/value/Value.h: New file.
* gnu/classpath/jdwp/value/BooleanValue.h: New file.
* gnu/classpath/jdwp/value/VoidValue.h: New file.
* gnu/classpath/jdwp/value/ByteValue.h: New file.
* gnu/classpath/jdwp/value/FloatValue.h: New file.
* gnu/classpath/jdwp/value/ObjectValue.h: New file.
* gnu/classpath/jdwp/value/StringValue.h: New file.
* gnu/classpath/jdwp/value/ValueFactory.h: New file.
* gnu/classpath/jdwp/value/IntValue.h: New file.
* gnu/classpath/jdwp/value/DoubleValue.h: New file.
* gnu/classpath/jdwp/VMFrame.h: Rebuilt.
* gnu/classpath/jdwp/id/NullObjectId.h: New file.
* gnu/classpath/jdwp/util/MethodResult.h: Rebuilt.
* gnu/classpath/jdwp/util/NullObject.h: New file.
* gnu/classpath/jdwp/util/MonitorInfo.h: New file.
* Makefile.in: Rebuilt.
* sources.am: Rebuilt.
From-SVN: r123266
2007-03-27 18:42:49 +00:00
David Daney
46ecc2bc5c
re PR libgcj/31228 (Race condition between setting close-on-exec and Runtime.exec())
...
PR libgcj/31228
* configure.ac: Add checks for getrlimit and sys/resource.h.
* include/posix.h (_Jv_platform_close_on_exec): Remove.
* include/config.h.in: Regenerate.
* configure: Regenerate.
* gnu/java/nio/channels/natFileChannelPosix.cc (open): Remove call to
_Jv_platform_close_on_exec;
* gnu/java/net/natPlainSocketImplPosix.cc (create): Likewise.
(accept): Likewise.
* gnu/java/net/natPlainDatagramSocketImplPosix.cc (create):Likewise.
* java/lang/natPosixProcess.cc: Include sys/resource.h.
(nativeSpawn): Close all file descriptors. Don't set FD_CLOEXEC on
pipes.
From-SVN: r123138
2007-03-23 00:06:41 +00:00
Keith Seitz
bde6c7a990
java-interp.h (_Jv_InterpClass): Declare friend function _Jv_GetInterpClassSourceFile.
...
* include/java-interp.h (_Jv_InterpClass): Declare
friend function _Jv_GetInterpClassSourceFile.
* java/lang/Class.h (Class): Likewise.
* java/lang/natClass.cc (_Jv_GetInterpClassSourceFile):
New function.
* gnu/classpath/jdwp/natVMVirtualMachine.cc
(getSourceFile): Implement.
From-SVN: r122882
2007-03-13 19:27:13 +00:00
Thomas Fitzsimmons
442a795bc6
Makefile.am (AM_CXXFLAGS): Define ECJ_JAR_FILE.
...
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-13 05:48:03 +00:00
Kyle Galloway
009403e6f0
AbsentInformationException.java: New file.
...
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-06 21:09:22 +00:00
Tom Tromey
3cf0c3c57e
Updating header files. Earlier change here seems to have been in error.
...
From-SVN: r122550
2007-03-05 14:29:47 +00:00
Gary Benson
94217473a5
Main.java: Updated copyright year.
...
2007-02-23 Gary Benson <gbenson@redhat.com>
* gnu/gcj/tools/gcj_dbtool/Main.java: Updated copyright year.
From-SVN: r122261
2007-02-23 15:35:17 +00:00
Jakub Jelinek
b3502aa8d4
re PR libgcj/17002 (java.util.TimeZone.getDefault() is broken)
...
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
2007-02-22 17:04:55 +01:00
Keith Seitz
cc0c8dbc93
* gnu/classpath/jdwp/natVMVirtualMachine.cc
...
(jdwpClassPrepareCB): Move class status stuff to ...
(getClassStatus): ... here.
From-SVN: r122164
2007-02-20 14:08:49 +00:00
Gary Benson
d9f646e4b9
XEventLoop.h: Regenerated.
...
2007-02-20 Gary Benson <gbenson@redhat.com>
* gnu/awt/xlib/XEventLoop.h: Regenerated.
* gnu/java/awt/peer/gtk/GThreadMutex.h: Likewise.
* gnu/java/rmi/server/ConnectionRunnerPool$ConnectionRunner.h:
Likewise.
* gnu/java/rmi/server/UnicastConnectionManager.h: Likewise.
* java/lang/SecurityManager.h: Likewise.
* java/lang/Thread.h: Likewise.
* java/security/VMSecureRandom$Spinner.h: Likewise.
* java/util/concurrent/atomic/AtomicBoolean.h: Likewise.
* java/util/concurrent/atomic/AtomicInteger.h: Likewise.
* java/util/concurrent/atomic/AtomicLong.h: Likewise.
* java/util/concurrent/atomic/AtomicReference.h: Likewise.
* java/util/concurrent/ConcurrentHashMap$HashEntry.h: Likewise.
* java/util/concurrent/ConcurrentHashMap$Segment.h: Likewise.
* java/util/concurrent/ConcurrentLinkedQueue.h: Likewise.
* java/util/concurrent/ConcurrentLinkedQueue$Node.h: Likewise.
* java/util/concurrent/ConcurrentSkipListMap.h: Likewise.
* java/util/concurrent/ConcurrentSkipListMap$Index.h: Likewise.
* java/util/concurrent/ConcurrentSkipListMap$Node.h: Likewise.
* java/util/concurrent/Exchanger.h: Likewise.
* java/util/concurrent/Exchanger$Node.h: Likewise.
* java/util/concurrent/FutureTask$Sync.h: Likewise.
* java/util/concurrent/LinkedBlockingQueue$Node.h: Likewise.
* java/util/concurrent/locks/AbstractQueuedLongSynchronizer.h:
Likewise.
* java/util/concurrent/locks/AbstractQueuedLongSynchronizer$Node.h:
Likewise.
* java/util/concurrent/locks/AbstractQueuedSynchronizer.h: Likewise.
* java/util/concurrent/locks/AbstractQueuedSynchronizer$Node.h:
Likewise.
* java/util/concurrent/ScheduledThreadPoolExecutor.h: Likewise.
* java/util/concurrent/SynchronousQueue.h: Likewise.
* java/util/concurrent/SynchronousQueue$TransferQueue.h: Likewise.
* java/util/concurrent/SynchronousQueue$TransferQueue$QNode.h:
Likewise.
* java/util/concurrent/SynchronousQueue$TransferStack.h: Likewise.
* java/util/concurrent/SynchronousQueue$TransferStack$SNode.h:
Likewise.
* java/util/concurrent/ThreadPoolExecutor.h: Likewise.
* java/util/concurrent/ThreadPoolExecutor$Worker.h: Likewise.
* java/util/logging/ErrorManager.h: Likewise.
* javax/swing/plaf/basic/BasicSpinnerUI$2.h: Likewise.
* javax/swing/plaf/basic/BasicSpinnerUI$4.h: Likewise.
From-SVN: r122161
2007-02-20 13:06:37 +00:00
Keith Seitz
8e53f957a1
* gnu/classpath/jdwp/natVMVirtualMachine.cc
...
(get_line_table): New function.
(handle_single_step): New function.
(jdwpSingleStepCB): New function.
(jdwpVMInitCB): Define a JVMTI single step
callback, but don't enable it until needed.
From-SVN: r122065
2007-02-17 01:21:28 +00:00
Gary Benson
2c39a2b1e9
2007-02-16 Gary Benson <gbenson@redhat.com>
...
* gnu/gcj/tools/gcj_dbtool/Main.java
(bytesToString): Don't lose zeros from within the digest.
From-SVN: r122045
2007-02-16 14:54:25 +00:00
Andrew Haley
24d8ce15e2
[multiple changes]
...
2007-02-15 Andrew Haley <aph@redhat.com>
* Makefile.am (nat_source_files): Remove
java/lang/management/natVMManagementFactory.cc.
* java/lang/Thread.java (getStackTrace): Use reflection to call
the ManagementFactory.
* java/lang/management/VMManagementFactory.java: Remove native
methods.
* java/lang/management/natVMManagementFactory.cc: Deleted.
* sources.am: Regnerate.
* scripts/makemake.tcl: Add new "bcheaders" type.
Move java/lang/management and gnu/classpath/management to "bc".
Move gnu/java/lang/management to "bcheaders".
2007-02-16 Andrew Haley <aph@redhat.com>
* gnu/java/lang/management/MemoryMXBeanImpl.java,
javax/management/MBeanServerDelegate.java: Use
gnu.javax.management.ListenerData rather than
gnu.classpath.ListenerData.
* gnu/javax/management/ListenerData.java: Move here from
gnu/classpath/ListenerData.java.
From-SVN: r122041
2007-02-16 13:51:04 +00:00
Kyle Galloway
7a1bf87c6e
interpret.cc (_Jv_InterpMethod::check_handler): New method.
...
2007-02-15 Kyle Galloway <kgallowa@redhat.com>
* interpret.cc (_Jv_InterpMethod::check_handler): New method.
* interpret-run.cc: Change the catch section to report exception
events and to use the new check_handler method.
* include/java-interp.h (_Jv_InterpMethod): Add check_handler.
* gnu/gcj/jvmti/ExceptionEvent.java: New file.
* gnu/gcj/jvmti/ExceptionEvent.h: New file.
* gnu/gcj/jvmti/natExceptionEvent.cc: New file.
* libjava/classpath/lib/gnu/gcj/jvmti/ExceptionEvent.class: New
file.
* sources.am: Added ExceptionEvent.java.
* Makefile.am: Added natExceptionEvent.cc
* Makefile.in: Regenerated.
* include/Makefile.in: Regenerated.
* gcj/Makefile.in: Regenerated.
From-SVN: r122019
2007-02-16 00:05:39 +00:00
David Daney
7f40378f06
Make-lang.in (JAVA_MANFILES): Add doc/gc-analyze.1.
...
gcc/java:
2007-02-15 David Daney <ddaney@avtrex.com>
* Make-lang.in (JAVA_MANFILES): Add doc/gc-analyze.1.
(java.maintainer-clean):Add gc-analyze.1.
(.INTERMEDIATE): Add gc-analyze.pod.
(gc-analyze.pod): New rule.
(java.install-man): Install gc-analyze.1
* gcj.texi: Add new section for the gc-analyze program.
libjava:
2007-02-15 Johannes Schmidt <jschmidt@avtrex.com>
David Daney <ddaney@avtrex.com>
* configure.ac: Create vm-tools-packages file. Add
gnu/gcj/tools/gc_analyze to standard.omit and vm-tools-packages.
Check for /proc/self/maps.
* Makefile.am (bin_PROGRAMS): Added gc-analyze.
(gc_analyze_SOURCES): New.
(gc_analyze_LDFLAGS): New.
(gc_analyze_LINK): New.
(gc_analyze_LDADD): New.
(gc_analyze_DEPENDENCIES): New.
(nat_source_files): Add gnu/gcj/util/natGCInfo.cc.
* Makefile.in: Regenerated.
* configure: Regenerated.
* include/config.h.in: Regenerated.
* sources.am: Regenerated.
* scripts/makemake.tcl: Don't include gc-analyze classes in libgcj.
* gnu/gcj/tools/gc_analyze/SymbolLookup.java: New.
* gnu/gcj/tools/gc_analyze/ObjectMap.java: New.
* gnu/gcj/tools/gc_analyze/MemoryMap.java: New.
* gnu/gcj/tools/gc_analyze/SymbolTable.java: New.
* gnu/gcj/tools/gc_analyze/BlockMap.java: New.
* gnu/gcj/tools/gc_analyze/BytePtr.java: New.
* gnu/gcj/tools/gc_analyze/ItemList.java: New.
* gnu/gcj/tools/gc_analyze/ToolPrefix.java: New.
* gnu/gcj/tools/gc_analyze/MemoryAnalyze.java: New.
* gnu/gcj/util/GCInfo.java: New.
* gnu/gcj/util/GCInfo.h: New.
* gnu/gcj/util/natGCInfo.cc: New.
* gnu/gcj/util/UtilPermission.java: New.
* gnu/gcj/util/UtilPermission.h: New.
* classpath/tools/gnu/gcj/tools/gc_analyze/SymbolTable.class: New.
* classpath/tools/gnu/gcj/tools/gc_analyze/ObjectMap$ObjectItem.class: New.
* classpath/tools/gnu/gcj/tools/gc_analyze/MemoryMap$RangeComparator.class: New.
* classpath/tools/gnu/gcj/tools/gc_analyze/BlockMap$PtrMarks.class: New.
* classpath/tools/gnu/gcj/tools/gc_analyze/MemoryMap$Range.class: New.
* classpath/tools/gnu/gcj/tools/gc_analyze/BlockMap.class: New.
* classpath/tools/gnu/gcj/tools/gc_analyze/BytePtr.class: New.
* classpath/tools/gnu/gcj/tools/gc_analyze/MemoryAnalyze$SubstringComparator.class: New.
* classpath/tools/gnu/gcj/tools/gc_analyze/ItemList.class: New.
* classpath/tools/gnu/gcj/tools/gc_analyze/ToolPrefix.class: New.
* classpath/tools/gnu/gcj/tools/gc_analyze/MemoryAnalyze.class: New.
* classpath/tools/gnu/gcj/tools/gc_analyze/MemoryAnalyze$1$Info.class: New.
* classpath/tools/gnu/gcj/tools/gc_analyze/MemoryAnalyze$1.class: New.
* classpath/tools/gnu/gcj/tools/gc_analyze/MemoryAnalyze$2.class: New.
* classpath/tools/gnu/gcj/tools/gc_analyze/MemoryAnalyze$3.class: New.
* classpath/tools/gnu/gcj/tools/gc_analyze/MemoryAnalyze$4.class: New.
* classpath/tools/gnu/gcj/tools/gc_analyze/MemoryAnalyze$OptionParser.class: New.
* classpath/tools/gnu/gcj/tools/gc_analyze/BlockMap$SizeKind.class: New.
* classpath/tools/gnu/gcj/tools/gc_analyze/SymbolLookup.class: New.
* classpath/tools/gnu/gcj/tools/gc_analyze/ObjectMap.class: New.
* classpath/tools/gnu/gcj/tools/gc_analyze/MemoryMap.class: New.
* classpath/lib/gnu/gcj/util/GCInfo.class: New.
* classpath/lib/gnu/gcj/util/UtilPermission.class: New.
libjava/classpath:
2007-02-15 David Daney <ddaney@avtrex.com>
* tools/Makefile.am (TOOLS_ZIP): Add classes from vm-tools-packages.
* tools/Makefile.in: Regenerated.
From-SVN: r122007
2007-02-15 17:25:24 +00:00
David Daney
31429fbc3c
PlainSocketImpl.h: Regenerate.
...
* gnu/java/net/PlainSocketImpl.h: Regenerate.
* gnu/classpath/jdwp/VMVirtualMachine.h: Same.
* gnu/classpath/jdwp/VMFrame.h: Same.
* java/net/Socket.h: Same.
* java/util/Collections$UnmodifiableMap$UnmodifiableEntrySet.h: Same.
From-SVN: r122006
2007-02-15 17:03:49 +00:00
Kyle Galloway
fc01261a60
natVMVirtualMachine (getFrames): Implement.
...
2007-02-15 Kyle Galloway <kgallowa@redhat.com>
* gnu/classpath/jdwp/natVMVirtualMachine (getFrames): Implement.
From-SVN: r121997
2007-02-15 14:49:50 +00:00
Keith Seitz
a13c5b70a4
* gnu/classpath/jdwp/natVMVirtualMachine.cc
...
(jdwpBreakpointCB): New function.
(jdwpVMInitCB): Define and enable the breakpoint
callback.
From-SVN: r121889
2007-02-13 18:57:01 +00:00
Tom Tromey
40b86e5f2c
Collections.java (UnmodifiableMap.toArray): Imported changes from Classpath.
...
libjava/classpath
* java/util/Collections.java (UnmodifiableMap.toArray): Imported
changes from Classpath.
libjava
* sources.am, Makefile.in: Rebuilt.
* java/lang/Socket.java: Removed override.
* java/lang/DatagramSocket.java: Removed override.
* gnu/java/net/PlainSocketImpl.java (localSocketAddress): New
field.
(getLocalAddress): New method.
* gnu/java/net/PlainDatagramSocketImpl.java
(PlainDatagramSocketImpl): Throws IOException.
* gnu/java/net/natPlainSocketImplPosix.cc (write): Remove
'sizeof'.
(read): Likewise.
From-SVN: r121866
2007-02-12 23:52:39 +00:00
Andrew Haley
ba9652fcb4
re PR libgcj/30742 (ResourceBundle regression)
...
2007-02-10 Andrew Haley <aph@redhat.com>
PR java/30742
* gnu/classpath/natVMStackWalker.cc (GET_CALLING_CLASS): New.
(getCallingClass): Call GET_CALLING_CLASS.
(getCallingClassLoader): Likewise.
From-SVN: r121798
2007-02-10 14:22:54 +00:00
Keith Seitz
410b0a2c94
* gnu/classpath/jdwp/VMVirtualMachine.java
...
(_stepping_threads): New member.
* classpath/lib/gnu/classpath/jdwp/VMVirtualMachine.class:
Regenerated.
* gnu/classpath/jdwp/VMVirtualMachine.h:
Regenerated.
* gnu/claspath/jdwp/natVMVirtualMachine.cc
(get_request_step_filter): New function.
(DISABLE_EVENT): New macro.
(initialize): Initialize _stepping_threads.
(registerEvent): Implement EVENT_SINGLE_STEP.
(unregisterEvent): Likewise.
From-SVN: r121769
2007-02-09 18:43:21 +00:00
Kyle Galloway
0588f8c8db
StackFrameCommandSet.java (executeGetValues): Pass jlong instead of ByteBuffer.
...
2007-02-08 Kyle Galloway <kgallowa@redhat.com>
* classpath/gnu/classpath/jdwp/processor/
StackFrameCommandSet.java (executeGetValues): Pass jlong instead
of ByteBuffer.
(executeSetValues): Ditto.
(executeThisObject): Ditto.
* classpath/gnu/classpath/jdwp/processor/
StackFrameCommandSet.class: Rebuilt.
* classpath/lib/gnu/classpath/jdwp/VMVirtualMachine.class:
Rebuilt.
* classpath/lib/gnu/classpath/jdwp/VMFrame.class: Rebuilt.
* classpath/lib/gnu/classpath/jdwp/exception/
InvalidFrameException.java: New file.
* gnu/classpath/jdwp/VMFrame.java: Added field for thread of
frame.
(Constructor): New method.
* gnu/classpath/jdwp/VMFrame.h: Regenerated.
* gnu/classpath/jdwp/VMVirtualMachine.java
(getFrame): Changed ByteBuffer to jlong.
* gnu/classpath/jdwp/natVMVirtualMachine.cc
(getFrame): Implement.
* gnu/classpath/jdwp/VMVirtualMachine.h: Regenerated.
From-SVN: r121719
2007-02-08 18:21:00 +00:00
Chris Burdess
08452f4553
re PR classpath/30718 (TransformerException in XSLURIResolver)
...
2007-02-07 Chris Burdess <dog@gnu.org>
Fixes PR 30718.
* gnu/xml/dom/ls/SAXEventSink.java: Add public accessor/mutators.
* gnu/xml/transform/XSLURIResolver.java: Add support for custom
SAXSources without a backing URL or stream.
Fixes PR 27710.
* gnu/xml/dom/DomDocumentBuilderFactory.java: Fall back to synchronous
LSParser if implementation does not support asynchronous.
* gnu/xml/stream/XMLParser.java,
gnu/xml/stream/XIncludeFilter.java: Use custom code instead of
java.net.URL to resolve to an an absolute URI, to avoid nonexistent
protocol handler problems.
From-SVN: r121694
2007-02-07 18:22:26 +00:00
Keith Seitz
072d019dfc
* gnu/classpath/jdwp/natVMVirtualMachine.cc
...
(registerEvent): Implement EVENT_BREAKPOINT.
(unregisterEvent): Likewise.
(get_request_location): New function.
From-SVN: r121608
2007-02-05 20:56:47 +00:00
Kyle Galloway
c9d607421c
natVMVirtualMachine.cc (getFrameCount): Implement.
...
2007-02-02 Kyle Galloway <kgallowa@redhat.com>
* gnu/classpath/jdwp/natVMVirtualMachine.cc (getFrameCount): Implement.
From-SVN: r121504
2007-02-02 15:23:20 +00:00
Kaloian Doganov
2828987879
re PR libgcj/30600 (gnu.gcj.convert.BytesToCharsetAdaptor calculates bad argument for java.nio.Buffer.limit(int))
...
2007-01-29 Kaloian Doganov <kaloian@doganov.org>
PR libgcj/30600:
* gnu/gcj/convert/BytesToCharsetAdaptor.java (read): Fix call to
'limit'.
From-SVN: r121329
2007-01-30 02:46:54 +00:00
Keith Seitz
68254f23e8
jvmti_md.h (_CLASSPATH_VM_JVMTI_TYPES_DEFINED): Define.
...
* include/jvmti_md.h (_CLASSPATH_VM_JVMTI_TYPES_DEFINED):
Define.
[__GCJ_JNI_IMPL__]: Define our own JVMTI types when building
gcj. All jvmti object types now are defined to be their
corresponding java classes.
* jvmti.cc (_Jv_JVMTI_SuspendThread): Remove casting from
jthread to Thread*.
(_Jv_JVMTI_ResumeThread): Likewise.
(_Jv_JVMTI_InterruptThread): Likewise.
(_Jv_JVMTI_SetEventNotificationMode): Likewise.
* gnu/classpath/jdwp/natVMVirtualMachine.cc
(jdwpClassPrepareCB): Likewise.
(jdwpThreadEndCB): Likewise.
(jdwpThreadStartCB): Likewise.
(jdwpVMInitCB): Likewise.
From-SVN: r121296
2007-01-29 17:43:34 +00:00
Michele Sandri
94468b1ceb
2007-01-28 Michele Sandri <gpointorama@gmail.com>
...
* gnu/java/nio/channels/natFileChannelWin32.cc
(lock): Implemented.
(unlock): Implemented.
From-SVN: r121265
2007-01-28 18:55:36 +00:00
Keith Seitz
ea6244280b
* gnu/classpath/jdwp/natVMVirtualMachine.cc
...
(getAllClassMethods): Move error handling to ...
(throw_jvmti_error): ... here.
(jdwpClassPrepareCB): New function.
(jdwpThreadEndCB): New function.
(jdwpThreadStartCB): New function.
(jdwpVMDeathCB): New function.
(jdwpVMInitCB): Define and enable callbacks for
ClassPrepare, ThreadEnd, ThreadStart, and VMDeath.
From-SVN: r121233
2007-01-27 16:34:32 +00:00
Tom Tromey
7969a3791e
libjava
...
* Updated headers.
libjava/classpath
* tools/gnu/classpath/tools/javah/FieldHelper.java (print): Print
'volatile' after field type.
From-SVN: r121215
2007-01-26 23:07:08 +00:00
Tom Tromey
e858910352
re PR libgcj/29594 (jv-convert with no args NPE)
...
PR libgcj/29594:
* gnu/gcj/convert/Convert.java (main): Correctly handle missing
input or output encodings. Removed unused local variables.
From-SVN: r121197
2007-01-26 01:05:13 +00:00