Gary Benson
c7e576cf15
MBeanServer.java: Updated.
...
2007-02-20 Gary Benson <gbenson@redhat.com>
* javax/management/MBeanServer.java: Updated.
* javax/management/MBeanServerConnection.java: Likewise.
* javax/management/ObjectName.java: Likewise.
* javax/management/StandardMBean.java: Likewise.
From-SVN: r122165
2007-02-20 15:02:38 +00: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
David Daney
599b39ce9d
Thread.java (Thread(ThreadGroup, Runnable, String)): Pass new parameter constructor.
...
* java/lang/Thread.java (Thread(ThreadGroup, Runnable, String)): Pass
new parameter constructor.
(Thread(ThreadGroup, Runnable, String, long)): Same.
(Thread(String, boolean)): New constructor.
(Thread(Thread, ThreadGroup, Runnable, String): Add parameter
noInheritableThreadLocal, don't call
InheritableThreadLocal.newChildThread if set.
* java/lang/PosixProcess.java(ProcessManager()): Set
noInheritableThreadLocal in super.
* java/lang/natThread.cc (_Jv_AttachCurrentThread): Pass new
parameter to Thread constructor.
(_Jv_AttachCurrentThreadAsDaemon): Same.
* java/lang/Thread.h: Regenerate.
* classpath/lib/java/lang/Thread.class: Same.
* classpath/lib/java/lang/PosixProcess$EOFInputStream.class: Same.
* classpath/lib/java/lang/PosixProcess.class: Same.
* classpath/lib/java/lang/Thread$State.class: Same.
* classpath/lib/java/lang/PosixProcess$ProcessManager.class: Same.
From-SVN: r122054
2007-02-16 21:23:10 +00:00
Edwin Steiner
d16c4b1a16
re PR classpath/28652 (JBoss fails to start due class cast exception in the management classes)
...
2006-10-14 Edwin Steiner <edwin.steiner@gmx.net>
PR classpath/28652:
* javax/management/MBeanInfo.java (MBeanInfo):
Use clone to duplicate the arrays in order to
preserve the array type.
From-SVN: r122050
2007-02-16 19:19:11 +00:00
Kyle Galloway
ce359ed916
interpret.cc: Add extra DEBUG_LOCALS_INSN calls for multi-slot variables to maintain type info.
...
2007-02-16 Kyle Galloway <kgallowa@redhat.com>
* interpret.cc: Add extra DEBUG_LOCALS_INSN calls for multi-slot
variables to maintain type info.
* interpret-run.cc: Add local variable info to frame in the debug
interpreter.
* jvmti.cc (getLocalFrame): New method.
(_Jv_JVMTI_GetLocalObject): New method.
(_Jv_JVMTI_GetLocallInt): New method.
(_Jv_JVMTI_GetLocalFloat): New method.
(_Jv_JVMTI_GetLocalLong): New method.
(_Jv_JVMTI_GetLocalDouble): New method.
(_Jv_JVMTI_SetLocalObject): New method.
(_Jv_JVMTI_SetLocalInt): New method.
(_Jv_JVMTI_SetLocalFloat): New method.
(_Jv_JVMTI_SetLocalLong): New method.
(_Jv_JVMTI_SetLocalDouble): New method.
From-SVN: r122048
2007-02-16 18:32:07 +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
Gary Benson
b697e623a3
AttributeList.java: Updated.
...
2007-02-15 Gary Benson <gbenson@redhat.com>
* javax/management/AttributeList.java: Updated.
* javax/management/MBeanServerDelegate.java: Likewise.
* javax/management/MBeanServerFactory.java: Likewise.
* javax/management/StandardMBean.java: Likewise.
From-SVN: r122004
2007-02-15 16:40:44 +00:00
Kyle Galloway
fe60528edc
defineclass.cc (_Jv_ClassReader::read_one_code_attribute): Added LocalVariableTable attribute handling.
...
2007-02-15 Kyle Galloway <kgallowa@redhat.com>
* defineclass.cc (_Jv_ClassReader::read_one_code_attribute):
Added LocalVariableTable attribute handling.
(_Jv_ClassReader::pool_Utf8_to_char_arr): New method.
* jvmti.cc (_Jv_JVMTI_GetLocalVariableTable): New method.
* include/java-interp.h: Added local_var_table and
local_var_table_len fields to _Jv_InterpMethod.
(_Jv_InterpMethod::get_local_var_table): New method.
* testsuite/libjava.jvmti/interp/getlocalvartable.java: New
test.
* testsuite/libjava.jvmti/interp/getlocalvartable.jar: New test.
* testsuite/libjava.jvmti/interp/getlocalvartable.out: Output
for new test.
* testsuite/libjava.jvmti/interp/getlocalvartable.h: New test.
* testsuite/libjava.jvmti/interp/natgetlocalvartable.cc: New
test.
From-SVN: r121999
2007-02-15 15:08:27 +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
Gary Benson
02bba3c417
2007-02-15 Gary Benson <gbenson@redhat.com>
...
* gnu/javax/management/Server.java
(registerMBean): Always register objects that implement the
MBeanRegistration interface, and check the name returned by
preRegister before using it.
From-SVN: r121995
2007-02-15 14:42:23 +00:00
Gary Benson
b102a4f7e8
2007-02-15 Gary Benson <gbenson@redhat.com>
...
* javax/management/ObjectName.java:
(getKeyPropertyList()): Remove cast and call
to UnmodifiableMap.
From-SVN: r121994
2007-02-15 13:05:06 +00:00
Gary Benson
c8a90e8163
2007-02-14 Gary Benson <gbenson@redhat.com>
...
* javax/management/ObjectName.java
(toString): Return this item's canonical name.
From-SVN: r121989
2007-02-15 09:02:38 +00:00
Jakub Jelinek
23ced53f12
TimeZone.java (getDateParams): Negate dayOfWeek.
...
2007-02-14 Jakub Jelinek <jakub@redhat.com>
Andrew Haley <aph@redhat.com>
* java/util/TimeZone.java (getDateParams): Negate dayOfWeek.
From-SVN: r121957
2007-02-14 19:53:22 +00:00
Jakub Jelinek
70def3c8db
TimeZone.java (getDateParams): Negate dayOfWeek.
...
2007-02-14 Jakub Jelinek <jakub@redhat.com>
Andrew Haley <aph@redhat.com>
* java/util/TimeZone.java (getDateParams): Negate dayOfWeek.
Co-Authored-By: Andrew Haley <aph@redhat.com>
From-SVN: r121955
2007-02-14 19:31:58 +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
Andrew Haley
b3a00d65b8
2007-02-13 Andrew Haley <aph@redhat.com>
...
* testsuite/libjava.lang/Divide_2.out
* testsuite/libjava.lang/Divide_2.java: New test.
From-SVN: r121887
2007-02-13 18:25:47 +00:00
Keith Seitz
9606c9dd5e
jvmti.cc (_Jv_JVMTI_GetStackTrace): Remove cast from jthread to Thread *; it is no longer needed.
...
* jvmti.cc (_Jv_JVMTI_GetStackTrace): Remove cast
from jthread to Thread *; it is no longer needed.
(_Jv_JVMTI_GetFrameCount): Likewise.
Fix small formatting typo.
From-SVN: r121878
2007-02-13 02:44:51 +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
Jakub Jelinek
cc297c1e03
VMTimeZone.java: Rewrite to handle both the old 'TZif\0' format and the new one.
...
2007-02-09 Jakub Jelinek <jakub@redhat.com>
* java/util/VMTimeZone.java: Rewrite to handle both the old
'TZif\0' format and the new one.
From-SVN: r121845
2007-02-12 14:39:44 +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
Mohan Embar
bf654c9418
configure: Rebuilt.
...
* configure: Rebuilt.
* configure.ac (GCJH): Reverted second part of patch of 2006-12-20.
From-SVN: r121797
2007-02-10 14:21:05 +00:00
Mohan Embar
cef04d5912
Makefile.in: Rebuilt.
...
* Makefile.in: Rebuilt.
* Makefile.am (BUILD_ECJ1): Unify the command for renaming ecjx to
the host's ecj1 executable.
From-SVN: r121796
2007-02-10 14:17:58 +00:00
Tom Tromey
3db2c08782
re PR libgcj/30647 (build of gcc midi-dssi fails)
...
PR libgcj/30647:
* configure: Rebuilt.
* configure.ac: Also check for jack/jack.h.
From-SVN: r121775
2007-02-09 20:53:47 +00:00
Richard Henderson
507a4fd4a0
* sysdep/alpha/locks.h (read_barrier): New.
...
From-SVN: r121774
2007-02-09 12:40:56 -08:00
Matthias Klose
b964502b99
- reindent ChangeLog entries
...
From-SVN: r121771
2007-02-09 20:21:20 +00:00
Jakub Jelinek
3b865a2d67
TimeZone.java: Handle default (one hour) daylight savings.
...
2007-02-09 Jakub Jelinek <jakub@redhat.com>
* java/util/TimeZone.java: Handle default (one hour) daylight
savings.
From-SVN: r121770
2007-02-09 20:08:49 +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
Jakub Jelinek
8413669bde
TimeZone.java: Handle default (one hour) daylight savings.
...
2007-02-09 Jakub Jelinek <jakub@redhat.com>
* java/util/TimeZone.java: Handle default (one hour) daylight
savings.
From-SVN: r121766
2007-02-09 18:14:46 +00:00
Gary Benson
87a8ec2bf7
2007-02-09 Gary Benson <gbenson@redhat.com>
...
* javax/management/ObjectName.java
(quote): Initialize StringBuilder correctly.
From-SVN: r121765
2007-02-09 17:15:20 +00:00
Jakub Jelinek
122c09be40
re PR classpath/23566 (Need to regenerate TimeZone data against tzdata2006a)
...
PR 23566
* scripts/timezones.pl: Parse each file in 2 passes, in one parse
just Rule lines, in the other everything else. Pass 0 instead of
$savings as second argument to parseRule when parsing the start
rule.
* java/util/TimeZone.java (timezones): Regenerate from tzdata2007a.
From-SVN: r121740
2007-02-09 11:53:40 +01:00
Keith Seitz
19628083aa
sources.am: Regenerate.
...
* sources.am: Regenerate.
* Makefile.in: Regenerate.
* testsuite/Makefile.in: Regenerate.
* gcj/Makefile.in: Regenerate.
* include/Makefile.in: Regenerate.
* classpath/lib/javax/management/MBeanServerFactory.class:
Regenerate.
From-SVN: r121737
2007-02-09 01:16:13 +00:00
Keith Seitz
67e1d0f75c
sources.am: Regenerate.
...
* sources.am: Regenerate.
* Makefile.in: Regenerate.
* classpath/lib/javax/management/MBeanServerFactory.class:
Regenerate.
From-SVN: r121734
2007-02-09 00:59:29 +00:00
Kyle Galloway
f8b1cc1d09
This file got left behind in my last commit, sorry.
...
From-SVN: r121720
2007-02-08 18:44:37 +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
Kyle Galloway
72268e157f
java-interp.h (_Jv_InterpFrame): obj_ptr field added to hold "this" pointer for frame.
...
2007-02-06 Kyle Galloway <kgallowa@redhat.com>
* include/java-interp.h (_Jv_InterpFrame): obj_ptr field added
to hold "this" pointer for frame.
(_Jv_InterpFrame::get_this_ptr): New method.
* interpret-run.cc: Copy the "this" pointer into obj_ptr.
From-SVN: r121717
2007-02-08 18:01:56 +00:00
Gary Benson
f3062b0d1f
2007-02-08 Gary Benson <gbenson@redhat.com>
...
* javax/management/MBeanServerFactory.java
(servers): Initialize.
(createMBeanServer): Don't initialize servers.
From-SVN: r121713
2007-02-08 16:05:13 +00:00
Keith Seitz
896b1c8792
java-interp.h (_Jv_Frame::depth): New function.
...
* include/java-interp.h (_Jv_Frame::depth):
New function.
* jvmti.cc (_Jv_JVMTI_GetFrameCount): Use _Jv_Frame::depth.
From-SVN: r121709
2007-02-08 01:55:29 +00:00
Kyle Galloway
04ab45732d
jvmti.cc (CHECK_FOR_NATIVE_METHOD): New macro.
...
2007-02-07 Kyle Galloway <kgallowa@redhat.com>
* jvmti.cc (CHECK_FOR_NATIVE_METHOD): New macro.
(_Jv_JVMTI_GetMaxLocals): New method.
* include/java-interp.h
(_Jv_InterpMethod::get_max_locals): New method.
From-SVN: r121700
2007-02-07 23:28:04 +00:00
Marco Trudel
304237321b
jni.cc (_Jv_JNI_DeleteWeakGlobalRef): Check for NULL objects.
...
2007-02-01 Marco Trudel <mtrudel@gmx.ch>
* jni.cc (_Jv_JNI_DeleteWeakGlobalRef): Check for NULL objects.
From-SVN: r121699
2007-02-07 22:45:11 +00:00
Tom Tromey
0ccadf458d
init.c: New file.
...
* testsuite/libjava.jni/init.c: New file.
* testsuite/libjava.jni/init.java: New file.
* testsuite/libjava.jni/init.out: New file.
* testsuite/libjava.jni/init.jar: New file.
* testsuite/libjava.jni/init.h: New file.
* testsuite/libjava.jni/init$NativeClass.h: New file.
From-SVN: r121698
2007-02-07 22:02:40 +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
Jakub Jelinek
78e075d40b
[multiple changes]
...
2007-02-07 Bruno Haible <bruno@clisp.org>
config/
PR libgomp/28468
* config/tls.m4 (GCC_CHECK_TLS): Also check whether the libc supports
TLS via __thread.
2007-02-07 Jakub Jelinek <jakub@redhat.com>
{libgomp,libstdc++-v3,libmudflap,libjava}/
PR libgomp/28468
* configure: Regenerate.
From-SVN: r121689
2007-02-07 14:35:17 +01:00
Tom Tromey
60e4646493
Checking in header files missed by earlier commit
...
From-SVN: r121672
2007-02-06 23:59:34 +00:00
Tom Tromey
4aa9ca5049
re PR cp-tools/30707 (gjavah cannot handle more than one CLASS)
...
PR libgcj/30707:
* tools/gnu/classpath/tools/javah/JniIncludePrinter.java
(printClass): Always print a header.
From-SVN: r121664
2007-02-06 20:27:16 +00:00
Andrew Haley
44fb8659c3
makemake.tcl (emit_bc_rule): Set the source filename.
...
2007-02-06 Andrew Haley <aph@redhat.com>
* scripts/makemake.tcl (emit_bc_rule): Set the source filename.
* sources.am: Rebuild.
From-SVN: r121651
2007-02-06 17:17:03 +00:00
Andrew Haley
426147a1e8
re PR cp-tools/30706 (gjavah incompatible with sun javah and gcjh)
...
2007-02-05 Andrew Haley <aph@redhat.com>
PR cp-tools/30706
* tools/gnu/classpath/tools/javah/JniIncludePrinter.java:
(printClass): Replace '/' in filenames with '_'.
* tools/gnu/classpath/tools/javah/JniStubPrinter.java
(printClass): Likewise.
From-SVN: r121641
2007-02-06 09:44:53 +00:00
Keith Seitz
d6df67efcd
jvmti.cc (_envListLock): Change type to ReentrantReadWriteLock.
...
* jvmti.cc (_envListLock): Change type to
ReentrantReadWriteLock.
(_Jv_JVMTI_DisposeEnvironment): Switch to read/write
lock.
(check_enabled_event): Likewise.
(_Jv_GetJVMTIEnv): Likewise.
(_Jv_JVMTI_Init): Likewise.
(_Jv_JVMTI_PostEvent): Likewise.
From-SVN: r121616
2007-02-05 21:28:55 +00:00
Tom Tromey
9e006df67f
Proxy.java (equals): Handle case where address==null.
...
* java/net/Proxy.java (equals): Handle case where address==null.
(hashCode): Likewise.
(toString): Likewise.
From-SVN: r121609
2007-02-05 21:05:10 +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
Matthias Klose
7f1c6e93a9
testsuite/Makefile.am (compile-tests): Fix typo.
...
2007-02-05 Matthias Klose <doko@debian.org>
testsuite/Makefile.am (compile-tests): Fix typo.
testsuite/Makefile.in: Regenerate.
From-SVN: r121605
2007-02-05 18:13:44 +00:00
Andrew Haley
b4f7c767a0
natClass.cc (initializeClass): Re-throw SecurityExceptions.
...
2007-01-26 Andrew Haley <aph@redhat.com>
* java/lang/natClass.cc (initializeClass): Re-throw
SecurityExceptions.
* java/lang/natVMClassLoader.cc (loadClass): checkPackageAccess.
* java/lang/ClassLoader.java: (loadClass): Likewise.
From-SVN: r121513
2007-02-02 17:54:31 +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
Jakub Jelinek
47742ccdde
configure.ac (libjava_cv_anon_version_script): New test.
...
* configure.ac (libjava_cv_anon_version_script): New test.
(ANONVERSCRIPT): New AM_CONDITIONAL.
* configure: Rebuilt.
* Makefile.am (extra_ldflags_libjava): Link with -Wl,--version-script
if ANONVERSCRIPT.
* Makefile.in: Rebuilt.
(libgcj_la_DEPENDENCIES): Depend on libgcj.ver.
* libgcj.ver: New file.
From-SVN: r121499
2007-02-02 13:29:31 +01:00
David Daney
c508b9afca
makemake.tcl: Replace gnu/xml build with build of all its subpackages.
...
* scripts/makemake.tcl: Replace gnu/xml build with build of all
its subpackages.
* sources.am: Regenerate.
* Makefile.in: Regenerate.
From-SVN: r121483
2007-02-02 01:33:01 +00:00
Tom Tromey
14a9874595
* java/lang/ClassLoader.java (getResources): No longer final.
...
From-SVN: r121475
2007-02-01 23:00:01 +00:00
Tom Tromey
4d2446d99e
LogManager.java (loggers): Genericized.
...
* java/util/logging/LogManager.java (loggers): Genericized.
(addLogger): Merged.
(findAncestor): Likewise.
(getLogger): Likewise.
(getLoggerNames): Genericized.
(reset): Merged.
(getLevelProperty): Likewise.
* java/lang/reflect/Method.java (getDeclaringClass): Genericized.
* java/lang/reflect/Constructor.java (getParameterTypes):
Genericized.
(getExceptionTypes): Likewise.
(newInstance): Likewise.
* java/lang/reflect/Array.java (newInstance): Genericized.
* java/lang/Object.java (getClass): Genericized.
* java/nio/charset/spi/CharsetProvider.java (charsets):
Genericized.
* java/text/Collator.java: Implement Comparable<Object>.
From-SVN: r121473
2007-02-01 21:36:01 +00:00
Tom Tromey
0a32f469ac
Calendar.java: Implement Comparable<Calendar>.
...
* java/util/Calendar.java: Implement Comparable<Calendar>. Update
comments.
(clear): Call complete.
(setTimeZone): Call computeTime, computeFields.
(compareTo): New method.
* java/nio/charset/Charset.java: Implement Comparable<Charset>.
(availableCharsets): Genericized.
(aliases): Likewise.
(compareTo): Changed argument type.
* java/lang/ClassLoader.java (loadClass): Genericized.
(findClass): Likewise.
(defineClass): Likewise.
(resolveClass): Likewise.
(findSystemClass): Likewise.
(setSigners): Likewise.
(findLoadedClass): Likewise.
(getResources): Likewise.
(findResources): Likewise.
(getSystemResources): Likewise.
(checkInitialized): New method.
* java/lang/Class.java (getCanonicalName): New method.
From-SVN: r121471
2007-02-01 20:34:08 +00:00
Keith Seitz
0f160ccf28
jvmti-int.h (JVMTI): Declare member "enabled".
...
* include/jvmti-int.h (JVMTI): Declare member "enabled".
* jvmti.cc (JVMTI): Add member "enabled".
(_Jv_GetJVMTIEnv): Mark JVMTI enabled.
* interpret.cc (_Jv_InterpMethod::ncode): Use JVMTI::enabled
instead of gnu::classpath::jdwp::Jdwp::isDebugging.
(_Jv_CompileMethod): If JVMTI is enabled, use run_debug
instead of run to compile the method.
* interpret-run.cc [DEBUG] (NEXT_INSN): Add JVMTI single step
notification.
From-SVN: r121468
2007-02-01 18:58:58 +00:00
Tom Tromey
15c48c45f5
Makefile.in: Rebuilt.
...
* tools/Makefile.in: Rebuilt.
* tools/Makefile.am (noinst_SCRIPTS): Renamed from bin_SCRIPTS.
(noinst_DATA): Renamed from TOOLS_DATA.
From-SVN: r121451
2007-02-01 00:27:48 +00:00
Keith Seitz
c6923d93eb
jvmti-int.h (JVMTI): Declare member "enabled".
...
* include/jvmti-int.h (JVMTI): Declare member "enabled".
* jvmti.cc (JVMTI): Add member "enabled".
(_Jv_GetJVMTIEnv): Mark JVMTI enabled.
* interpret.cc (_Jv_InterpMethod::ncode): Use JVMTI::enabled
instead of gnu::classpath::jdwp::Jdwp::isDebugging.
(_Jv_CompileMethod): If JVMTI is enabled, use run_debug
instead of run to compile the method.
* interpret-run.cc [DEBUG] (NEXT_INSN): Add JVMTI single step
notification.
From-SVN: r121442
2007-01-31 23:25:39 +00:00
Andreas Tobler
d36114b201
jvmti-interp.exp (gij_jvmti_test_one): Add -shared-libgcc to the cxxflaglist for Darwin.
...
2007-01-31 Andreas Tobler <a.tobler@schweiz.org>
* testsuite/libjava.jvmti/jvmti-interp.exp (gij_jvmti_test_one): Add
-shared-libgcc to the cxxflaglist for Darwin.
From-SVN: r121438
2007-01-31 22:28:28 +01:00
Tom Tromey
6a50ab1837
scripts.am, [...]: Rebuilt.
...
* scripts.am, Makefile.in: Rebuilt.
* scripts/makemake.tcl (gnu/javax/swing/text/html/parser): Build
as 'ordinary'.
(emit_ordinary_rule): New proc.
From-SVN: r121437
2007-01-31 21:23:44 +00:00
Keith Seitz
9af2f1d8eb
getmethodname.h: New file.
...
* testsuite/libjava.jvmti/getmethodname.h: New file.
* testsuite/libjava.jvmti/getmethodname.jar: New file.
From-SVN: r121436
2007-01-31 20:51:54 +00:00
Andrew Haley
5df3325225
prims.cc (_Jv_Abort): fflush (stderr).
...
2007-01-31 Andrew Haley <aph@redhat.com>
* prims.cc (_Jv_Abort): fflush (stderr).
* java/lang/natClassLoader.cc (_Jv_CheckABIVersion): Abort.
From-SVN: r121433
2007-01-31 19:04:35 +00:00
Tom Tromey
a968c71490
configure, [...]: Rebuilt.
...
* configure, Makefile.in: Rebuilt.
* configure.ac (JAR): Check for -@ feature.
* Makefile.am (libgcj-$(gcc_version).jar): Use find -prune.
From-SVN: r121429
2007-01-31 17:38:55 +00:00
Tom Tromey
7679f36836
re PR libgcj/30606 (natVMURLConnection.cc:21: error: 'magic_t' does not name a typet name a type)
...
PR libgcj/30606:
* configure, include/config.h.in: Rebuilt.
* configure.ac: Check for magic_t in magic.h.
* java/net/natVMURLConnection.cc: Use HAVE_MAGIC_T.
From-SVN: r121425
2007-01-31 17:11:11 +00:00
Tom Tromey
8de15ffc9d
* resource/gnu/classpath/tools/jar/messages.properties
...
(Main.Stdin): New message.
* tools/gnu/classpath/tools/jar/Main.java (initializeParser): Add
'-@' option.
(readNames): New method.
(run): Use it.
From-SVN: r121424
2007-01-31 17:06:33 +00:00
Tom Tromey
d43b573e77
Makefile.in: Rebuilt.
...
* Makefile.in: Rebuilt.
* Makefile.am (libgcj-$(gcc_version).jar): Rewrote.
From-SVN: r121363
2007-01-30 22:53:40 +00:00
Andreas Tobler
78bdbc0647
natevents.cc (FieldModificationCB): Use a cast to print it right.
...
2007-01-30 Andreas Tobler <a.tobler@schweiz.org>
* testsuite/libjava.jvmti/natevents.cc (FieldModificationCB): Use a
cast to print it right.
From-SVN: r121362
2007-01-30 23:31:28 +01: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
Kyle Galloway
3927313117
java-interp.h: Added _Jv_Frame class and its two subclasses _Jv_InterpFrame and _Jv_NativeFrame.
...
2007-01-29 Kyle Galloway <kgallowa@redhat.com>
* include/java-interp.h: Added _Jv_Frame class and its two
subclasses _Jv_InterpFrame and _Jv_NativeFrame. Also moved
_Jv_FrameType from java-stack.h.
* include/java-stack.h: Removed _Jv_FrameType.
* java/lang/Thread.java: Added frame member to hold new
composite frame stack.
* java/lang/Thread.h: Regenerated.
* java/lang/Thread.class: Rebuilt.
* jni.cc (_Jv_JNIMethod::call): Push a frame onto the stack when
calling a JNI method.
* jvmti.cc (_Jv_JVMTI_GetStackTrace): New Method.
(_Jv_JVMTI_GetFrameCount): New method.
* stacktrace.cc (UnwindTraceFn): Modified to use new _Jv_Frame
classes.
* testsuite/libjava.jvmti/interp/getstacktrace.jar: New test.
* testsuite/libjava.jvmti/interp/natgetstacktrace.cc: New test.
* testsuite/libjava.jvmti/interp/getstacktrace.h: New test.
* testsuite/libjava.jvmti/interp/getstacktrace.jar: New test.
* testsuite/libjava.jvmti/interp/getstacktrace.out: Output file
for test.
From-SVN: r121314
2007-01-29 22:05:56 +00:00
Tom Tromey
d75bf84344
interpret.cc (run_debug): Remove comment.
...
* interpret.cc (run_debug): Remove comment.
(STOREA): Reformat.
(STOREI): Likewise.
(STOREF): Likewise.
(STOREL): Likewise.
(STORED): Likewise.
(POKEI): Likewise.
(run_normal_debug): Likewise.
(run_synch_object_debug): Likewise.
(run_class_debug): Likewise.
(run_synch_class_debug): Likewise.
(get1s): Likewise.
(get1u): Likewise.
(get2u): Likewise.
(get4): Likewise.
(NULLARRAYCHECK): Likewise.
(ARRAYBOUNDSCHECK): Likewise.
* interpret-run.cc (insn_target) <breakpoint>: Tidy.
From-SVN: r121313
2007-01-29 22:00:30 +00:00
Tom Tromey
acd724f62a
configure, [...]: Rebuilt.
...
* configure, Makefile.in: Rebuilt.
* Makefile.am (bin_SCRIPTS): Never install scripts/jar.
* configure.ac (BASH_JAR): Removed conditional.
(JAR): Prefer the jar found by AC_CHECK_PROGS.
From-SVN: r121301
2007-01-29 18:46:34 +00:00
Tom Tromey
acb966f2c3
Makefile.in: Rebuilt.
...
* Makefile.in: Rebuilt.
* Makefile.am (interpret.lo): New target. Add -fwrap to
AM_CXXFLAGS.
From-SVN: r121299
2007-01-29 18:31:45 +00:00
Tom Tromey
e0e4be2e07
Checking in updated class file
...
From-SVN: r121298
2007-01-29 18:31:27 +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
Andrew Haley
ff5157e579
SecurityManager.java: Load and initialize java.security.Security.
...
2007-01-26 Andrew Haley <aph@redhat.com>
* java/lang/SecurityManager.java: Load and initialize
java.security.Security.
From-SVN: r121287
2007-01-29 13:43:22 +00:00
Andrew Haley
b70b9fc3ee
SecurityManager.java: Load and initialize java.security.Security.
...
2007-01-26 Andrew Haley <aph@redhat.com>
* java/lang/SecurityManager.java: Load and initialize
java.security.Security.
From-SVN: r121286
2007-01-29 13:41:43 +00:00
Andrew Haley
6b05e79165
natClass.cc (initializeClass): Re-throw SecurityExceptions.
...
2007-01-26 Andrew Haley <aph@redhat.com>
* java/lang/natClass.cc (initializeClass): Re-throw
SecurityExceptions.
* java/lang/natVMClassLoader.cc (loadClass): checkPackageAccess.
* java/lang/ClassLoader.java: (loadClass): Likewise.
From-SVN: r121285
2007-01-29 13:14:38 +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
Andreas Tobler
4838bfc05b
re PR libgcj/30513 (Bootstrap failure with libgcj on sparc-sun-solaris2.10)
...
2007-01-27 Andreas Tobler <a.tobler@schweiz.org>
PR libgcj/30513
* configure.host: Add forgottten sysdep_dir to sparc. Add a flag to
libgcj_flags to undefine 'sun' at compile time.
* sysdep/sparc/locks.h (read_barrier): New functions for 32 and 64 bit
Sparc.
(write_barrier): Likewise.
From-SVN: r121239
2007-01-27 22:46:15 +01: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
Jakub Jelinek
d4da97d78e
Makefile.am (generic_header_files): Add $(inner_nat_headers).
...
* Makefile.am (generic_header_files): Add $(inner_nat_headers).
* testsuite/Makefile.am (check-dejaGNU): Depend on compile-tests.
(MYGCJH): New variable.
(compile-tests): New goal.
* Makefile.in: Rebuilt.
* testsuite/Makefile.in: Rebuilt.
From-SVN: r121217
2007-01-27 00:22:35 +01: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
Keith Seitz
161a649cb9
jvmti-int.h (_Jv_GetJDWP_JVMTIEnv): Declare.
...
* include/jvmti-int.h (_Jv_GetJDWP_JVMTIEnv): Declare.
* gnu/classpath/jdwp/natVMVirtualMachine.cc
(_Jv_GetJDWP_JVMTIEnv): New function.
* gnu/classpath/jdwp/natVMMethod.cc (getName): Implement.
(getSignature): Implement.
(getModifiers): Implement.
From-SVN: r121185
2007-01-25 21:05:18 +00:00
Andrew Haley
9fe944471a
configure, [...]: Rebuilt.
...
2007-01-25 Andrew Haley <aph@redhat.com>
* configure, Makefile.in, include/config.h.in: Rebuilt.
* Makefile.am (libgcj_la_LIBADD): Removed $(LIBMAGIC).
* configure.ac: Don't check for libmagic.
* java/net/natVMURLConnection.cc (p_magic_open, p_magic_load,
p_magic_close, p_magic_buffer): New globals.
(init): Look up 'magic' functions.
(guessContentTypeFromBuffer): Updated.
From-SVN: r121183
2007-01-25 19:51:33 +00:00
Keith Seitz
ff393407cf
jvmti.cc (_Jv_JVMTI_GetMethodName): New function.
...
* jvmti.cc (_Jv_JVMTI_GetMethodName): New function.
(_Jv_JVMTI_Interface): Define GetMethodName.
* testsuite/libjava.jvmti/getmethodname.java: New file.
* testsuite/libjava.jvmti/natgetmethodname.cc: New file.
* testsuite/libjava.jvmti/getmethodname.out: New file.
From-SVN: r121179
2007-01-25 18:04:01 +00:00
Kyle Galloway
fd1830eba2
libjava.exp (exec_gij): Change [ to { in if statement.
...
2007-01-25 Kyle Galloway <kgallowa@redhat.com>
* testsuite/libjava.jvmti/lib/libjava.exp (exec_gij): Change [ to { in
if statement.
From-SVN: r121174
2007-01-25 14:42:45 +00:00
Kyle Galloway
4ca40ac049
Kyle Galloway 2007-01-25 <kgallowa@redhat.com>
...
* ChangeLog: Add ChangeLog entry that didn't apply.
From-SVN: r121173
2007-01-25 14:25:26 +00:00
Kyle Galloway
05296a2810
jvmti-interp.exp: New file.
...
2007-01-25 Kyle Galloway <kgallowa@redhat.com>
* libjava/testsuite/libjava.jvmti/jvmti-interp.exp: New file.
* libjava/testsuite/libjava.jvmti/interp: New folder.
* libjava/testsuite/lib/libjava.exp (exec_gij): New Method.
From-SVN: r121172
2007-01-25 14:19:05 +00:00
Keith Seitz
9ea6c4a4b7
link.cc (_Jv_Linker::wait_for_state): Add JVMTI CLASS_PREPARE notification.
...
* link.cc (_Jv_Linker::wait_for_state): Add JVMTI
CLASS_PREPARE notification.
From-SVN: r121157
2007-01-25 01:21:27 +00:00
Keith Seitz
c422af91ad
interpret.cc: Include gnu/gcj/jvmti/Breakpoint.h...
...
* interpret.cc: Include gnu/gcj/jvmti/Breakpoint.h,
gnu/gcj/jvmti/BreakpointManager.h, jvmti.h, and jvmti-int.h
* interpret-run.cc: Implement insn_breakpoint.
From-SVN: r121155
2007-01-25 00:40:45 +00:00
Keith Seitz
078b307321
prims.cc (_Jv_RunMain): Send JVMTI event notifications for VM_INIT and VM_DEATH instead of the JDWP...
...
* prims.cc (_Jv_RunMain): Send JVMTI event notifications
for VM_INIT and VM_DEATH instead of the JDWP notifications.
From-SVN: r121143
2007-01-24 22:44:08 +00:00