OSDN Git Service

2007-01-18 Marco Trudel <mtrudel@gmx.ch>
[pf3gnuchains/gcc-fork.git] / libjava / ChangeLog
1 2007-01-18  Marco Trudel  <mtrudel@gmx.ch>
2
3         * jni.cc (_Jv_JNI_FindClass): Initialize class.
4         * testsuite/libjava.jni/findclass2.jar: New file.
5         * testsuite/libjava.jni/findclass2.h: New file.
6         * testsuite/libjava.jni/findclass2.java: New file
7         * testsuite/libjava.jni/findclass2.c: New file.
8         * testsuite/libjava.jni/findclass2.out: New file.
9
10 2007-01-18  Tom Tromey  <tromey@redhat.com>
11
12         * configure: Rebuilt.
13         * configure.ac: Use multi_basedir instead of libgcj_basedir.
14
15 2007-01-18  Gary Benson  <gbenson@redhat.com>
16
17         * gnu/java/nio/natVMPipeEcos.cc:
18         Renamed from gnu/java/nio/natPipeImplEcos.cc.
19         * gnu/java/nio/natVMPipePosix.cc:
20         Renamed from gnu/java/nio/natPipeImplPosix.cc.
21         * gnu/java/nio/natVMPipeWin32.cc:
22         Renamed from gnu/java/nio/natPipeImplWin32.cc.
23         * gnu/java/nio/natVMSelectorEcos.cc:
24         Renamed from gnu/java/nio/natSelectorImplEcos.cc.
25         * gnu/java/nio/natVMSelectorPosix.cc:
26         Renamed from gnu/java/nio/natSelectorImplPosix.cc.
27         * gnu/java/nio/natVMSelectorWin32.cc:
28         Renamed from gnu/java/nio/natSelectorImplWin32.cc.
29         * java/io/natVMObjectInputStream.cc:
30         Renamed from java/io/natObjectInputStream.cc.
31         * java/lang/natVMDouble.cc:
32         Renamed from java/lang/natDouble.cc.
33         * java/lang/natVMFloat.cc:
34         Renamed from java/lang/natFloat.cc.     
35         * Makefile.am, configure.ac: Reflect the above.
36         * Makefile.in, configure: Rebuilt.
37
38 2007-01-17  Andrew Haley  <aph@redhat.com>
39
40         * Makefile.in: Rebuilt.
41         * Makefile.am (ecjx_LDFLAGS): Pass -fbootclasspath.
42
43 2007-01-17  Keith Seitz  <keiths@redhat.com>
44
45         * java/lang/natThread.cc (finish_): Add JVMTI ThreadEnd notification.
46         (_Jv_NotifyThreadStart): Add JVMTI ThreadStart notification.
47
48 2007-01-16  Jack Howarth  <howarth@bromo.med.uc.edu>
49
50         * configure.ac: Use multi.m4 from aclocal rather than custom
51         code.  Use multi_basedir instead libgcj_basedir.  Test for
52         /proc/self/exe when not cross-compiling.
53         * aclocal.m4: Regenerate.
54         * configure: Regenerate.
55         * Makefile.in: Regenerate.
56
57 2007-01-17  Gary Benson  <gbenson@redhat.com>
58
59         * java/nio/natVMDirectByteBufferImpl.cc:
60         Renamed from java/nio/natDirectByteBufferImpl.cc.
61         * Makefile.am: Reflect the above.
62         * Makefile.in: Rebuilt.
63         
64 2007-01-17  Marco Trudel  <mtrudel@gmx.ch>
65
66         * jvmti.cc (_Jv_JVMTI_GetAllThreads): Now static.  Use JNICALL.
67         Fixed indentation.  Removed unused variable.
68
69 2007-01-16  Tom Tromey  <tromey@redhat.com>
70
71         * java/lang/natThread.cc (finalize_native): Remove cast.
72         (_Jv_GetCurrentJNIEnv): Likewise.
73         * include/jvm.h (struct natThread) <jni_env>: Declare as
74         _Jv_JNIEnv*.
75
76 2007-01-16  Keith Seitz  <keiths@redhat.com>
77
78         * testsuite/libjava.jvmti/natevents.cc (FieldModificationCB): Use
79         %#llx instead of %d for new_value.
80         * testsuite/libjava.jvmti/events.out: Update expected output.
81         * testsuite/libjava.jvmti/events.jar: Regenerate.
82
83 2007-01-16  Keith Seitz  <keiths@redhat.com>
84
85         * gnu/classpath/jdwp/natVMVirtualMachine.cc (DEFINE_CALLBACK):
86         New macro.
87         (ENABLE_EVENT): New macro.
88         (initialize): Define and enable JVMTI VM_INIT callback.
89         (jdwpVMInitCB): New function.
90
91 2007-01-16  Kyle Galloway  <kgallowa@redhat.com>
92
93         * jvmti.cc (_Jv_JVMTI_GetAllThreads): New function.
94         * testsuite/libjava.jvmti/getallthreads.java: New test.
95         * testsuite/libjava.jvmti/natgetallthreads.cc: Ditto.
96         * testsuite/libjava.jvmti/getallthreads.out: Ditto.
97         * testsuite/libjava.jvmti/getallthreads.h: Ditto.
98         * testsuite/libjava.jvmti/getallthreads.jar: Ditto. 
99
100 2007-01-15  Keith Seitz  <keiths@redhat.com>
101
102         * gnu/classpath/jdwp/natVMVirtualMachine.cc (suspendThread): Use
103         java.lang.StringBuilder instead of java.lang.StringBuffer.
104         (resumeThread): Likewise.
105
106 2007-01-15  Gary Benson  <gbenson@redhat.com>
107
108         * java/nio/MappedByteBuffer.java: Removed.
109         * sources.am, Makefile.in: Rebuilt.
110
111 2007-01-15  Gary Benson  <gbenson@redhat.com>
112
113         * java/net/URLClassLoader.java: Removed.
114         * gnu/java/net/loader/Load_gcjlib.java: New file.
115         * gnu/gcj/runtime/BootClassLoader.java: Ensure core
116         URL handler is present in static executables.
117         * sources.am, Makefile.in: Rebuilt.
118
119 2007-01-14  H.J. Lu  <hongjiu.lu@intel.com>
120
121         * Makefile.am (libgcj_la_LDFLAGS): Add
122         $(LIBGCJ_LD_SYMBOLIC_FUNCTIONS).
123         (libgcj_tools_la_LDFLAGS): Likewise.
124         (libgcj_bc_la_LDFLAGS): Likewise.
125         * Makefile.in: Regenerated.
126
127         * configure.ac: Use ACX_PROG_LD_GNU_SYMBOLIC.  Set
128         LIBGCJ_LD_SYMBOLIC_FUNCTIONS to $SYMBOLIC_LDFLAGS.  Set
129         libgcj_ld_symbolic to $SYMBOLIC_LDFLAGS if it isn't set.
130         Substitute LIBGCJ_LD_SYMBOLIC_FUNCTIONS.
131         * configure: Regenerated.
132         * aclocal.m4: Likewise.
133         * gcj/Makefile.in: Likewise.
134         * include/Makefile.in: Likewise.
135         * testsuite/Makefile.in: Likewise.
136
137 2007-01-12  Kaz Kojima  <kkojima@gcc.gnu.org>
138
139         * sysdep/sh/locks.h (read_barrier): New.
140         (write_barrier): Likewise.
141
142 2007-01-12  Andrew Haley  <aph@redhat.com>
143
144         * include/i386-signal.h: Rewrite to use rt_sigaction.
145
146 2007-01-11  Andrew Haley  <aph@redhat.com>
147
148         * prims.cc (jdwpOptions) Fix deprecated cast from char[] constant
149         to char*.
150         * include/x86_64-signal.h (HANDLE_DIVIDE_OVERFLOW): Rewrite to fix
151         aliasing violation.
152
153 2007-01-10  Tom Tromey  <tromey@redhat.com>
154
155         * gnu/gcj/xlib/*.h: New files.
156         * gnu/awt/xlib/*.h: Likewise.
157         * classpath/lib/gnu/gcj/xlib: New class files.
158         * classpath/lib/gnu/awt/xlib: Likewise.
159
160 2007-01-10  Tom Tromey  <tromey@redhat.com>
161
162         * HACKING: Various updates.
163
164 2007-01-10  Tom Tromey  <tromey@redhat.com>
165
166         * java/lang/natDouble.cc (toString): Added parens.
167         * gnu/gcj/io/shs.h (PROTO): Define.
168         * link.cc (resolve_pool_entry): Added missing braces.
169
170 2007-01-10  H.J. Lu  <hongjiu.lu@intel.com>
171
172         PR libgcj/30424
173         * sysdep/ia64/locks.h (read_barrier): New.
174         (write_barrier): New.
175
176 2007-01-10  Gary Benson  <gbenson@redhat.com>
177
178         * java/net/URL.java: Removed.
179         * sources.am, Makefile.in: Rebuilt.
180
181 2007-01-10  Matthias Klose  <doko@debian.org>
182
183         * Makefile.am (install-exec-hook): Support $(DESTDIR).
184         * Makefile.in: Regenerated.
185
186 2007-01-05  Tom Tromey  <tromey@redhat.com>
187
188         * testsuite/libjava.loader/loader.exp (gcj_loader_run): Find
189         dummy.class in srcdir.
190
191 2007-01-03  Tom Tromey  <tromey@redhat.com>
192
193         * testsuite/libjava.cni/cni.exp (gcj_cni_compile_cxx_to_o): Add -I
194         for srcdir.
195
196 2007-01-03  Tom Tromey  <tromey@redhat.com>
197
198         * testsuite/*: Added many .jar and .h files.
199         * testsuite/libjava.special/special.exp
200         (gcj_special_try_compiler): New proc.
201         * testsuite/libjava.loader/loader.exp (gcj_loader_run): Don't
202         bytecompile source.  Search for .jar files.
203         (gcj_loader_test_one): Don't look for MyLoader.java.
204         * testsuite/libjava.jvmti/jvmti.exp (gcj_jvmti_test_one): Don't
205         bytecompile sources or build headers.
206         (gcj_jvmti_run): Look for .jar files.
207         * testsuite/libjava.jni/jni.exp (gcj_jni_run): Compile .jar
208         files.
209         (gcj_jni_test_one): Don't bytecompile sources or build headers.
210         Set classpath when invoking gij.
211         (gcj_jni_invocation_test_one): Likewise.
212         * testsuite/libjava.cni/cni.exp (gcj_cni_test_one): Don't build
213         headers or bytecompile sources.
214         (gcj_cni_run): Use .jar files, not .java files.
215         * testsuite/libjava.lang/lang.exp: Compile .jar files.
216
217 2007-01-02  Tom Tromey  <tromey@redhat.com>
218
219         * configure: Rebuilt.
220         * configure.ac: Check for gjar.
221
222 2007-01-02  Tom Tromey  <tromey@redhat.com>
223
224         * testsuite/libjava.jacks/jacks.exp: Removed.
225         * testsuite/libjava.jacks/jacks.xfail: Removed.
226