libfuncs.h (LTI_synchronize): New libfunc_index.
[official-gcc.git] / libjava / ChangeLog
blob9f09b864898595f2f62beaedfaef0b92cc33a035
1 2008-06-17  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
3         * configure: Regenerate.
4         * gcj/Makefile.in: Regenerate.
5         * include/Makefile.in: Regenerate.
6         * testsuite/Makefile.in: Regenerate.
8 2008-06-07  Joseph Myers  <joseph@codesourcery.com>
10         * configure.host (strongarm*-elf, xscale*-elf): Remove.
12 2008-06-02  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
14         * Makefile.am (mostlyclean-local): Use libtool --mode=clean.
15         * Makefile.in: Regenerate.
17 2008-05-28  Andrew Haley  <aph@redhat.com>
19         * java/lang/Class.java (getSimpleName): Use getEnclosingClass().        
20         * testsuite/libjava.lang/PR35020.java: New cases.
21         * testsuite/libjava.lang/PR35020.out: New cases.
23 2008-05-22  Andrew Haley  <aph@redhat.com>
25         PR libgcj/35020
26         * java/lang/Class.java (getSimpleName): Replace incorrect use of
27         String.lastIndexOf(String, int) with String.substring.
28         * testsuite/libjava.lang/PR35020.java: New file.
29         * testsuite/libjava.lang/PR35020.out: New file.
31 2008-05-22  Andrew Haley  <aph@redhat.com>
33         PR libgcj/35020
34         * java/lang/Class.java (getSimpleName): Import from GNU Classpath.
36 2008-05-20  David Daney  <ddaney@avtrex.com>
38         PR libgcj/36252
39         * java/lang/natString.ccn: Add
40         #include <java/io/CharConversionException.h>.
41         (init (byte[], int, int, String)): Catch and ignore
42         CharConversionException.  Break out of conversion loop
43         on incomplete input.
44         * testsuite/libjava.lang/PR36252.java: New test.
45         * testsuite/libjava.lang/PR36252.out: New file, its expected output.
46         * testsuite/libjava.lang/PR36252.jar: New file, its pre-compiled
47         jar file.
49 2008-04-19  Tom Tromey  <tromey@redhat.com>
51         PR libgcj/35979:
52         * jni.cc (_Jv_JNI_NewStringUTF): Return NULL if bytes==NULL.
54 2008-04-18  Paolo Bonzini  <bonzini@gnu.org>
56         PR bootstrap/35457
57         * aclocal.m4: Regenerate.
58         * configure: Regenerate.
60 2008-04-16  Andrew Haley  <aph@littlepinkcloud.com>
62         * libgcj_bc.c: (_Jv_LookupInterfaceMethod, _Jv_MonitorExit,
63         _Jv_RegisterResource, _Jv_JNI_PopSystemFrame): Add.
65 2008-04-16  Andrew Haley  <aph@redhat.com>
67         * libgcj_bc.c: Sort lines.
69 2008-04-02  Peter O'Gorman  <pogma@thewrittenword.com>
71         PR bootstrap/35216
72         * scripts/makemake.tcl: Replace org/omg build with build of all
73         its subpackages.
74         * sources.am: Regenerate.
75         * Makefile.in: Regenerate.
77 2008-03-16  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
79         * Makefile.am (install-data-local): Rewrite to be more efficient,
80         using awk, and `install' with multiple files at once.  Do not gather
81         more than 50 files in one go to avoid hitting command line limits.
82         (install_data_local_split): New variable.
83         * aclocal.m4: Regenerate.
84         * configure: Likewise.
85         * Makefile.in: Likewise.
86         * gcj/Makefile.in: Likewise.
87         * include/Makefile.in: Likewise.
88         * testsuite/Makefile.in: Likewise.
90         * Makefile.am (write_entries_to_file_split): New variable.
91         (write_entries_to_file): Write out that many entries at once,
92         for speed.
93         * Makefile.in: Regenerate.
95 2008-03-13  Tom Tromey  <tromey@redhat.com>
97         * java/lang/natClassLoader.cc (_Jv_RegisterInitiatingLoader):
98         Check loading constraints.
99         (_Jv_CheckOrCreateLoadingConstraint): New function.
100         * java/lang/ClassLoader.java (loadingConstraints): New field.
101         * link.cc (_Jv_Linker::find_field): Use
102         _Jv_CheckOrCreateLoadingConstraint.
103         (_Jv_Linker::check_loading_constraints): New function.
104         (_Jv_Linker::resolve_method_entry): Use
105         check_loading_constraints.
106         (_Jv_Linker::append_partial_itable): Likewise.
107         (_Jv_Linker::layout_vtable_methods): Likewise.
108         * include/jvm.h (_Jv_Linker::check_loading_constraints): Declare.
109         (_Jv_CheckOrCreateLoadingConstraint): Declare.
111 2008-03-10  Jim Meyering  <meyering@redhat.com>
113         Don't leak upon failed realloc.
114         * gnu/classpath/natSystemProperties.cc
115         (SystemProperties::insertSystemProperties):
117 2008-03-06  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
119         * HACKING: Fix grep patterns.
121 2008-03-04  David Daney  <ddaney@avtrex.com>
123         * scripts/makemake.tcl (properties_map): Don't exclude
124         gnu/java/locale.
125         * gnu/java/lang/MainThread.java (Klocale, Kcalendar): Remove.
126         * java/text/Collator.java: Organize imports.
127         (getAvailableLocales): Merge from classpath.
128         (getInstance): Same.
129         * sources.am: Regenerate.
130         * Makefile.in: Regenerate.
131         * classpath/lib/java/text/DecimalFormatSymbols.class,
132         classpath/lib/java/text/DateFormatSymbols.class,
133         classpath/lib/java/util/Currency.class,
134         classpath/lib/java/util/Calendar.class,
135         classpath/lib/gnu/java/lang/MainThread.class,
136         classpath/lib/java/text/Collator.class,
137         gnu/java/lang/MainThread.h,
138         java/text/DateFormatSymbols.h,
139         java/text/DecimalFormatSymbols.h,
140         java/util/Calendar.h,
141         java/util/Currency.h: Regenerate.
142         * classpath/lib/gnu/java/locale/LocaleInformation_en_PH.class,
143         classpath/lib/gnu/java/locale/LocaleInformation_es_AR.class,
144         classpath/lib/gnu/java/locale/LocaleInformation_en_BW.class,
145         classpath/lib/gnu/java/locale/LocaleInformation_de_BE.class,
146         classpath/lib/gnu/java/locale/LocaleInformation_te_IN.class,
147         classpath/lib/gnu/java/locale/LocaleInformation_en.class,
148         classpath/lib/gnu/java/locale/LocaleInformation_iw_IL.class,
149         classpath/lib/gnu/java/locale/LocaleInformation_fr_LU.class,
150         classpath/lib/gnu/java/locale/LocaleInformation_ar_AE.class,
151         classpath/lib/gnu/java/locale/LocaleInformation_sk_SK.class,
152         classpath/lib/gnu/java/locale/LocaleInformation_fr_CA.class,
153         classpath/lib/gnu/java/locale/LocaleInformation_es_MX.class,
154         classpath/lib/gnu/java/locale/LocaleInformation_ar_EG.class,
155         classpath/lib/gnu/java/locale/LocaleInformation_lt_LT.class,
156         classpath/lib/gnu/java/locale/LocaleInformation_en_ZW.class,
157         classpath/lib/gnu/java/locale/LocaleInformation_ar_QA.class,
158         classpath/lib/gnu/java/locale/LocaleInformation_gv_GB.class,
159         classpath/lib/gnu/java/locale/LocaleInformation_yi_US.class,
160         classpath/lib/gnu/java/locale/LocaleInformation_ar_SD.class,
161         classpath/lib/gnu/java/locale/LocaleInformation_ar_IQ.class,
162         classpath/lib/gnu/java/locale/Calendar_de.class,
163         classpath/lib/gnu/java/locale/LocaleInformation_es_HN.class,
164         classpath/lib/gnu/java/locale/LocaleInformation_ar_YE.class,
165         classpath/lib/gnu/java/locale/LocaleInformation_de_CH.class,
166         classpath/lib/gnu/java/locale/LocaleInformation_es_PR.class,
167         classpath/lib/gnu/java/locale/LocaleInformation_ar_BH.class,
168         classpath/lib/gnu/java/locale/LocaleInformation_mi_NZ.class,
169         classpath/lib/gnu/java/locale/Calendar_nl.class,
170         classpath/lib/gnu/java/locale/LocaleInformation_fr_BE.class,
171         classpath/lib/gnu/java/locale/LocaleInformation_es_EC.class,
172         classpath/lib/gnu/java/locale/LocaleInformation_mt_MT.class,
173         classpath/lib/gnu/java/locale/LocaleInformation_en_HK.class,
174         classpath/lib/gnu/java/locale/LocaleInformation_es_CL.class,
175         classpath/lib/gnu/java/locale/LocaleInformation_kw_GB.class,
176         classpath/lib/gnu/java/locale/LocaleInformation_mk_MK.class,
177         classpath/lib/gnu/java/locale/LocaleInformation_es_ES.class,
178         classpath/lib/gnu/java/locale/LocaleInformation_cs_CZ.class,
179         classpath/lib/gnu/java/locale/LocaleInformation_nl_NL.class,
180         classpath/lib/gnu/java/locale/LocaleInformation_en_CA.class,
181         classpath/lib/gnu/java/locale/LocaleInformation_bs_BA.class,
182         classpath/lib/gnu/java/locale/LocaleInformation_ru_UA.class,
183         classpath/lib/gnu/java/locale/LocaleInformation_es_US.class,
184         classpath/lib/gnu/java/locale/LocaleInformation_fr_CH.class,
185         classpath/lib/gnu/java/locale/LocaleInformation_ja_JP.class,
186         classpath/lib/gnu/java/locale/LocaleInformation_it_CH.class,
187         classpath/lib/gnu/java/locale/LocaleInformation_es_PA.class,
188         classpath/lib/gnu/java/locale/LocaleInformation_kl_GL.class,
189         classpath/lib/gnu/java/locale/LocaleInformation_de.class,
190         classpath/lib/gnu/java/locale/LocaleInformation_el_GR.class,
191         classpath/lib/gnu/java/locale/LocaleInformation_en_IN.class,
192         classpath/lib/gnu/java/locale/LocaleInformation_es_DO.class,
193         classpath/lib/gnu/java/locale/LocaleInformation_tr_TR.class,
194         classpath/lib/gnu/java/locale/LocaleInformation_es_PE.class,
195         classpath/lib/gnu/java/locale/LocaleInformation_zh_TW.class,
196         classpath/lib/gnu/java/locale/LocaleInformation_ar_OM.class,
197         classpath/lib/gnu/java/locale/LocaleInformation_ar_KW.class,
198         classpath/lib/gnu/java/locale/LocaleInformation_ga_IE.class,
199         classpath/lib/gnu/java/locale/LocaleInformation_hu_HU.class,
200         classpath/lib/gnu/java/locale/LocaleInformation_nl.class,
201         classpath/lib/gnu/java/locale/LocaleInformation_ca_ES.class,
202         classpath/lib/gnu/java/locale/LocaleInformation_zh_SG.class,
203         classpath/lib/gnu/java/locale/LocaleInformation_de_AT.class,
204         classpath/lib/gnu/java/locale/LocaleInformation_ar_LB.class,
205         classpath/lib/gnu/java/locale/LocaleInformation_es_PY.class,
206         classpath/lib/gnu/java/locale/LocaleInformation_nl_BE.class,
207         classpath/lib/gnu/java/locale/LocaleInformation_af_ZA.class,
208         classpath/lib/gnu/java/locale/LocaleInformation_he_IL.class,
209         classpath/lib/gnu/java/locale/LocaleInformation_ro_RO.class,
210         classpath/lib/gnu/java/locale/LocaleInformation_vi_VN.class,
211         classpath/lib/gnu/java/locale/LocaleInformation_cy_GB.class,
212         classpath/lib/gnu/java/locale/LocaleInformation_hi_IN.class,
213         classpath/lib/gnu/java/locale/LocaleInformation_es_CO.class,
214         classpath/lib/gnu/java/locale/LocaleInformation_ar_JO.class,
215         classpath/lib/gnu/java/locale/LocaleInformation_br_FR.class,
216         classpath/lib/gnu/java/locale/LocaleInformation_ta_IN.class,
217         classpath/lib/gnu/java/locale/LocaleInformation_en_ZA.class,
218         classpath/lib/gnu/java/locale/LocaleInformation_fr_FR.class,
219         classpath/lib/gnu/java/locale/LocaleInformation_ar_DZ.class,
220         classpath/lib/gnu/java/locale/LocaleInformation_eu_ES.class,
221         classpath/lib/gnu/java/locale/LocaleInformation_ar_TN.class,
222         classpath/lib/gnu/java/locale/LocaleInformation_tl_PH.class,
223         classpath/lib/gnu/java/locale/LocaleInformation_pl_PL.class,
224         classpath/lib/gnu/java/locale/LocaleInformation_sv_FI.class,
225         classpath/lib/gnu/java/locale/LocaleInformation_id_ID.class,
226         classpath/lib/gnu/java/locale/LocaleInformation_en_GB.class,
227         classpath/lib/gnu/java/locale/LocaleInformation_uz_UZ.class,
228         classpath/lib/gnu/java/locale/LocaleInformation_fi_FI.class,
229         classpath/lib/gnu/java/locale/LocaleInformation_en_IE.class,
230         classpath/lib/gnu/java/locale/LocaleInformation_ar_MA.class,
231         classpath/lib/gnu/java/locale/LocaleInformation_be_BY.class,
232         classpath/lib/gnu/java/locale/LocaleInformation_bn_IN.class,
233         classpath/lib/gnu/java/locale/LocaleInformation_pt_PT.class,
234         classpath/lib/gnu/java/locale/LocaleInformation_es_BO.class,
235         classpath/lib/gnu/java/locale/LocaleInformation_en_AU.class,
236         classpath/lib/gnu/java/locale/LocaleInformation_es_NI.class,
237         classpath/lib/gnu/java/locale/LocaleInformation_zh_CN.class,
238         classpath/lib/gnu/java/locale/LocaleInformation_es_VE.class,
239         classpath/lib/gnu/java/locale/LocaleInformation_ka_GE.class,
240         classpath/lib/gnu/java/locale/LocaleInformation_it_IT.class,
241         classpath/lib/gnu/java/locale/LocaleInformation_en_US.class,
242         classpath/lib/gnu/java/locale/LocaleInformation_sl_SI.class,
243         classpath/lib/gnu/java/locale/LocaleInformation_en_DK.class,
244         classpath/lib/gnu/java/locale/LocaleInformation.class,
245         classpath/lib/gnu/java/locale/LocaleInformation_es_CR.class,
246         classpath/lib/gnu/java/locale/LocaleInformation_ru_RU.class,
247         classpath/lib/gnu/java/locale/LocaleInformation_sq_AL.class,
248         classpath/lib/gnu/java/locale/LocaleInformation_de_DE.class,
249         classpath/lib/gnu/java/locale/LocaleInformation_es_GT.class,
250         classpath/lib/gnu/java/locale/LocaleInformation_sr_YU.class,
251         classpath/lib/gnu/java/locale/LocaleInformation_da_DK.class,
252         classpath/lib/gnu/java/locale/LocaleInformation_gd_GB.class,
253         classpath/lib/gnu/java/locale/LocaleInformation_hr_HR.class,
254         classpath/lib/gnu/java/locale/LocaleInformation_zh_HK.class,
255         classpath/lib/gnu/java/locale/LocaleInformation_uk_UA.class,
256         classpath/lib/gnu/java/locale/LocaleInformation_ko_KR.class,
257         classpath/lib/gnu/java/locale/Calendar_en.class,
258         classpath/lib/gnu/java/locale/LocaleInformation_ar_LY.class,
259         classpath/lib/gnu/java/locale/LocaleInformation_pt_BR.class,
260         classpath/lib/gnu/java/locale/LocaleInformation_nn_NO.class,
261         classpath/lib/gnu/java/locale/LocaleInformation_en_NZ.class,
262         classpath/lib/gnu/java/locale/LocaleInformation_es_SV.class,
263         classpath/lib/gnu/java/locale/LocaleInformation_ur_PK.class,
264         classpath/lib/gnu/java/locale/LocaleInformation_et_EE.class,
265         classpath/lib/gnu/java/locale/LocaleInformation_lv_LV.class,
266         classpath/lib/gnu/java/locale/LocaleInformation_es_UY.class,
267         classpath/lib/gnu/java/locale/LocaleInformation_oc_FR.class,
268         classpath/lib/gnu/java/locale/LocaleInformation_fo_FO.class,
269         classpath/lib/gnu/java/locale/LocaleInformation_ar_IN.class,
270         classpath/lib/gnu/java/locale/LocaleInformation_de_LU.class,
271         classpath/lib/gnu/java/locale/LocaleInformation_gl_ES.class,
272         classpath/lib/gnu/java/locale/LocaleInformation_en_SG.class,
273         classpath/lib/gnu/java/locale/LocaleInformation_se_NO.class,
274         classpath/lib/gnu/java/locale/LocaleInformation_mr_IN.class,
275         classpath/lib/gnu/java/locale/LocaleInformation_tg_TJ.class,
276         classpath/lib/gnu/java/locale/LocaleInformation_no_NO.class,
277         classpath/lib/gnu/java/locale/LocaleInformation_ar_SY.class,
278         classpath/lib/gnu/java/locale/LocaleInformation_sv_SE.class,
279         classpath/lib/gnu/java/locale/LocaleInformation_fa_IR.class,
280         classpath/lib/gnu/java/locale/Calendar.class,
281         gnu/java/locale/LocaleInformation_fr_CA.java,
282         gnu/java/locale/LocaleInformation_sk_SK.java,
283         gnu/java/locale/LocaleInformation_ar_BH.java,
284         gnu/java/locale/LocaleInformation_ko_KR.h,
285         gnu/java/locale/LocaleInformation_bs_BA.h,
286         gnu/java/locale/LocaleInformation_nn_NO.h,
287         gnu/java/locale/LocaleInformation_en_NZ.h,
288         gnu/java/locale/LocaleInformation_en_ZW.java,
289         gnu/java/locale/LocaleInformation_es_US.h,
290         gnu/java/locale/LocaleInformation_es_SV.h,
291         gnu/java/locale/LocaleInformation_de_LU.java,
292         gnu/java/locale/LocaleInformation_fo_FO.java,
293         gnu/java/locale/LocaleInformation_oc_FR.java,
294         gnu/java/locale/LocaleInformation_it_CH.h,
295         gnu/java/locale/LocaleInformation_de.h,
296         gnu/java/locale/LocaleInformation_el_GR.h,
297         gnu/java/locale/LocaleInformation_tr_TR.h,
298         gnu/java/locale/LocaleInformation_ka_GE.java,
299         gnu/java/locale/LocaleInformation_nn_NO.java,
300         gnu/java/locale/LocaleInformation_se_NO.h,
301         gnu/java/locale/LocaleInformation_ga_IE.h,
302         gnu/java/locale/LocaleInformation_ru_UA.java,
303         gnu/java/locale/LocaleInformation_fa_IR.java,
304         gnu/java/locale/LocaleInformation_ja_JP.java,
305         gnu/java/locale/LocaleInformation_sv_SE.h,
306         gnu/java/locale/LocaleInformation_bn_IN.java,
307         gnu/java/locale/LocaleInformation_af_ZA.h,
308         gnu/java/locale/LocaleInformation_es_PE.java,
309         gnu/java/locale/LocaleInformation_hi_IN.h,
310         gnu/java/locale/LocaleInformation_en_ZA.java,
311         gnu/java/locale/LocaleInformation_es_CO.h,
312         gnu/java/locale/LocaleInformation_es_AR.h,
313         gnu/java/locale/LocaleInformation_en_PH.h,
314         gnu/java/locale/LocaleInformation_ta_IN.h,
315         gnu/java/locale/LocaleInformation_en_ZA.h,
316         gnu/java/locale/LocaleInformation_nl_NL.java,
317         gnu/java/locale/LocaleInformation_ar_KW.java,
318         gnu/java/locale/LocaleInformation_fr_FR.h,
319         gnu/java/locale/LocaleInformation_ar_LY.java,
320         gnu/java/locale/LocaleInformation_uz_UZ.java,
321         gnu/java/locale/LocaleInformation_tl_PH.h,
322         gnu/java/locale/LocaleInformation_fi_FI.java,
323         gnu/java/locale/LocaleInformation_pl_PL.h,
324         gnu/java/locale/LocaleInformation_sv_FI.h,
325         gnu/java/locale/LocaleInformation_es_MX.h,
326         gnu/java/locale/LocaleInformation_uz_UZ.h,
327         gnu/java/locale/LocaleInformation_fi_FI.h,
328         gnu/java/locale/LocaleInformation_ar_SD.java,
329         gnu/java/locale/LocaleInformation_ar_QA.h,
330         gnu/java/locale/LocaleInformation_kw_GB.java,
331         gnu/java/locale/LocaleInformation_ar_YE.h,
332         gnu/java/locale/LocaleInformation_es_PR.java,
333         gnu/java/locale/LocaleInformation_zh_SG.java,
334         gnu/java/locale/LocaleInformation_ca_ES.java,
335         gnu/java/locale/LocaleInformation_ka_GE.h,
336         gnu/java/locale/LocaleInformation_ar_BH.h,
337         gnu/java/locale/LocaleInformation_fr_CH.java,
338         gnu/java/locale/Calendar_nl.h,
339         gnu/java/locale/LocaleInformation_en_DK.h,
340         gnu/java/locale/LocaleInformation.h,
341         gnu/java/locale/LocaleInformation_ar_JO.java,
342         gnu/java/locale/LocaleInformation_br_FR.java,
343         gnu/java/locale/LocaleInformation_ru_RU.java,
344         gnu/java/locale/LocaleInformation_de_BE.java,
345         gnu/java/locale/LocaleInformation_ru_RU.h,
346         gnu/java/locale/LocaleInformation_de_DE.h,
347         gnu/java/locale/LocaleInformation_hr_HR.h,
348         gnu/java/locale/LocaleInformation_gd_GB.h,
349         gnu/java/locale/LocaleInformation_nl.java,
350         gnu/java/locale/LocaleInformation_en_GB.java,
351         gnu/java/locale/LocaleInformation_uk_UA.h,
352         gnu/java/locale/LocaleInformation_ar_LY.h,
353         gnu/java/locale/LocaleInformation_ru_UA.h,
354         gnu/java/locale/LocaleInformation_es_UY.java,
355         gnu/java/locale/LocaleInformation_fr_CH.h,
356         gnu/java/locale/LocaleInformation_lv_LV.h,
357         gnu/java/locale/LocaleInformation_de.java,
358         gnu/java/locale/LocaleInformation_el_GR.java,
359         gnu/java/locale/LocaleInformation_es_CR.java,
360         gnu/java/locale/LocaleInformation_ar_IN.h,
361         gnu/java/locale/LocaleInformation_es_DO.h,
362         gnu/java/locale/LocaleInformation_es_PE.h,
363         gnu/java/locale/LocaleInformation_ar_OM.h,
364         gnu/java/locale/LocaleInformation_zh_HK.java,
365         gnu/java/locale/LocaleInformation_mr_IN.java,
366         gnu/java/locale/LocaleInformation_no_NO.h,
367         gnu/java/locale/LocaleInformation_es_EC.java,
368         gnu/java/locale/LocaleInformation_ro_RO.java,
369         gnu/java/locale/LocaleInformation_he_IL.java,
370         gnu/java/locale/Calendar.java,
371         gnu/java/locale/LocaleInformation_ar_LB.h,
372         gnu/java/locale/LocaleInformation_fa_IR.h,
373         gnu/java/locale/LocaleInformation_es_CO.java,
374         gnu/java/locale/LocaleInformation_cy_GB.h,
375         gnu/java/locale/LocaleInformation_en_SG.java,
376         gnu/java/locale/LocaleInformation_mk_MK.java,
377         gnu/java/locale/LocaleInformation_es_ES.java,
378         gnu/java/locale/LocaleInformation_eu_ES.java,
379         gnu/java/locale/LocaleInformation_en_BW.h,
380         gnu/java/locale/LocaleInformation_es_VE.java,
381         gnu/java/locale/LocaleInformation_zh_CN.java,
382         gnu/java/locale/LocaleInformation_hr_HR.java,
383         gnu/java/locale/LocaleInformation_gd_GB.java,
384         gnu/java/locale/LocaleInformation_se_NO.java,
385         gnu/java/locale/LocaleInformation_te_IN.h,
386         gnu/java/locale/LocaleInformation_en.h,
387         gnu/java/locale/LocaleInformation_ar_TN.h,
388         gnu/java/locale/Calendar_nl.java,
389         gnu/java/locale/LocaleInformation_es_US.java,
390         gnu/java/locale/LocaleInformation_nl_BE.java,
391         gnu/java/locale/LocaleInformation_es_PY.java,
392         gnu/java/locale/LocaleInformation_sk_SK.h,
393         gnu/java/locale/LocaleInformation_fr_CA.h,
394         gnu/java/locale/LocaleInformation_be_BY.java,
395         gnu/java/locale/LocaleInformation_lv_LV.java,
396         gnu/java/locale/LocaleInformation_lt_LT.h,
397         gnu/java/locale/LocaleInformation_gv_GB.java,
398         gnu/java/locale/LocaleInformation_ar_MA.h,
399         gnu/java/locale/LocaleInformation_en_IE.h,
400         gnu/java/locale/LocaleInformation_es_CL.java,
401         gnu/java/locale/LocaleInformation_bn_IN.h,
402         gnu/java/locale/Calendar_de.java,
403         gnu/java/locale/LocaleInformation_yi_US.h,
404         gnu/java/locale/LocaleInformation_ar_DZ.java,
405         gnu/java/locale/LocaleInformation_es_GT.java,
406         gnu/java/locale/Calendar_de.h,
407         gnu/java/locale/LocaleInformation_es_NI.h,
408         gnu/java/locale/LocaleInformation_en_CA.java,
409         gnu/java/locale/LocaleInformation_zh_CN.h,
410         gnu/java/locale/LocaleInformation_es_VE.h,
411         gnu/java/locale/LocaleInformation_de_CH.h,
412         gnu/java/locale/LocaleInformation_en_NZ.java,
413         gnu/java/locale/LocaleInformation_mi_NZ.java,
414         gnu/java/locale/LocaleInformation_en_US.h,
415         gnu/java/locale/LocaleInformation_sl_SI.h,
416         gnu/java/locale/LocaleInformation_et_EE.java,
417         gnu/java/locale/LocaleInformation_mi_NZ.h,
418         gnu/java/locale/LocaleInformation_ar_QA.java,
419         gnu/java/locale/LocaleInformation_en_HK.java,
420         gnu/java/locale/LocaleInformation_ar_IQ.java,
421         gnu/java/locale/LocaleInformation_ar_OM.java,
422         gnu/java/locale/LocaleInformation_fr_FR.java,
423         gnu/java/locale/LocaleInformation_es_CR.h,
424         gnu/java/locale/LocaleInformation_en.java,
425         gnu/java/locale/LocaleInformation_es_GT.h,
426         gnu/java/locale/LocaleInformation_ur_PK.java,
427         gnu/java/locale/LocaleInformation_pt_PT.java,
428         gnu/java/locale/LocaleInformation_et_EE.h,
429         gnu/java/locale/LocaleInformation_ar_IN.java,
430         gnu/java/locale/LocaleInformation_es_AR.java,
431         gnu/java/locale/LocaleInformation_en_PH.java,
432         gnu/java/locale/LocaleInformation_en_IN.h,
433         gnu/java/locale/LocaleInformation_kl_GL.h,
434         gnu/java/locale/LocaleInformation_gl_ES.h,
435         gnu/java/locale/LocaleInformation_sq_AL.java,
436         gnu/java/locale/LocaleInformation_en_SG.h,
437         gnu/java/locale/LocaleInformation_de_CH.java,
438         gnu/java/locale/LocaleInformation_ga_IE.java,
439         gnu/java/locale/LocaleInformation_no_NO.java,
440         gnu/java/locale/LocaleInformation_de_AT.java,
441         gnu/java/locale/LocaleInformation_tg_TJ.h,
442         gnu/java/locale/LocaleInformation_hu_HU.h,
443         gnu/java/locale/LocaleInformation_es_SV.java,
444         gnu/java/locale/LocaleInformation_zh_SG.h,
445         gnu/java/locale/LocaleInformation_ca_ES.h,
446         gnu/java/locale/LocaleInformation_de_AT.h,
447         gnu/java/locale/LocaleInformation_ar_SY.h,
448         gnu/java/locale/LocaleInformation_he_IL.h,
449         gnu/java/locale/LocaleInformation_ro_RO.h,
450         gnu/java/locale/LocaleInformation_zh_TW.java,
451         gnu/java/locale/LocaleInformation_es_NI.java,
452         gnu/java/locale/LocaleInformation_ar_JO.h,
453         gnu/java/locale/LocaleInformation_br_FR.h,
454         gnu/java/locale/Calendar_en.java,
455         gnu/java/locale/LocaleInformation_eu_ES.h,
456         gnu/java/locale/LocaleInformation_pt_BR.java,
457         gnu/java/locale/LocaleInformation_tg_TJ.java,
458         gnu/java/locale/LocaleInformation_iw_IL.h,
459         gnu/java/locale/LocaleInformation_ar_AE.h,
460         gnu/java/locale/LocaleInformation_fr_LU.h,
461         gnu/java/locale/LocaleInformation_id_ID.h,
462         gnu/java/locale/LocaleInformation_sv_SE.java,
463         gnu/java/locale/LocaleInformation_en_GB.h,
464         gnu/java/locale/LocaleInformation_ar_EG.h,
465         gnu/java/locale/LocaleInformation_cy_GB.java,
466         gnu/java/locale/LocaleInformation_be_BY.h,
467         gnu/java/locale/LocaleInformation_yi_US.java,
468         gnu/java/locale/LocaleInformation_tr_TR.java,
469         gnu/java/locale/LocaleInformation_pt_PT.h,
470         gnu/java/locale/LocaleInformation_ar_IQ.h,
471         gnu/java/locale/LocaleInformation_cs_CZ.java,
472         gnu/java/locale/LocaleInformation_ar_TN.java,
473         gnu/java/locale/LocaleInformation_ko_KR.java,
474         gnu/java/locale/LocaleInformation_ar_AE.java,
475         gnu/java/locale/LocaleInformation_fr_LU.java,
476         gnu/java/locale/LocaleInformation_it_IT.h,
477         gnu/java/locale/LocaleInformation_mt_MT.java,
478         gnu/java/locale/LocaleInformation_fr_BE.h,
479         gnu/java/locale/LocaleInformation_es_DO.java,
480         gnu/java/locale/LocaleInformation_ta_IN.java,
481         gnu/java/locale/LocaleInformation_es_CL.h,
482         gnu/java/locale/LocaleInformation_te_IN.java,
483         gnu/java/locale/LocaleInformation_ar_YE.java,
484         gnu/java/locale/LocaleInformation_kw_GB.h,
485         gnu/java/locale/LocaleInformation_uk_UA.java,
486         gnu/java/locale/LocaleInformation_cs_CZ.h,
487         gnu/java/locale/LocaleInformation_da_DK.h,
488         gnu/java/locale/LocaleInformation_en_CA.h,
489         gnu/java/locale/Calendar_en.h,
490         gnu/java/locale/LocaleInformation_pt_BR.h,
491         gnu/java/locale/LocaleInformation_ar_SY.java,
492         gnu/java/locale/LocaleInformation_lt_LT.java,
493         gnu/java/locale/LocaleInformation_vi_VN.java,
494         gnu/java/locale/LocaleInformation_ur_PK.h,
495         gnu/java/locale/LocaleInformation_en_IN.java,
496         gnu/java/locale/LocaleInformation_kl_GL.java,
497         gnu/java/locale/LocaleInformation_ja_JP.h,
498         gnu/java/locale/LocaleInformation_es_UY.h,
499         gnu/java/locale/LocaleInformation_es_PA.h,
500         gnu/java/locale/LocaleInformation_de_LU.h,
501         gnu/java/locale/LocaleInformation_fo_FO.h,
502         gnu/java/locale/LocaleInformation_oc_FR.h,
503         gnu/java/locale/LocaleInformation_zh_TW.h,
504         gnu/java/locale/LocaleInformation_hu_HU.java,
505         gnu/java/locale/LocaleInformation_ar_KW.h,
506         gnu/java/locale/LocaleInformation_mr_IN.h,
507         gnu/java/locale/LocaleInformation_ar_EG.java,
508         gnu/java/locale/LocaleInformation_nl.h,
509         gnu/java/locale/LocaleInformation_af_ZA.java,
510         gnu/java/locale/LocaleInformation_es_PY.h,
511         gnu/java/locale/LocaleInformation_nl_BE.h,
512         gnu/java/locale/LocaleInformation_vi_VN.h,
513         gnu/java/locale/LocaleInformation_es_PA.java,
514         gnu/java/locale/Calendar.h,
515         gnu/java/locale/LocaleInformation_da_DK.java,
516         gnu/java/locale/LocaleInformation_de_BE.h,
517         gnu/java/locale/LocaleInformation_ar_DZ.h,
518         gnu/java/locale/LocaleInformation_bs_BA.java,
519         gnu/java/locale/LocaleInformation_id_ID.java,
520         gnu/java/locale/LocaleInformation_en_US.java,
521         gnu/java/locale/LocaleInformation_sl_SI.java,
522         gnu/java/locale/LocaleInformation_fr_BE.java,
523         gnu/java/locale/LocaleInformation_ar_LB.java,
524         gnu/java/locale/LocaleInformation_it_CH.java,
525         gnu/java/locale/LocaleInformation_en_ZW.h,
526         gnu/java/locale/LocaleInformation_gv_GB.h,
527         gnu/java/locale/LocaleInformation_es_HN.java,
528         gnu/java/locale/LocaleInformation_es_BO.h,
529         gnu/java/locale/LocaleInformation_en_AU.h,
530         gnu/java/locale/LocaleInformation_ar_SD.h,
531         gnu/java/locale/LocaleInformation_sr_YU.java,
532         gnu/java/locale/LocaleInformation_es_HN.h,
533         gnu/java/locale/LocaleInformation_iw_IL.java,
534         gnu/java/locale/LocaleInformation_it_IT.java,
535         gnu/java/locale/LocaleInformation_es_MX.java,
536         gnu/java/locale/LocaleInformation_es_PR.h,
537         gnu/java/locale/LocaleInformation_ar_MA.java,
538         gnu/java/locale/LocaleInformation_en_IE.java,
539         gnu/java/locale/LocaleInformation.java,
540         gnu/java/locale/LocaleInformation_en_DK.java,
541         gnu/java/locale/LocaleInformation_es_EC.h,
542         gnu/java/locale/LocaleInformation_mt_MT.h,
543         gnu/java/locale/LocaleInformation_hi_IN.java,
544         gnu/java/locale/LocaleInformation_en_AU.java,
545         gnu/java/locale/LocaleInformation_es_BO.java,
546         gnu/java/locale/LocaleInformation_gl_ES.java,
547         gnu/java/locale/LocaleInformation_en_BW.java,
548         gnu/java/locale/LocaleInformation_en_HK.h,
549         gnu/java/locale/LocaleInformation_de_DE.java,
550         gnu/java/locale/LocaleInformation_mk_MK.h,
551         gnu/java/locale/LocaleInformation_es_ES.h,
552         gnu/java/locale/LocaleInformation_sq_AL.h,
553         gnu/java/locale/LocaleInformation_sv_FI.java,
554         gnu/java/locale/LocaleInformation_pl_PL.java,
555         gnu/java/locale/LocaleInformation_tl_PH.java,
556         gnu/java/locale/LocaleInformation_sr_YU.h,
557         gnu/java/locale/LocaleInformation_nl_NL.h,
558         gnu/java/locale/LocaleInformation_zh_HK.h,
559         java/text/DateFormatSymbols.java,
560         java/text/DecimalFormatSymbols.java,
561         java/util/Currency.java,
562         java/util/Calendar.java: Remove
564 2008-03-03  Andrew Haley  <aph@littlepinkcloud.com>
566         * testsuite/lib/libjava.exp (libjava_arguments): Use regexp
567         instead of string match when checking for linux targets.
569 2008-03-03  Matthias Klose  <doko@ubuntu.com>
571         * classpath/tools/classes/gnu/classpath/tools/orbd/Main.class,
572         classpath/lib/gnu/java/locale/LocaleData.class
573         classpath/lib/gnu/java/rmi/registry/RegistryImpl.class
574         classpath/lib/gnu/gcj/convert/Convert.class
575         classpath/lib/gnu/gcj/tools/gcj_dbtool/Main.class: Regenerate.
577 2008-03-02  Jakub Jelinek  <jakub@redhat.com>
579         * gnu/gcj/convert/Convert.java (version): Update copyright notice
580         dates.
581         * gnu/gcj/tools/gcj_dbtool/Main.java (main): Likewise.
583 2008-02-27  David Daney  <ddaney@avtrex.com>
585         * HACKING: Correct typo in find command.
587 2008-02-27  David Daney  <ddaney@avtrex.com>
589         * gnu/java/net/natPlainSocketImplPosix.cc (bind): Remove check for
590         null host.
592 2008-02-20  Tom Tromey  <tromey@redhat.com>
594         PR libgcj/24170:
595         * java/io/natFilePosix.cc (File::performList): Don't use
596         readdir_r.
597         * configure, include/config.h.in: Rebuilt.
598         * configure.ac: Don't check for readdir_r.
600 2008-02-16  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
602         PR libgcj/33085
603         * configure: Regenerate.
605 2008-02-15  Andreas Tobler  <a.tobler@schweiz.org>
607         PR testsuite/35208
608         * testsuite/libjava.jvmti/interp/natgetstacktrace.cc
609         (Java_getstacktrace_natRunner): Increase the usleep time to a value
610         which prevents OS-X to get into a deadlock.
612 2008-02-06  Andreas Tobler  <a.tobler@schweiz.org>
614         PR libgcj/30071
615         * Makefile.am (install-exec-hook): Add install-binPROGRAMS.
616         * Makefile.in: Regenerate.
618 2008-01-24  David Edelsohn  <edelsohn@gnu.org>
620         * shlibpath.m4: Add AIX 6 support.
621         * configure: Regenerate.
623 2008-01-18  Alexandre Oliva  <aoliva@redhat.com>
625         PR c++/33887
626         * link.cc (_Jv_Linker::prepare_constant_time_tables):
627         has_interfaces is boolean, treat it as such.
629 2008-01-04  Andrew Haley  <aph@redhat.com>
631         PR libgcj/34444
632         * java/lang/natClass.cc (Class::getEnclosingClass): Call
633         getDeclaringClass().
635 2007-12-22  David Daney  <ddaney@avtrex.com>
637         * scripts/makemake.tcl (emit_bc_rule): Use $(LIBGCJ_BC_FLAGS)
638         instead of -findirect-dispatch -fno-indirect-classes.
639         * configure.ac (libgcj-bc): New AC_ARG_ENABLE.
640         (SUPPRESS_LIBGCJ_BC): New AM_CONDITIONAL.
641         * Makefile.am (LIBGCJ_BC_FLAGS): New variable.
642         * Makefile.in: Regenerate.
643         * include/Makefile.in: Same.
644         * testsuite/Makefile.in: Same.
645         * configure: Same.
646         * gcj/Makefile.in: Same.
647         * sources.am: Same.
648         
649 2007-12-17  Jakub Jelinek  <jakub@redhat.com>
651         * testsuite/Makefile.am (compile-tests): Build
652         libjava.jvmti/interp/*.h with -jni rather than -cni.
653         * testsuite/Makefile.in: Rebuilt.
655 2007-12-08  Andreas Tobler  <a.tobler@schweiz.org>
657         * configure.host: Add bits for i?86-*-darwin9 and x86_64-*-darwin9.
658         * configure.ac: Add darwin-signal.h to x86_64-*-darwin9 and
659         i?86-*darwin9.
660         * configure.in: Regenerate.
661         * darwin.cc: Add definitions for Darwin specific functions for 64-bit.
662         (darwin_java_register_dyld_add_image_hook): Use this specific
663         functions.
664         * Makefile.am (gij_LDFLAGS): Add extra_gij_ldflags for Darwin9.
665         * Makefile.in: Regenerate.
666         * include/Makefile.in: Likewise.
667         * gcj/Makefile.in: Likewise.
668         * testsuite/Makefile.in: Likewise.
669         * testsuite/lib/libjava.exp (libjava_arguments): Add allow_stack_execute
670         for *-*-darwin9*.
672 2007-12-06  David Daney  <ddaney@avtrex.com>
674         * interpret.cc: Replace ffi_raw with INTERP_FFI_RAW_TYPE throughout.
675         (ncode_closure, ffi_closure_fun): Define versions for
676         non-FFI_NATIVE_RAW_API case.
677         * include/java-interp.h (INTERP_FFI_RAW_TYPE): Define and use to
678         replace ffi_raw throughout.
679         * jni.cc, interpret-run.cc: Replace ffi_raw with INTERP_FFI_RAW_TYPE
680         throughout.
682 2007-12-06  Andreas Tobler  <a.tobler@schweiz.org>
684         * testsuite/libjava.jni/jni.exp (gcj_jni_get_cxxflags_invocation): Make
685         the testsuite multilib aware for Darwin.
687 2007-12-05  Thomas Fitzsimmons  <fitzsim@redhat.com>
689         * gnu/java/awt/peer/gtk/GdkGraphicsEnvironment.h: Regenerate.
690         * gnu/java/awt/peer/gtk/GtkWindowPeer.h: Likewise.
691         * java/awt/Component.h: Likewise.
692         * java/awt/Container.h: Likewise.
694 2007-11-05  H.J. Lu  <hongjiu.lu@intel.com>
696         * configure.ac: Don't run config-ml.in directly.
697         (multilib_arg): New.
698         * configure: Regenerated.
700 2007-10-22  David Daney  <ddaney@avtrex.com>
702         * include/jvm.h (_Jv_SetGCFreeSpaceDivisor): Declare new function.
703         * boehm.cc (_Jv_SetGCFreeSpaceDivisor): Define it.
705 2007-10-18  David Daney  <ddaney@avtrex.com>
707         * classpath/lib/gnu/java/locale/LocaleData.class: Regenerate
708         * classpath/lib/gnu/javax/sound/sampled/gstreamer: Add generated
709         files.
710         * gnu/javax/sound/sampled/gstreamer: Add generated files.
711         
712 2007-10-15  Maciej W. Rozycki  <macro@linux-mips.org>
714         * configure: Regenerate following changes to ../config/tls.m4.
716 2007-09-17  Tom Tromey  <tromey@redhat.com>
718         * defineclass.cc (MAJOR_1_6): New define.
719         (MINOR_1_6): Likewise.
720         (_Jv_ClassReader::parse): Handle 1.6 bytecode.
722 2007-09-12  David Daney  <ddaney@avtrex.com>
724         * configure.host: Enable interpreter for mips64.  Enable hash
725         synchronization for all mips*-*-linux* targets.
726         * sysdep/mips/locks.h (compare_and_swap, compare_and_swap_release) Use
727         __sync_bool_compare_and_swap instead of in-line asm.
728         (release_set, read_barrier, write_barrier): Use __sync_synchronize
729         instead of in-line asm.
731 2007-09-09  Andreas Tobler  <a.tobler@schweiz.org>
733         PR libgcj/33326
734         * testsuite/lib/libjava.exp (libjava_arguments): Append the test spec
735         only for linux targets.
737 2007-09-09  Andrew Haley  <aph@redhat.com>
739         * interpret-run.cc (invokevirtual_resolved): Nullcheck object on
740         TOS.
742 2007-09-06  Tom Tromey  <tromey@redhat.com>
744         * testsuite/libjava.lang/StackTrace2.jar: Rebuilt.
745         * testsuite/libjava.lang/StackTrace2.java (checkLine): Print file
746         name.
748 2007-09-06  Roman Zippel  <zippel@linux-m68k.org>
750         * sysdep/m68k/locks.h: New file.
751         * configure.host: Set sysdeps_dir and libgcj_interpreter for m68k.
752         * configure.ac: Set SIGNAL_HANDLER for m68*-*-linux*.
753         * configure: Regenerate.
755 2007-09-05  Samuel Thibault  <samuel.thibault@ens-lyon.org>
757         * configure.host(gnu*): Set use_libgcj_bc to yes.
759 2007-09-04  Matthias Klose  <doko@ubuntu.com>
761         * configure.ac: Do not pass --with-native-libdir to classpath.
762         * configure: Regenerate.
764 2007-09-04  Matthias Klose  <doko@ubuntu.com>
766         PR libgcj/33278
767         * configure.ac: Robustify extraction of gcj version.
768         * configure: Regenerate.
770 2007-09-04  Andrew Haley  <aph@redhat.com>
772         PR java/27908
773         * testsuite/libjava.lang/PR27908.java
774         ({run1,run2,run3}.isRunning): New Method.
775         (main): Fix race condition.
777 2007-08-29  Andrew Haley  <aph@redhat.com>
779         * gnu/classpath/natVMStackWalker.cc (VMStackWalker::getCallingClass):
780         Make sure we're not sibcalled.
781         (GET_CALLING_CLASS): Define for ARM EABI.
783 2007-08-22  Andrew Haley  <aph@redhat.com>
785         * configure.host (BACKTRACESPEC): Add arm*-linux*.
787 2007-08-22  Andrew Haley  <aph@redhat.com>
789         * configure.ac (LIBSTDCXXSPEC): New.
790         * configure.host: Add arm*-linux* to pthread test.
791         * configure.ac (LIBGCJTESTSPEC): Add path to libstdc++ for ARM
792         EABI.
793         * testsuite/libjava.jni/jni.exp (gcj_jni_compile_c_to_so): Use
794         -fexceptions for ARM EABI.
795         * testsuite/lib/libjava.exp (libjava_arguments): Add libgcj-test.spec.
796         (libjava_invoke): Log the invocation.
798 2007-08-15  Andrew Haley  <aph@redhat.com>
800         * configure.ac (extra_ldflags): Define.
801         * Makefile.am: Use extra_ldflags for all executables.
803 2007-08-14  Andrew Haley  <aph@redhat.com>
805         * sysdep/arm/backtrace.h: Remove stubs for _Unwind_GetIPInfo,
806         _Unwind_GetRegionStart, and _Unwind_Backtrace.
808 2007-07-27  Andrew Haley  <aph@redhat.com>
810         * gnu/classpath/natVMStackWalker.cc (GET_CALLING_CLASS): Stub for
811         ARM EABI.
812         * exception.cc (get_exception_header_from_ue): New.
813         (get_ttype_entry): ARM EABI version.
814         (PERSONALITY_FUNCTION): Add ARM EABI code.
815         * sysdep/arm/backtrace.h: New file.
816         * stacktrace.cc (_URC_NORMAL_STOP): New.
817         * configure.ac (extra_ldflags_libjava): Add libsupc++.la for ARM
818         EABI.
819         * configure.host (BACKTRACESPEC): Add arm/backtrace.h.
821 2007-08-31  Matthias Klose  <doko@ubuntu.com>
823         * classpath/lib/java/util/EnumSet*.class: Regenerate
825 2007-08-30  Andreas Tobler  <a.tobler@schweiz.org>
827         * gij.cc (version): Update Copyright year.
829 2007-08-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
831         * configure.host (gnu*): Set use_libgcj_bc to yes.
833 2007-08-15  Tom Tromey  <tromey@redhat.com>
835         * java/lang/Class.java (internalGetFields): Use LinkedHashSet.
836         * classpath/lib/java/lang/Class.class: Rebuilt.
838 2007-08-15  Samuel Thibault  <samuel.thibault@ens-lyon.org>
840         * java/lang/natPosixProcess.cc (sigchld_handler) [!SA_SIGINFO]: Remove
841         'si' and 'third' parameters.  Disable calling
842         pmi->old_sigaction.sa_sigaction.
843         (java::lang::PosixProcess*ProcessManager::init) [!SA_SIGINFO]: Set
844         sa.sa_handler instead of sa.sa_sigaction, don't set SA_SIGINFO flag.
846 2007-08-09  Andrew Haley  <aph@redhat.com>
848         * testsuite/lib/libjava.exp (libjava_invoke): Log the invocation.
850 2007-08-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
852         * java/net/natVMInetAddressPosix.cc
853         (java::net::VMInetAddress::getLocalHostname) [!MAXHOSTNAMELEN]:
854         Allocate buffer dynamically.
856 2007-08-04  Alfred M. Szmidt  <ams@gnu.org>
858         * java/io/natFilePosix.cc (init_native) [!MAXPATHLEN]: Define to 0.
859         * java/io/File.java (createTempFile): Don't truncate if the system
860         doesn't have a limit on the length of a file name.
861         * classpath/lib/java/io/File.class: Regenerate.
863 2007-08-04  Matthias Klose  <doko@ubuntu.com>
865         Import GNU Classpath (libgcj-import-20070727).
867         * Regenerate class and header files.
868         * Regenerate auto* files.
870         * include/jvm.h:
871         * jni-libjvm.cc (Jv_JNI_InvokeFunctions): Rename type.
872         * jni.cc (_Jv_JNIFunctions, _Jv_JNI_InvokeFunctions): Likewise.
873         * jni.cc (_Jv_JNI_CallAnyMethodA, _Jv_JNI_CallAnyVoidMethodA,
874         _Jv_JNI_CallMethodA, _Jv_JNI_CallVoidMethodA,
875         _Jv_JNI_CallStaticMethodA, _Jv_JNI_CallStaticVoidMethodA,
876         _Jv_JNI_NewObjectA, _Jv_JNI_SetPrimitiveArrayRegion): Constify
877         jvalue parameter.
878         * java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA): Likewise.
880         * java/lang/VMFloat.java (toString, parseFloat): New.
882         * gnu/awt/xlib/XToolkit.java (setAlwaysOnTop, isModalityTypeSupported,
883         isModalExclusionTypeSupported): New (stub only).
884         * gnu/awt/xlib/XCanvasPeer.java (requestFocus): Likewise.
885         * gnu/awt/xlib/XFramePeer.java (updateMinimumSize, updateIconImages,
886         updateFocusableWindowState, setModalBlocked, getBoundsPrivate,
887         setAlwaysOnTop): Likewise.
888         * gnu/awt/xlib/XFontPeer.java (canDisplay): Update signature.
890         * scripts/makemake.tcl: Ignore gnu/javax/sound/sampled/gstreamer,
891         ignore javax.sound.sampled.spi.MixerProvider, ignore .in files.
893         * HACKING: Mention --enable-gstreamer-peer, removal of generated files.
895 2007-07-31  David Daney  <ddaney@avtrex.com>
897         * HACKING: Document regenerating configure and aclocal.m4.
899 2007-07-31  David Daney  <ddaney@avtrex.com>
901         * configure.ac (INTERPRETER): New AM_CONDITIONAL.
902         * scripts/makemake.tcl (package_map): Mark jdwp and jvmti packages
903         as being for interpreter only.  Place interpreter related files in
904         'if INTERPRETER' block.
905         (interpreter_package_files): New list.
906         (interpreter_header_vars): Ditto.
907         (emit_package_rule_to_list): Renamed from emit_package_rule with
908         new target list parameter.
909         (emit_package_rule): Rewritten to call emit_package_rule_to_list.
910         (emit_interpreter_rule): New function.
911         (emit_source_var): Place interpreter related files in
912         interpreter_header_vars.
913         * Makefile.am (ACLOCAL_AMFLAGS): Add -I libltdl.
914         (libgcj_interpret_source_files): New variable.
915         (libgcj_la_SOURCES): Move jvmti.cc and  interpret.cc to
916         libgcj_interpret_source_files and include
917         libgcj_interpret_source_files.
918         (nat_jdwp_source_files): New variable.
919         (nat_jvmti_source_files): Ditto.
920         (nat_source_files): Move jdwp and jvmti related files to
921         nat_jdwp_source_files and nat_jvmti_source_files and include
922         nat_jdwp_source_files and nat_jvmti_source_files.
923         * Makefile.in: Regenerate.
924         * include/Makefile.in: Ditto.
925         * testsuite/Makefile.in: Ditto.
926         * gcj/Makefile.in: Ditto.
927         * sources.am: Ditto.
928         * configure: Ditto.
929         * include/config.h.in: Ditto.
930         * interpret.cc: Remove #ifdef INTERPRETER block.
931         * stacktrace.cc (UnwindTraceFn): Do not handle proxy frames if
932         interpreter disabled.
933         * include/java-interp.h (_Jv_FrameType): Move outside of
934         #ifdef INTERPRETER block.
935         * include/execution.h (_Jv_IndirectCompiledEngine::do_get_closure_list,
936         _Jv_InterpreterEngine, _Jv_soleInterpreterEngine): Place in
937         #ifdef INTERPRETER block.
938         * jni.cc (jvmti.h, jvmti-int.h):  Only include if INTERPRETER is
939         defined.
940         (_Jv_JNI_PopSystemFrame, _Jv_JNI_GetEnv): Only do jvmti processing
941         if INTERPRETER is defined.
942         * prims.cc (jvmti.h, jvmti-int.h, Jdwp.h, VMVirtualMachine.h):  Only
943         include if INTERPRETER is defined.
944         (defaultJdwpOptions, jdwpOptions, jvmti_agent_onload_func,
945         jvmti_agent_onunload_func, jvmti_agentonload, jvmti_agentonunload,
946         jvmti_agent_opts, load_jvmti_agent): Only define if INTERPRETER is
947         defined.
948         (parse_x_arg): Only process 'runjdwp:' if INTERPRETER is defined.
949         (parse_init_args): Only process jvmti related options if
950         INTERPRETER is defined.
951         (_Jv_CreateJavaVM): Only call _Jv_JVMTI_Init if INTERPRETER is
952         defined.
953         (_Jv_RunMain): Only do jvmti and jdwp processing if INTERPRETER is
954         defined.
955         * link.cc (jvmti.h, jvmti-int.h):  Only include if INTERPRETER is
956         defined.
957         (_Jv_ThrowNoClassDefFoundError, _Jv_Linker::create_error_method):
958         Define if if INTERPRETER is not defined.
959         (_Jv_Linker::wait_for_state): Only do jvmti proccessing if
960         INTERPRETER is defined.
961         * boehm.cc (closure_list_pointer, finalize_closure_list,
962         _Jv_ClosureListFinalizer): Only define if INTERPRETER is
963         defined.
964         * java/lang/natThread.cc (jvmti.h, jvmti-int.h):  Only include if
965         INTERPRETER is defined.
966         (finish_, _Jv_NotifyThreadStart): Only do jvmti proccessing if
967         INTERPRETER is defined.
968         * java/lang/Class.h (_Jv_InterpreterEngine): Move declaration
969         and friend declaration inside #ifdef INTERPRETER block.
970         * java/lang/natClass.cc (_Jv_ClosureList::releaseClosures,
971         _Jv_ClosureList::registerClosure, _Jv_GetInterpClassSourceFile):
972         Only define if INTERPRETER is defined.
973         * java/lang/reflect/natVMProxy.cc (UnsupportedOperationException.h):
974         Include.
975         (generateProxyClass): Throw UnsupportedOperationException unless
976         INTERPRETER is defined.
978 2007-07-29  Matthias Klose  <doko@ubuntu.com>
980         * HACKING: Document regenerating configure.
982 2007-07-29  H.J. Lu  <hongjiu.lu@intel.com>
984         PR libgcj/32929
985         * aclocal.m4: Regenerated.
986         * configure: Likewise.
988 2007-07-28  Matthias Klose  <doko@ubuntu.com>
990         * configure.ac: Encode the libgcj soversion in dbexecdir,
991         pass --with-native-libdir to classpath configure.
992         * configure: Regenerate.
994 2007-07-28  Matthias Klose  <doko@ubuntu.com>
996         * classpath/jvmti.h: Remove.
998 2007-07-27  Tom Tromey  <tromey@redhat.com>
1000         * Rebuild .class files with new ecj.
1002 2007-07-23  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
1004         * configure.ac (mips-sgi-irix6*): Override SYSTEMSPEC.
1005         * configure: Regenerate.
1007 2007-07-16  Rask Ingemann Lambertsen  <rask@sygehus.dk>
1009         PR target/32340
1010         * configure.host (arm*-elf | strongarm*-elf | xscale*-elf): Use the
1011         new sysdeps/arm directory.
1013 2007-07-15  Tom Tromey  <tromey@redhat.com>
1015         * java/io/File.java: Implement Comparable<File>.
1016         (compareTo): Removed.
1017         * java/io/File.h: Rebuilt.
1018         * classpath/lib/java/io/File.class: Rebuilt.
1020 2007-07-14  Tom Tromey  <tromey@redhat.com>
1022         * Rebuilt .class files.
1024 2007-07-15  Andrew Haley  <aph@redhat.com>
1026         * configure.host: 
1027         arm*-linux-gnu -> arm*-linux*.
1029 2007-07-14  Krister Walfridsson  <cato@df.lth.se>
1031         * gnu/gcj/util/natGCInfo.cc: Use HAVE_STRERROR_R.
1032         * configure.ac: Remove check for strerror, add check for strerror_r.
1033         * configure: Regenerate.
1034         * include/config.h.in: Regenerate.
1036 2007-07-13  Andrew Haley  <aph@redhat.com>
1038         * libgcj.ver: Add __gcj_personality_sj0.
1040         * testsuite/libjava.jvmti/jvmti-interp.exp: Likewise.
1041         * testsuite/libjava.jni/jni.exp: Use -fdollars-in-identifiers.
1042         * testsuite/libjava.jni/cni.exp: Use -fdollars-in-identifiers.
1043         * testsuite/libjava.jvmti/jvmti.exp (gcj_jvmti_compile_cxx_to_o): Likewise.
1045         * gnu/classpath/natVMStackWalker.cc (getCallingClassLoader): Check
1046         klass is non-null.
1047         * java/lang/reflect/natField.cc (getAddr): Call
1048         _Jv_StackTrace::GetCallingClass only if CALLER is non-null.
1049         * java/lang/reflect/natVMProxy.cc (run_proxy): Use
1050         _Jv_getFieldInternal to get field proxyClass.m.
1051         (_Jv_getFieldInternal): New function.
1053 2007-07-11  Andrew Haley  <aph@redhat.com>
1055         * configure.host (arm*-linux-gnu): New.
1056         * sysdep/arm/locks.h: New.
1058 2007-07-13  Roger Sayle  <roger@eyesopen.com>
1060         * java/lang/natPosixProcess.cc: Include <sys/time.h> before
1061         <sys/resource.h> to restore bootstrap on powerpc-apple-darwin7.9.0.
1063 2007-07-12  Matthias Klose  <doko@ubuntu.com>
1065         * gnu/classpath/jdwp/util/MethodResult.h,
1066         gnu/classpath/jdwp/value/ObjectValue.h: Regenerate.
1068 2007-07-11  Keith Seitz  <keiths@redhat.com>
1070         * interpret.cc (get_local_var_table) [DIRECT_THREADED]: Make sure the
1071         method is compiled.
1072         * testsuite/libjava.jvmti/interp/getlocalvartable.out: Revise
1073         for compiled methods.
1075 2007-07-10  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
1077         PR libgcj/32651
1078         * configure.host (mips-sgi-irix6*): Set sysdeps_dir.
1079         Disable interpreter.
1080         
1081 2007-07-05  Andreas Tobler  <a.tobler@schweiz.org>
1083         * java/lang/natPosixProcess.cc: Reorder includes to fix compilation
1084         on hppa2.0w-hp-hpux11.11.
1085         Remove include of <gcj/cni.h>.
1087 2007-07-05  H.J. Lu  <hongjiu.lu@intel.com>
1089         * aclocal.m4: Regenerated.
1091 2007-07-03  Andreas Tobler  <a.tobler@schweiz.org>
1093         * java/lang/Class.h: Remove redundant 'class java::*::* declarations.
1095 2007-07-02  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
1097         PR libgcj/30513
1098         * configure.host (i[3-6]86-*): Undef sun.
1100 2007-06-28  H.J. Lu  <hongjiu.lu@intel.com>
1102         * testsuite/libjava.jvmti/jvmti-interp.exp (gij_jvmti_test_one):
1103         Fix a typo.
1105 2007-06-28  Jan Nijtmans  <nijtmans@users.sourceforge.net>
1107         PR libgcj/30999:
1108         * jni_md.h: Add the possibility to compile jni code with.
1109         -fvisibility=hidden. This causes all symbols to be hidden
1110         except the JNI functions which need to be exported.
1112 2007-06-28  Andreas Tobler  <a.tobler@schweiz.org>
1114         * testsuite/libjava.jvmti/jvmti-interp.exp (gij_jvmti_test_one): Pass
1115         the cxxldlibflags to exec_gij to have the right libstdc++ invoked.
1117 2007-07-21  Keith Seitz  <keiths@redhat.com>
1119         * gnu/classpath/jdwp/VMVirtualMachine.h: Regenerate.
1121 2007-07-20  Keith Seitz  <keiths@redhat.com>
1123         * classpath/lib/gnu/classpath/jdwp/value/StringValue.class:
1124         Regenerate.
1126 2007-07-20  Keith Seitz  <keiths@redhat.com>
1128         * gnu/classpath/jdwp/VMVirtualMachine.java (executeMethod):
1129         Update from reference implementation.
1130         * gnu/classpath/jdwp/natVMVirtualMachine.cc (executeMethod):
1131         Update parameter list to match new VMVirtualMachine interface.
1132         * classpath/lib/gnu/classpath/jdwp/processor/ClassTypeCommandSet.class:
1133         Regenerate.
1134         * classpath/lib/gnu/classpath/jdwp/processor/
1135         ObjectReferenceCommandSet.class: Regenerate.
1136         * classpath/lib/gnu/classpath/jdwp/value/ObjectValue.class: Regenerate.
1137         * classpath/lib/gnu/classpath/jdwp/VMVirtualMachine.class: Regenerate.
1138         * classpath/lib/gnu/classpath/jdwp/util/MethodResult.class: Regenerate.
1140 2007-06-18  Keith Seitz  <keiths@redhat.com>
1142         * gnu/gcj/jvmti/Breakpoint.java: Make abstract.
1143         (method): Change from private to protected.
1144         (location): Likewise.
1145         (Breakpoint): Change argument list to take only integer type.
1146         Add default constructor.
1147         (initialize_native): Renamed to ...
1148         (_save_insn): ... this to make function more explicit.
1149         (execute): New method.
1150         * gnu/gcj/jvmti/Breakpoint.h: Regenerate.
1151         * gnu/gcj/jvmti/natBreakpoint.cc (initialize_native): Rename to...
1152         (_save_insn): ... this.
1153         (install): Save the original instruction.
1154         * gnu/gcj/jvmti/NormalBreakpoint.java: New file.
1155         * gnu/gcj/jvmti/NormalBreakpoint.h: New file.
1156         * gnu/gcj/jvmti/natNormalBreakpoint.cc: New file.
1157         * gnu/gcj/jvmti/BreakpointManager.java (newBreakpoint):
1158         Instantiate a NormalBreakpoint instead of Breakpoint.
1159         * interpret-run.cc (insn_breakpoint): Remove breakpoint actions
1160         and call Breakpoint.execute to do them.
1161         * classpath/lib/gnu/gcj/jvmti/Breakpoint.class: Regenerate.
1162         * classpath/lib/gnu/gcj/jvmti/BreakpointManager.class: Likewise.
1163         * classpath/lib/gnu/gcj/jvmti/NormalBreakpoint.class: New file.
1164         * sources.am: Regenerate.
1165         * Makefile.am (nat_source_files): Add natNormalBreakpoint.cc.
1166         * Makefile.in: Regenerated.
1168 2007-06-14  Keith Seitz  <keiths@redhat.com>
1170         * include/java-interp.h (_Jv_LocalVarTableEntry): Add union
1171         for bytecode_pc and direct-threaded pc.
1172         Add field descriptions inline.
1173         * defineclass.cc (read_one_code_attribute): Change from
1174         bytecode_start_pc to bytecode_pc.
1175         Remove unused variable "len".
1176         * interpret.cc (compile): Remap the variable table, too.
1177         (get_local_var_table) [DIRECT_THREADED]: Use insn_index on the
1178         start location to map from pc_t to code index.
1180 2007-06-09  Keith Seitz  <keiths@redhat.com>
1182         * testsuite/libjava.jvmti/dummyagent.c (Agent_OnLoad):
1183         Add missing return value.
1185 2007-06-03  Matthias Klose  <doko@ubuntu.com>
1187         * java/io/natFileWin32.cc (setFilePermissions): New (stub only).
1188         _access: Handle EXEC query, stub only.
1190 2007-06-03  Matthias Klose  <doko@ubuntu.com>
1192         Merged from classpath:
1193         * gnu/java/nio/SelectorProviderImpl.java: Whitespace merge.
1194         * java/lang/System.java(inheritedChannel): New.
1195         * java/lang/Character.java: Remove stray`;'.
1196         * java/net/MulticastSocket.java: Merged.
1197         * java/text/DateFormatSymbols.java(getInstance): New, comment updates.
1198         * java/text/Collator.java(getInstance): Merged.
1199         * java/util/Calendar.java: New attributes ALL_STYLES, SHORT, LONG.
1200         getDisplayName, getDisplayNames: New.
1201         * java/util/logging/Logger.java: Merged.
1202         * Regenerate .class and .h files.
1204 2007-06-03  Matthias Klose  <doko@ubuntu.com>
1206         * java/io/File.java: Merge with classpath-0.95, new method
1207         setFilePermissions, new attribute EXEC.
1208         * java/io/natFilePosix.cc (setFilePermissions): New.
1209         _access: Handle EXEC query.
1210         * classpath/lib/java/io/File.class, java/io/File.h: Regenerate.
1212 2007-06-03  Matthias Klose  <doko@ubuntu.com>
1214         Imported GNU Classpath 0.95.
1216         * classpath/Makefile.in,
1217         classpath/native/jni/midi-dssi/Makefile.in,
1218         classpath/native/jni/classpath/Makefile.in,
1219         classpath/native/jni/Makefile.in,
1220         classpath/native/jni/gconf-peer/Makefile.in,
1221         classpath/native/jni/java-io/Makefile.in,
1222         classpath/native/jni/native-lib/Makefile.in,
1223         classpath/native/jni/java-util/Makefile.in,
1224         classpath/native/jni/midi-alsa/Makefile.in,
1225         classpath/native/jni/java-lang/Makefile.in,
1226         classpath/native/jni/java-nio/Makefile.in,
1227         classpath/native/jni/java-net/Makefile.in,
1228         classpath/native/jni/xmlj/Makefile.in,
1229         classpath/native/jni/qt-peer/Makefile.in,
1230         classpath/native/jni/gtk-peer/Makefile.in,
1231         classpath/native/Makefile.in, classpath/native/jawt/Makefile.in,
1232         classpath/native/fdlibm/Makefile.in,
1233         classpath/native/plugin/Makefile.in,
1234         classpath/resource/Makefile.in, classpath/scripts/Makefile.in,
1235         classpath/tools/Makefile.in, classpath/doc/Makefile.in,
1236         classpath/doc/api/Makefile.in, classpath/lib/Makefile.in,
1237         classpath/external/Makefile.in, classpath/external/jsr166/Makefile.in,
1238         classpath/external/sax/Makefile.in,
1239         classpath/external/w3c_dom/Makefile.in,
1240         classpath/external/relaxngDatatype/Makefile.in,
1241         classpath/include/Makefile.in,
1242         classpath/examples/Makefile.in: Regenerate.
1243         * classpath/config.guess, classpath/config.sub,
1244         classpath/ltmain.sh : Update.
1245         * classpath/configure, classpath/depcomp, classpath/missing,
1246         classpath/aclocal.m4, classpath/install-sh: Regenerate.
1248         * gnu/classpath/Configuration.java (CLASSPATH_VERSION): Now 0.95.
1249         * sources.am: Regenerate.
1250         * Makefile.in: Regenerate.
1252         * Update the .class files and generated CNI header files, add new
1253         .class and generated CNI header files.
1254         * Remove generated files for removed java source files:
1255         classpath/gnu/java/net/BASE64.java,
1256         classpath/gnu/java/security/util/Base64.java,
1257         classpath/gnu/java/awt/peer/gtk/GThreadMutex.java,
1258         classpath/gnu/java/awt/peer/gtk/GThreadNativeMethodRunner.java,
1259         classpath/gnu/java/awt/font/autofit/Scaler.java,
1260         classpath/gnu/classpath/jdwp/util/Value.java,
1261         classpath/gnu/javax/net/ssl/Base64.java.
1262         * Remove empty directories.
1264         * Makefile.am(nat_source_files): Add natVMOperatingSystemMXBeanImpl.cc.
1265         * java/lang/Class.java(setAccessible): Merge from classpath.
1266         * java/util/Locale.java: Remove.
1267         * gnu/java/lang/management/VMOperatingSystemMXBeanImpl.java,
1268         gnu/java/lang/management/natVMOperatingSystemMXBeanImpl.cc: New.
1269         * gcj/javaprims.h: Update class declarations.
1270         * scripts/classes.pl: Update usage.
1271         * HACKING: Mention to build all peers.
1273 2007-06-02  Paolo Bonzini  <bonzini@gnu.org>
1275         * configure: Regenerate.
1277 2007-05-31  Andrew Haley  <aph@redhat.com>
1279         * java/lang/natClassLoader.cc (_Jv_NewClassFromInitializer): Clear
1280         INTERPRETED access modifier.
1282 2007-05-31  Paolo Bonzini  <bonzini@gnu.org>
1284         PR libjava/32098
1285         * configure: Regenerated.
1286         * aclocal.m4: Regenerated.
1288 2007-05-30  H.J. Lu  <hongjiu.lu@intel.com>
1290         PR libjava/32098
1291         * configure: Regenerated.
1293 2007-05-29  H.J. Lu  <hongjiu.lu@intel.com>
1295         * configure.ac: Don't include ../config/confsubdir.m4.
1296         * aclocal.m4: Regenerated.
1297         * configure: Likewise.
1299 2007-05-27  Paolo Bonzini  <bonzini@gnu.org>
1301         PR bootstrap/32078
1302         * configure.ac: Include confsubdir.m4.
1303         * configure: Regenerate.
1305 2007-05-24  Keith Seitz  <keiths@redhat.com>
1307         * include/java-interp.h (_Jv_InterpFrame::get_pc): Only deduct
1308         one when pc_ptr is non-NULL.
1310         * prims.cc (parse_init_args): Enable JVMTI with agentlib
1311         and agentpath options.
1313         * testsuite/lib/libjava.exp (exec_gij): Add new addl_flags
1314         parameter.
1315         * testsuite/libjava.jvmti/jvmti-interp.exp (gij_jvmti_test_one):
1316         Pass '-agentlib:dummyagent' when executing gij.
1317         (gij_jvmti_run): Build dummy JVMTI agent before running tests,
1318         and remove it when finished.
1319         * testsuite/libjava.jvmti/dummyagent.c: New file.
1321 2007-05-23  Steve Ellcey  <sje@cup.hp.com>
1323         * Makefile.in: Regenerate.
1324         * configure: Regenerate.
1325         * aclocal.m4: Regenerate.
1326         * gcj/Makefile.in: Regenerate.
1327         * include/Makefile.in: Regenerate.
1328         * testsuite/Makefile.in: Regenerate.
1330 2007-05-17  Kyle Galloway  <kgallowa@redhat.com>
1332         * classpath/gnu/classpath/jdwp/processor/ReferenceTypeCommandSet.java
1333         (executeMethods): Remove cast to ClassReferenceTypeId.
1334         * classpath/lib/gnu/classpath/jdwp/processor/
1335         ReferenceTypeCommandSet.class: Rebuilt.
1337 2007-05-17  Kyle Galloway  <kgallowa@redhat.com>
1339         * gnu/classpath/jdwp/natVMMethod.cc (getModifiers): Check for native
1340         classes and mark methods as native appropriately.
1342 2007-05-17  Kyle Galloway  <kgallowa@redhat.com>
1344         * gnu/classpath/jdwp/VMFrame.java (<init>): Add parameter for "this"
1345         pointer.
1346         * gnu/classpath/jdwp/VMFrame.h: Regenerated.
1347         * classpath/lib/gnu/classpath/jdwp/VMFrame.class: Rebuilt.
1348         * gnu/classpath/jdwp/natVMVirtualMachine.cc (getFrame): Use new
1349         VMFrame constructor.
1351 2007-05-16  David Daney  <ddaney@avtrex.com>
1353         * include/java-stack.h (_Jv_FrameInfo): Remove union definition.
1354         (_Jv_StackFrame): Remove commented out code.
1355         (_Jv_UnwindState): Remove superfluous 'typedef'.
1356         * sun/misc/natUnsafe.cc (spinlock): Add white space to quiet
1357         compiler warnings.
1358         * gnu/java/lang/management/natVMMemoryPoolMXBeanImpl.cc
1359         (getCollectionUsage): Don't declare unused parameter n.
1360         (getMemoryManagerNames): Same.
1361         * gnu/gcj/util/natGCInfo.cc (gc_debug_info): Remove superfluous
1362         'typedef'.
1364 2007-05-16  Keith Seitz  <keiths@redhat.com>
1366         * include/java-interp.h (breakpoint_at): Declare.
1367         * interpret.cc (breakpoint_at): New function.
1368         * gnu/classpath/jdwp/VMVirtualMachine.java (_event_list):
1369         New member.
1370         * gnu/classpath/jdwp/natVMVirtualMachine.cc (initialize):
1371         Initialize _event_list.
1372         (handle_single_step): If there is a breakpoint at the
1373         location at which we are stopping, do not send the notification.
1374         Instead add the event to a list of events that occur at this
1375         location.
1376         (jdwpBreakpointCB): If the event list is not empty, send
1377         whatever events are in it and the breakpoint event in a single
1378         notification.
1379         Mark parameter jni_env as MAYBE_UNUSED.
1380         * classpath/lib/gnu/classpath/jdwp/VMVirtualMachine.class:
1381         Regenerated.
1382         * gnu/classpath/jdwp/VMVirtualMachine.h: Regenerated.
1384 2007-05-15  David Daney  <ddaney@avtrex.com>
1386         * classpath/lib/javax/swing/text/html/HTMLEditorKit.class: Regenerate
1387         * gnu/java/awt/peer/gtk/ComponentGraphics.h: Same.
1389 2007-05-15  Keith Seitz  <keiths@redhat.com>
1391         * interpret.cc (STOREA): Rewrite using temporary variable to
1392         avoid double-macro expansion side-effects.
1393         (STOREI): Likewise.
1394         (STOREF): Likewise.
1395         (STOREL)[SIZEOF_VOID_P == 8]: Likewise.
1396         (STORED)[SIZEOF_VOID_P == 8]: Likewise.
1397         (STOREL)[SIZEOF_VOID_P != 8]: Likewise.
1398         (STORED)[SIZEOF_VOID_P != 8]: Likewise.
1399         (POKEI): Likewise.
1401 2007-05-12  David Daney  <ddaney@avtrex.com>
1403         PR libgcj/29324
1404         * include/posix-threads.h (_Jv_BlockSigchld): Declare.
1405         (_Jv_UnBlockSigchld): Same.
1406         * posix-threads.cc: Include posix-threads.h.
1407         (block_sigchld) Rename to...
1408         (_Jv_BlockSigchld) ... this.
1409         (_Jv_UnBlockSigchld): New function.
1410         (_Jv_InitThreads): Call _Jv_BlockSigchld in place of block_sigchld.
1411         (_Jv_ThreadStart): Same.
1412         * java/lang/PosixProcess$ProcessManager.h: Regenerate.
1413         * java/lang/PosixProcess.java: Clean up imports.
1414         (ProcessManager): Make final.
1415         (ProcessManager.queue): Genericise and make private.
1416         (ProcessManager.pidToProcess): Remove.
1417         (ProcessManager.liveProcesses): New field.
1418         (ProcessManager.reaperPID): Remove.
1419         (ProcessManager.nativeData): New field.
1420         (ProcessManager.removeProcessFromMap): Remove.
1421         (ProcessManager.addProcessToMap):Remove.
1422         (ProcessManager.addToLiveProcesses): New method.
1423         (ProcessManager.run): Rewritten.
1424         (ProcessManager.reap): Change method signature,
1425         (getErrorStream): Correct formatting.
1426         (getInputStream): Same.
1427         (spawn): Add process to liveProcesses list.
1428         (pid): Make package private.
1429         * java/lang/PosixProcess.h: Regenerate.
1430         * java/lang/natPosixProcess.cc: Include posix.h and posix-threads.h.
1431         Add useing namespace java::lang.
1432         (ProcessManagerInternal): New struct.
1433         (sigchld_handler): Rewritten.
1434         (init): Rewritten.
1435         (waitForSignal): Same.
1436         (reap): Same.
1437         (signalReaper): Same.
1438         (nativeDestroy): Call kill as ::kill.
1439         (nativeSpawn): Correct formatting.
1440         * classpath/lib/java/lang/PosixProcess$EOFInputStream.class: Regenerate.
1441         * classpath/lib/java/lang/PosixProcess.class: Same.
1442         * classpath/lib/java/lang/PosixProcess$ProcessManager.class: Same.
1444 2007-05-07  Ian Lance Taylor  <iant@google.com>
1446         PR java/31842
1447         * java/lang/natString.cc (_Jv_FormatInt): Avoid undefined signed
1448         overflow.
1450 2007-05-07  Keith Seitz  <keiths@redhat.com>
1452         * classpath/lib/gnu/classpath/jdwp/Jdwp.class: Regenerate.
1453         * classpath/lib/gnu/classpath/jdwp/Jdwp$1.class: Regenerate.
1454         * classpath/lib/gnu/classpath/jdwp/event/Event.class:
1455         Regenerate.
1456         * classpath/lib/gnu/classpath/jdwp/transport/JdwpConnection.class:
1457         Regenerate.
1458         * gnu/classpath/jdwp/Jdwp.h: Regenerate.
1459         * gnu/classpath/jdwp/event/Event.h: Regenerate.
1460         * gnu/classpath/jdwp/transport/JdwpConnection.h: Regenerate.
1462 2007-05-04  Kyle Galloway  <kgallowa@redhat.com>
1464         * gnu/classpath/jdwp/natVMVirtualMachine.cc (getClassMethod): Change
1465         to use JVMTI.
1467 2007-05-03  Keith Seitz  <keiths@redhat.com>
1469         * interpret.cc: Don't include ExceptionEvent.h.
1470         * gnu/gcj/jvmti/natExceptionEvent.cc: Remove.
1471         * Makefile.am (nat_source_files): Remove natExceptionEvent.cc.
1472         * Makefile.in: Regenerated.
1474 2007-05-03  Keith Seitz  <keiths@redhat.com>
1476         * include/jvmti-int.h (_Jv_ReportJVMTIExceptionThrow):
1477         Declare.
1478         * interpret.cc (_Jv_ReportJVMTIExceptionThrow): New function.
1479         (find_catch_location): New function.
1480         (REPORT_EXCEPTION): New macro.
1481         (throw_internal_error): Use REPORT_EXCEPTION.
1482         (throw_incompatible_class_change_error): Likewise.
1483         (throw_null_pointer_exception): Likewise.
1484         (throw_class_format_error): Likewise.
1485         * interpret-run.cc (INTERP_REPORT_EXCEPTION)[DEBUG]: Set
1486         to REPORT_EXCEPTION.
1487         (INTERP_REPORT_EXCEPTION)[!DEBUG]: Make nop.
1488         (insn_new): Use INTERP_REPORT_EXCEPTION.
1489         (insn_athrow): Likewise.
1490         Remove previous JVMTI exception notifications.
1491         Add JVMTI ExceptionCatch notificatin.
1492         * jni.cc (_Jv_PopSystemFrame): Notify JVMTI clients of
1493         exception throw.
1494         * gnu/gcj/jvmti/ExceptionEvent.java: Removed.
1495         * gnu/gcj/jvmti/ExceptionEvent.h: Removed. 
1496         * classpath/lib/gnu/gcj/jvmti/ExceptionEvent.class: Removed.
1497         * gnu/classpath/jdwp/natVMVirtualMachine.cc
1498         (jdwpExceptionCB): New function.
1499         (jdwpVMInitCB): Set Exception event handler and enable.
1500         * sources.am: Regenerated.
1501         * Makefile.in: Regenerated.
1503 2007-05-03  Thomas Fitzsimmons  <fitzsim@redhat.com>
1505         https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=237304
1506         * Makefile.in: Regenerate.
1507         * scripts/makemake.tcl (scan_directory): Treat default.css as a
1508         property file.
1509         * classpath/javax/swing/text/html/default.css: Move to...
1510         * classpath/resource/javax/swing/text/html/default.css: New file.
1511         * classpath/javax/swing/text/html/HTMLEditorKit.java
1512         (getStyleSheet): Throw RuntimeException when style loading fails.
1513         * sources.am (property_files): Add
1514         classpath/resource/javax/swing/text/html/default.css.
1516 2007-05-02  Tom Tromey  <tromey@redhat.com>
1518         https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=238755
1519         * java/lang/natCharacter.cc (Character::getType): Handle negative
1520         code points.
1521         (Character::toLowerCase): Likewise.
1522         (Character::toUpperCase): Likewise.
1523         (Character::digit): Likewise.
1524         (Character::getNumericValue): Likewise.
1525         (Character::getDirectionality): Likewise.
1526         (Character::toTitleCase): Likewise.
1528 2007-04-30  Keith Seitz  <keiths@redhat.com>
1530         * interpret-run.cc (NEXT_INSN)[DEBUG]: Advance PC before
1531         executing the instruction.
1532         * include/java-interp.h (_Jv_InterpFrame::get_pc): Subtract
1533         one insn from the frame's PC. _Jv_InterpMethod::run et al
1534         will advance the PC before executing the instruction.
1536 2007-04-27  Keith Seitz  <keiths@redhat.com>
1538         * classpath/lib/gnu/classpath/jdwp/Jdwp.class: Regenerated.
1539         * classpath/lib/gnu/classpath/jdwp/event/EventManager.class:
1540         Regenerated.
1541         * gnu/classpath/jdwp/event/EventManager.h: Regenerated.
1543 2007-04-27  Keith Seitz  <keiths@redhat.com>
1545         * classpath/lib/gnu/classpath/jdwp/event/filters/
1546         LocationOnlyFilter.class: Regenerated;
1547         * classpath/lib/gnu/classpath/jdwp/util/Location.class:
1548         Regenerated.
1549         * gnu/classpath/jdwp/VMMethod.java
1550         * classpath/lib/gnu/classpath/jdwp/VMMethod.class:
1551         Regenerated.
1552         * gnu/classpath/jdwp/VMMethod.h: Regenerated.
1553         * gnu/classpath/jdwp/util/Location.h: Regenerated.
1555 2007-04-27  Thomas Fitzsimmons  <fitzsim@redhat.com>
1557         * gnu/java/awt/peer/gtk/CairoGraphics2D.h: Regenerate.
1558         * gnu/java/awt/peer/gtk/ComponentGraphics.h: Regenerate.
1560 2007-04-25  Kyle Galloway  <kgallowa@redhat.com>
1562         * gnu/classpath/jdwp/VMIdManager.java (getObjectId): Deal with null
1563         objects.
1564         (get): Deal with ObjectId of 0. 
1566 2007-04-24  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
1568         PR libgcj/31084
1569         * java/lang/natVMProcess.cc: Include platform.h before jvm.h.
1571 2007-04-24  Kyle Galloway  <kgallowa@redhat.com>
1573         * gnu/classpath/jdwp/natVMVirtualMachine.java
1574         (getThreadStatus): Implement.
1576 2007-04-24  Keith Seitz  <keiths@redhat.com>
1578         * headers.txt (gnu/gcj/jvmti/Breakpoint.h)[DIRECT_THREADED]:
1579         Add _Jv_RewriteBreakpointInsn friend declaration.
1580         * gnu/gcj/jvmti/natBreakpoint.cc (_Jv_RewriteBreakpointInsn)
1581         [DIRECT_THREADED]: New function.
1582         * gnu/gcj/jvmti/Breakpoint.h: Regenerate.
1583         * interpret-run.cc: Define new REWRITE_INSN macro.
1584         Changed all occurrences of insn rewriting to call REWRITE_INSN.
1586 2007-04-23  Keith Seitz  <keiths@redhat.com>
1588         * include/no-gc.h (_Jv_IsThreadSuspended): Declare.
1589         * include/boehm-gc.h (_Jv_IsThreadSuspended): Likewise.
1590         * boehm.cc (_Jv_IsThreadSuspended): New function.
1591         * nogc.cc (_Jv_IsThreadSuspended): Likewise.
1592         * jvmti.cc (_Jv_JVMTI_GetThreadState): New function.
1593         (_Jv_JVMTI_Interface): Define GetThreadState.
1595 2007-04-23  Kyle Galloway  <kgallowa@redhat.com>
1597         * include/java-interp.h (_Jv_InterpFrame): Add pointer to the
1598         interpreter PC.
1599         (<init>): Add a pointer to the interpreter PC as a parameter with
1600         default value NULL.
1601         (get_pc): New method.
1602         * interpret-run.cc: If debugging, pass a pointer to the PC when
1603         creating the stack frame.
1604         * jvmti.cc (_Jv_JVMTI_GetStackTrace): Call _Jv_InterpFrame::get_pc
1605         to get the PC.
1607 2007-04-23  Kyle Galloway  <kgallowa@redhat.com>
1609         * gnu/classpath/jdwp/natVMVirtualMachine.cc (getSourceFile): Check
1610         for null source file and throw an exception indicating this.
1612 2007-04-20  Keith Seitz  <keiths@redhat.com>
1614         * gnu/gcj/jvmti/BreakpointManager.java (newBreakpoint):
1615         Install the new breakpoint into the bytecode.
1616         (deleteBreakpoint): Remove the breakpoint from the bytecode.
1617         * classpath/lib/gnu/gcj/jvmti/BreakpointManager.class:
1618         Regenerate.
1619         * gnu/gcj/jvmti/natBreakpoint.cc (initialize_native):
1620         Don't install the breakpoint here.
1622 2007-04-19  Keith Seitz  <keiths@redhat.com>
1624         * interpret-run.cc [insn_breakpoint]: Save the original
1625         insn for the breakpoint before posting the JVMTI notification.
1627 2007-04-19  Tom Tromey  <tromey@redhat.com>
1629         * gnu/javax/net/ssl/provider/SSLSocketFactoryImpl.h: Rebuilt.
1631 2007-04-18  Tom Tromey  <tromey@redhat.com>
1633         * Regenerated headers with new gjavah.
1635 2007-04-18  Andrew Haley  <aph@redhat.com>
1637         * java/lang/reflect/natVMProxy.cc (ncode_closure): Add
1638         method_index.
1639         (generateProxyClass): Add field $Proxy0.m.  Store methods array in
1640         it.
1641         (run_proxy): Retrieve the method to invoke from in $Proxy0.m.
1642         * java/lang/Class.h: Remove _Jv_LookupProxyMethod.
1643         * java/lang/natClass.cc: Likewise.
1644         * headers.txt: Likewise.
1645         * java/lang/reflect/Method.h: Likewise.
1647 2007-04-16  Andrew Haley  <aph@redhat.com>
1649         * gnu/gcj/runtime/BootClassLoader.java (getBootURLLoader): New
1650         method.
1651         (bootGetResource): Use getBootURLLoader() to load resources.
1652         (bootGetResources): Likewise.
1654         * java/lang/reflect/natMethod.cc (Method::invoke): In invoke also
1655         check that the method's declaring class is accessible.
1657 2007-04-10  Keith Seitz  <keiths@redhat.com>
1659         * sources.am: Regenerate.
1660         * Makefile.in: Likewise.
1662 2007-04-09  Kyle Galloway  <kgallowa@redhat.com>
1664         * interpret-run.cc: If debugging, check if args is NULL before
1665         getting the "this" pointer.
1667 2007-04-09  Kyle Galloway  <kgallowa@redhat.com>
1669         * classpath/gnu/classpath/jdwp/value/ArrayValue.java: New file.
1670         * classpath/lib/gnu/classpath/jdwp/value/ArrayValue.class: New file.
1671         * gnu/classpath/jdwp/ArrayValue.h: New file.
1672         * gnu/classpath/jdwp/natVMFrame.cc (getValue): Add array case.
1673         (setValue): Ditto. 
1675 2007-04-09  David Daney  <ddaney@avtrex.com>
1677         PR libgcj/23758
1678         * java/lang/natPosixProcess.cc (nativeSpawn): Move building of
1679         environment before the fork.
1680         * testsuite/libjava.lang/Process_7.java: New test.
1681         * testsuite/libjava.lang/Process_7.out: Its expected results.
1682         * testsuite/libjava.lang/Process_7.jar: Generated file.
1684 2007-04-09  H.J. Lu  <hongjiu.lu@intel.com>
1686         * prims.cc (load_jvmti_agent): Add the missing `,'.
1688 2007-04-09  Kyle Galloway  <kgallowa@redhat.com>
1690         * gij.cc (main): Accept -agentlib and -agentpath options.
1691         * prims.cc (parse_init_args): Deal with -agentlib and -agentpath.
1692         (load_jvmti_agent): New function.
1694 2007-04-04  Tania Bento  <tbento@redhat.com>
1696         * java/text/DecimalFormatSymbols.java: Added the year 2007 to
1697         Copyright information and introduced new variable, currency.
1698         (DecimalFormatSymbols(Locale)): Define currency and intlCurrencySymbol
1699         to "XXX", currencySymbol to "?" and localCurrency appropriately.
1700         (getCurrency): Fixed documentation and return the value of currency.
1701         (setCurrency): Fixed documentation and update the value of currency.
1702         (setInternationalCurrencySymbol): Fixed documentation and update the
1703         value of currency.
1704         * java/util/Currency.java: Introduced two new variables, properties
1705         and fractionDigits. In the static block, a properties object is
1706         created and the currency resource is loaded.
1707         (Currency(Locale)): fractionDigits is defined.
1708         (Currency(String)): New method.
1709         (getDefaultFractionDigits): Return the value of fractionDigits.
1710         (getInstance(String)): Check if String is equal to "XXX".
1712 2007-04-04  Kyle Galloway  <kgallowa@redhat.com>
1714         * classpath/gnu/classpath/jdwp/util/VariableTable.java: Change longs
1715         to ints for argCnt and slots.
1716         (write): Replace writeLong with writeInt for the above. 
1718 2007-04-03  Andrew Haley  <aph@redhat.com>
1720         * testsuite/libjava.lang/ProxyTest.java: New test.
1722 2007-04-02  Tom Tromey  <tromey@redhat.com>
1724         http://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=205157
1725         * gnu/java/nio/channels/natFileChannelPosix.cc (mapImpl): Extend
1726         file, when writing, if it is too short.
1728 2007-04-02  Tom Tromey  <tromey@redhat.com>
1730         https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=233406
1731         * gnu/java/net/natPlainSocketImplPosix.cc (create): Return if
1732         already created.
1733         * gnu/java/net/PlainSocketImpl.java (getLocalAddress): Handle case
1734         where localport is -1.
1735         (create): Now public.
1736         * gnu/java/nio/SocketChannelImpl.java (SocketChannelImpl): Call
1737         'create' on the socket.
1739 2007-04-02  Andrew Haley  <aph@redhat.com>
1741         * java/lang/reflect/natVMProxy.cc (run_proxy): Use
1742         _Jv_LookupProxyMethod to find the Method.
1743         If parameter_types->length == 0, pass a null paramameter list,
1744         not a zero-length parameter list.
1745         * java/lang/natClass.cc (_Jv_LookupProxyMethod): New function.
1746         * java/lang/Class.h (_Jv_LookupProxyMethod): Declare.
1748 2007-04-02  Kyle Galloway  <kgallowa@redhat.com>
1750         * interpret-run.cc: Add code to properly set up variable slots
1751         when debugging.
1752         * gnu/classpath/jdwp/natVMFrame.cc (checkJVMTIError): New function.
1753         (getObjectJVMTI): New function.
1754         (setObjectJVMTI): New function.
1755         (getIntJVMTI): New function.
1756         (setIntJVMTI): New function.
1757         (getLongJVMTI): New function.
1758         (setLongJVMTI): New function.
1759         (getFloatJVMTI): New function.
1760         (setFloatJVMTI): New function.
1761         (getDoubleJVMTI): New function.
1762         (setDoubleJVMTI): New function.
1763         (getFrameDepth): New function.
1764         (getValue): Implement.
1765         (setValue): Implement. 
1767 2007-04-02  Kyle Galloway  <kgallowa@redhat.com>
1769         * classpath/gnu/classpath/jdwp/processor/ThreadReferenceCommandSet.java
1770         (executeResume): Call VMVirtualMachine.resumeThread.
1772 2007-03-29  Tom Tromey  <tromey@redhat.com>
1774         PR libgcj/29869:
1775         * java/util/logging/LogManager.java (readConfiguration): Handle
1776         comma-separated 'handlers'.  Don't try to add a non-existing
1777         handler.
1779 2007-03-27  Tom Tromey  <tromey@redhat.com>
1781         * sources.am, Makefile.in: Rebuilt.
1782         * scripts/mime.types: Removed.
1783         * scripts/MakeDefaultMimeTypes.java: Removed.
1784         * gnu/gcj/io/MimeTypes.java: Removed.
1785         * gnu/gcj/io/MimeTypes.h: Removed.
1786         * gnu/gcj/io/DefaultMimeTypes.java: Removed.
1787         * gnu/gcj/io/DefaultMimeTypes.h: Removed.
1789 2007-03-27  Keith Seitz  <keiths@redhat.com>
1791         * gnu/classpath/jdwp/VMFrame.java: Update from upstream
1792         classpath.
1793         * gnu/classpath/jdwp/natVMFrame.cc: Likewise.
1794         * gnu/classpath/jdwp/VMVirtualMachine.java: Likewise.
1795         * gnu/classpath/jdwp/natVMVirtualMachine.cc: Likewise.
1796         (initialize): Fix compiler type-punning warning.
1797         (getAllLoadedClasses): Return empty list instead of NULL.
1798         (getLoadRequests): Likewise.
1799         * gnu/classpath/jdwp/exception/InvalidTagException.h: New file.
1800         * gnu/classpath/jdwp/exception/InvalidSlotException.h: New file.
1801         * gnu/classpath/jdwp/exception/TypeMismatchException.h: New file.
1802         * gnu/classpath/jdwp/VMVirtualMachine.h: Rebuilt.
1803         * gnu/classpath/jdwp/value/CharValue.h: New file.
1804         * gnu/classpath/jdwp/value/LongValue.h: New file.
1805         * gnu/classpath/jdwp/value/ShortValue.h: New file.
1806         * gnu/classpath/jdwp/value/Value.h: New file.
1807         * gnu/classpath/jdwp/value/BooleanValue.h: New file.
1808         * gnu/classpath/jdwp/value/VoidValue.h: New file.
1809         * gnu/classpath/jdwp/value/ByteValue.h: New file.
1810         * gnu/classpath/jdwp/value/FloatValue.h: New file.
1811         * gnu/classpath/jdwp/value/ObjectValue.h: New file.
1812         * gnu/classpath/jdwp/value/StringValue.h: New file.
1813         * gnu/classpath/jdwp/value/ValueFactory.h: New file.
1814         * gnu/classpath/jdwp/value/IntValue.h: New file.
1815         * gnu/classpath/jdwp/value/DoubleValue.h: New file.
1816         * gnu/classpath/jdwp/VMFrame.h: Rebuilt.
1817         * gnu/classpath/jdwp/id/NullObjectId.h: New file.
1818         * gnu/classpath/jdwp/util/MethodResult.h: Rebuilt.
1819         * gnu/classpath/jdwp/util/NullObject.h: New file.
1820         * gnu/classpath/jdwp/util/MonitorInfo.h: New file.
1821         * Makefile.in: Rebuilt.
1822         * sources.am: Rebuilt.
1824 2006-03-26  David Daney  <ddaney@avtrex.com>
1826         * configure.ac: Remove checks for mktime, alloca, ioctl, gmtime_r,
1827         fork, execvp, execinfo.h, pthread_mutexattr_settype,
1828         pthread_mutexattr_setkind_np and sys/wait.h.
1829         * Makefile.in: Regenerate.
1830         * include/Makefile.in: Regenerate.
1831         * include/config.h.in: Regenerate.
1832         * testsuite/Makefile.in: Regenerate.
1833         * configure: Regenerate.
1834         * gcj/Makefile.in: Regenerate.
1836 2007-03-23  Gary Benson  <gbenson@redhat.com>
1838         * link.cc (_Jv_Linker::resolve_method_entry):
1839         Ensure that the argument types and the return type of the
1840         found method match those expected by the calling method.
1842 2007-03-22  David Daney  <ddaney@avtrex.com>
1844         PR libgcj/31228
1845         * configure.ac: Add checks for getrlimit and sys/resource.h.
1846         * include/posix.h (_Jv_platform_close_on_exec): Remove.
1847         * include/config.h.in: Regenerate.
1848         * configure: Regenerate.
1849         * gnu/java/nio/channels/natFileChannelPosix.cc (open): Remove call to
1850         _Jv_platform_close_on_exec;
1851         * gnu/java/net/natPlainSocketImplPosix.cc (create): Likewise.
1852         (accept): Likewise.
1853         * gnu/java/net/natPlainDatagramSocketImplPosix.cc (create):Likewise.
1854         * java/lang/natPosixProcess.cc: Include sys/resource.h.
1855         (nativeSpawn): Close all file descriptors.  Don't set FD_CLOEXEC on
1856         pipes.
1858 2007-03-20  Andrew Haley  <aph@redhat.com>
1860         * testsuite/libjava.lang/PR31264.java: New test.
1862 2007-03-14  Jakub Jelinek  <jakub@redhat.com>
1864         * Makefile.am (AM_MAKEFLAGS): Pass through mandir.
1865         * Makefile.in: Rebuilt.
1867 2007-03-13  Keith Seitz  <keiths@redhat.com>
1869         * include/java-interp.h (_Jv_InterpClass): Declare
1870         friend function _Jv_GetInterpClassSourceFile.
1871         * java/lang/Class.h (Class): Likewise.
1872         * java/lang/natClass.cc (_Jv_GetInterpClassSourceFile):
1873         New function.
1874         * gnu/classpath/jdwp/natVMVirtualMachine.cc
1875         (getSourceFile): Implement.
1877 2007-03-13  Thomas Fitzsimmons  <fitzsim@redhat.com>
1879         * Makefile.am (AM_CXXFLAGS): Define ECJ_JAR_FILE.
1880         * classpath/configure.ac: Add --with-ecj-jar configure option.
1881         * classpath/gnu/classpath/Configuration.java.in (ECJ_JAR): New
1882         field.
1883         * classpath/INSTALL: Document --with-ecj-jar configure option and
1884         ecj jar requirement for com.sun.tools.javac support.
1885         * classpath/tools/Makefile.am: Build decendents of com and sun
1886         directories.
1887         * configure.ac: Substitute ECJ_JAR in stub Configuration.java.
1888         * gnu/classpath/Configuration.java,
1889         gnu/classpath/natConfiguration.cc (ecj): New method.
1890         (ECJ_JAR): New field.
1891         * scripts/makemake.tcl (scan_packages): Add com directory.
1892         * sources.am (property_files): Add
1893         classpath/resource/sun/rmi/rmic/messages.properties and
1894         classpath/resource/com/sun/tools/javac/messages.properties.
1895         * classpath/resource/com, classpath/resource/com/sun,
1896         classpath/resource/com/sun/tools,
1897         classpath/resource/com/sun/tools/javac, classpath/resource/sun,
1898         classpath/resource/sun/rmi, classpath/resource/sun/rmi/rmic,
1899         classpath/tools/classes/com, classpath/tools/classes/com/sun,
1900         classpath/tools/classes/com/sun/javadoc,
1901         classpath/tools/classes/com/sun/tools,
1902         classpath/tools/classes/com/sun/tools/doclets,
1903         classpath/tools/classes/sun, classpath/tools/classes/sun/rmi,
1904         classpath/tools/classes/sun/rmi/rmic, classpath/tools/com,
1905         classpath/tools/com/sun, classpath/tools/com/sun/javadoc,
1906         classpath/tools/com/sun/tools,
1907         classpath/tools/com/sun/tools/doclets,
1908         classpath/tools/com/sun/tools/javac, classpath/tools/sun,
1909         classpath/tools/sun/rmi, classpath/tools/sun/rmi/rmic: New
1910         directories.
1911         * classpath/resource/com/sun/tools/javac/messages.properties,
1912         classpath/resource/sun/rmi/rmic/messages.properties,
1913         classpath/tools/classes/com/sun/javadoc/ClassDoc.class,
1914         classpath/tools/classes/com/sun/javadoc/ConstructorDoc.class,
1915         classpath/tools/classes/com/sun/javadoc/Doc.class,
1916         classpath/tools/classes/com/sun/javadoc/DocErrorReporter.class,
1917         classpath/tools/classes/com/sun/javadoc/Doclet.class,
1918         classpath/tools/classes/com/sun/javadoc/ExecutableMemberDoc.class,
1919         classpath/tools/classes/com/sun/javadoc/FieldDoc.class,
1920         classpath/tools/classes/com/sun/javadoc/MemberDoc.class,
1921         classpath/tools/classes/com/sun/javadoc/MethodDoc.class,
1922         classpath/tools/classes/com/sun/javadoc/PackageDoc.class,
1923         classpath/tools/classes/com/sun/javadoc/ParamTag.class,
1924         classpath/tools/classes/com/sun/javadoc/Parameter.class,
1925         classpath/tools/classes/com/sun/javadoc/ProgramElementDoc.class,
1926         classpath/tools/classes/com/sun/javadoc/RootDoc.class,
1927         classpath/tools/classes/com/sun/javadoc/SeeTag.class,
1928         classpath/tools/classes/com/sun/javadoc/SerialFieldTag.class,
1929         classpath/tools/classes/com/sun/javadoc/SourcePosition.class,
1930         classpath/tools/classes/com/sun/javadoc/Tag.class,
1931         classpath/tools/classes/com/sun/javadoc/ThrowsTag.class,
1932         classpath/tools/classes/com/sun/javadoc/Type.class,
1933         classpath/tools/classes/com/sun/javadoc/TypeVariable.class,
1934         classpath/tools/classes/com/sun/tools/doclets/Taglet.class,
1935         classpath/tools/classes/sun/rmi/rmic/Main.class,
1936         classpath/tools/classes/sun/rmi/rmic/Messages.class,
1937         classpath/tools/com/sun/javadoc/ClassDoc.java,
1938         classpath/tools/com/sun/javadoc/ConstructorDoc.java,
1939         classpath/tools/com/sun/javadoc/Doc.java,
1940         classpath/tools/com/sun/javadoc/DocErrorReporter.java,
1941         classpath/tools/com/sun/javadoc/Doclet.java,
1942         classpath/tools/com/sun/javadoc/ExecutableMemberDoc.java,
1943         classpath/tools/com/sun/javadoc/FieldDoc.java,
1944         classpath/tools/com/sun/javadoc/MemberDoc.java,
1945         classpath/tools/com/sun/javadoc/MethodDoc.java,
1946         classpath/tools/com/sun/javadoc/PackageDoc.java,
1947         classpath/tools/com/sun/javadoc/ParamTag.java,
1948         classpath/tools/com/sun/javadoc/Parameter.java,
1949         classpath/tools/com/sun/javadoc/ProgramElementDoc.java,
1950         classpath/tools/com/sun/javadoc/RootDoc.java,
1951         classpath/tools/com/sun/javadoc/SeeTag.java,
1952         classpath/tools/com/sun/javadoc/SerialFieldTag.java,
1953         classpath/tools/com/sun/javadoc/SourcePosition.java,
1954         classpath/tools/com/sun/javadoc/Tag.java,
1955         classpath/tools/com/sun/javadoc/ThrowsTag.java,
1956         classpath/tools/com/sun/javadoc/Type.java,
1957         classpath/tools/com/sun/javadoc/TypeVariable.java,
1958         classpath/tools/com/sun/tools/doclets/Taglet.java,
1959         classpath/tools/com/sun/tools/javac/Main.java,
1960         classpath/tools/com/sun/tools/javac/Messages.java,
1961         classpath/tools/sun/rmi/rmic/Main.java,
1962         classpath/tools/sun/rmi/rmic/Messages.java: New files.
1963         * Makefile.in, classpath/Makefile.in, classpath/configure,
1964         classpath/doc/Makefile.in, classpath/doc/api/Makefile.in,
1965         classpath/examples/Makefile.in, classpath/external/Makefile.in,
1966         classpath/external/jsr166/Makefile.in,
1967         classpath/external/relaxngDatatype/Makefile.in,
1968         classpath/external/sax/Makefile.in,
1969         classpath/external/w3c_dom/Makefile.in,
1970         classpath/include/Makefile.in, classpath/include/config.h.in,
1971         classpath/lib/Makefile.in,
1972         classpath/lib/gnu/classpath/Configuration.class,
1973         classpath/native/Makefile.in, classpath/native/fdlibm/Makefile.in,
1974         classpath/native/jawt/Makefile.in,
1975         classpath/native/jni/Makefile.in,
1976         classpath/native/jni/classpath/Makefile.in,
1977         classpath/native/jni/gconf-peer/Makefile.in,
1978         classpath/native/jni/gtk-peer/Makefile.in,
1979         classpath/native/jni/java-io/Makefile.in,
1980         classpath/native/jni/java-lang/Makefile.in,
1981         classpath/native/jni/java-net/Makefile.in,
1982         classpath/native/jni/java-nio/Makefile.in,
1983         classpath/native/jni/java-util/Makefile.in,
1984         classpath/native/jni/midi-alsa/Makefile.in,
1985         classpath/native/jni/midi-dssi/Makefile.in,
1986         classpath/native/jni/native-lib/Makefile.in,
1987         classpath/native/jni/qt-peer/Makefile.in,
1988         classpath/native/jni/xmlj/Makefile.in,
1989         classpath/native/plugin/Makefile.in,
1990         classpath/resource/Makefile.in, classpath/scripts/Makefile.in,
1991         classpath/tools/Makefile.in, configure,
1992         gnu/classpath/Configuration.h: Regenerate.
1994 2007-03-12  Kyle Galloway  <kgallowa@redhat.com>
1996         * jvmti.cc (_Jv_JVMTI_GetArgumentsSize): Make wide type arrays count
1997         as a sigle slot.
1999 2007-03-12  Marco Trudel  <mtrudel@gmx.ch>
2001         * java/lang/natString.cc (getBytes (jstring enc)):
2002         Fixed the loop for multiple cycles, Code cleanup
2004 2007-03-09  Tom Tromey  <tromey@redhat.com>
2006         * sources.am, Makefile.in: Rebuilt.
2007         * scripts/makemake.tcl (scan_directory): Allow service files to be
2008         omitted.
2009         Omit all XML-related service files.
2011 2007-03-07  Tom Tromey  <tromey@redhat.com>
2013         * configure: Rebuilt.
2014         * configure.ac: Clear vm-tools-packages.
2016 2007-03-07  Mohan Embar  <gnustuff@thisiscool.com>
2018         * java/lang/Win32Process.java: Added nested class EOFInputStream.
2019         * java/lang/natWin32Process.cc (ChildProcessPipe): Added DUMMY
2020         enum and implementation.
2021         (startProcess): Use redirect flag.
2022         * classpath/lib/java/lang/Win32Process.class: Regenerated.
2023         * classpath/lib/java/lang/Win32Process$EOFInputStream.class: New.
2024         * gcj/javaprims.h: Regenerated.
2025         * java/lang/Win32Process$EOFInputStream.h: New.
2027 2007-03-07  Andrew Haley  <aph@redhat.com>
2029         * libgcj_bc.c (JvRunMainName): Declare.
2031 2007-03-07  Gary Benson  <gbenson@redhat.com>
2033         * sources.am, Makefile.in: Rebuilt.
2035 2007-03-07  Mohan Embar  <gnustuff@thisiscool.com>
2037         * gcj/javaprims.h: Regenerated.
2039 2007-03-07  Alexandre Oliva  <aoliva@redhat.com>
2041         * include/jvm.h (_Jv_ClosureListFinalizer): New.
2042         (_Jv_Linker::create_error_method): Adjust.
2043         * boehm.cc (_Jv_ClosureListFinalizer): New.
2044         * nogc.cc (_Jv_ClosureListFinalizer): New.
2045         * java/lang/Class.h (class _Jv_ClosureList): New.
2046         (class java::lang::Class): Declare it as friend.
2047         * java/lang/natClass.cc (_Jv_ClosureList::releaseClosures): New.
2048         (_Jv_ClosureList::registerClousure): New.
2049         * include/execution.h (_Jv_ExecutionEngine): Add get_closure_list.
2050         (_Jv_CompiledEngine::do_get_closure_list): New.
2051         (_Jv_CompiledEngine::_Jv_CompiledEngine): Use it.
2052         (_Jv_IndirectCompiledClass): Add closures.
2053         (_Jv_IndirectCompiledEngine::get_aux_info): New.
2054         (_Jv_IndirectCompiledEngine::do_allocate_field_initializers): Use
2055         it.
2056         (_Jv_IndirectCompiledEngine::do_get_closure_list): New.
2057         (_Jv_IndirectCompiledEngine::_Jv_IndirectCompiledEngine): Use it.
2058         (_Jv_InterpreterEngine::do_get_closure_list): Declare.
2059         (_Jv_InterpreterEngine::_Jv_InterpreterEngine): Use it.
2060         * interpret.cc (FFI_PREP_RAW_CLOSURE): Use _loc variants.
2061         (node_closure): Add closure list.
2062         (_Jv_InterpMethod::ncode): Add jclass argument.  Use
2063         ffi_closure_alloc and the separate code pointer.  Register the
2064         closure for finalization.
2065         (_Jv_JNIMethod::ncode): Likewise.
2066         (_Jv_InterpreterEngine::do_create_ncode): Pass klass to ncode.
2067         (_Jv_InterpreterEngine::do_get_closure_list): New.
2068         * include/java-interp.h (_Jv_InterpMethod::ncode): Adjust.
2069         (_Jv_InterpClass): Add closures field.
2070         (_Jv_JNIMethod::ncode): Adjust.
2071         * defineclass.cc (_Jv_ClassReader::handleCodeAttribute): Adjust.
2072         (_Jv_ClassReader::handleMethodsEnd): Likewise.
2073         * link.cc (struct method_closure): Add closure list.
2074         (_Jv_Linker::create_error_method): Add jclass argument.  Use
2075         ffi_closure_alloc and the separate code pointer.  Register the
2076         closure for finalization.
2077         (_Jv_Linker::link_symbol_table): Remove outdated comment about
2078         sharing of otable and atable.  Adjust.
2079         * java/lang/reflect/natVMProxy.cc (ncode_closure): Add closure
2080         list.
2081         (ncode): Add jclass argument.  Use ffi_closure_alloc and the
2082         separate code pointer.  Register the closure for finalization.
2083         (java::lang::reflect::VMProxy::generateProxyClass): Adjust.
2084         * testsuite/libjava.jar/TestClosureGC.java: New.
2085         * testsuite/libjava.jar/TestClosureGC.out: New.
2086         * testsuite/libjava.jar/TestClosureGC.xfail: New.
2087         * testsuite/libjava.jar/TestClosureGC.jar: New.
2089 2007-03-06  Kyle Galloway  <kgallowa@redhat.com>
2091         * classpath/gnu/classpath/jdwp/exception/AbsentInformationException.java: New file.
2092         * classpath/lib/gnu/classpath/jdwp/exception/AbsentInformationException.class: Ditto.
2093         * gnu/classpath/jdwp/exception/AbsentInformationException.h: Ditto.
2094         * gnu/classpath/jdwp/natVMMethod.cc: Add CHECK_INTERP_CLASS macro.
2095         (VMMethod::getLineTable): Use new macro.
2096         (VMMethod::getVariableTable): Implement.
2097         * sources.am: Regenerated.
2098         * Makefile.in: Ditto.
2100 2007-03-06  Tom Tromey  <tromey@redhat.com>
2102         * Makefile.in: Rebuilt.
2103         * Makefile.am (bin_PROGRAMS): Added gcjh.
2104         (gcjh_SOURCES, gcjh_LDFLAGS, gcjh_LINK, gcjh_LDADD,
2105         gcjh_DEPENDENCIES): New variables.
2107 2007-03-06  Kyle Galloway  <kgallowa@redhat.com>
2109         * jvmti.cc(_Jv_JVMTI_GetLocalVariableTable): Fix _Jv_Malloc parameters.
2110         * testsuite/libjava.jvmti/interp/natgetlocalvartable.cc
2111         (do_getlocalvartable_tests): Add Deallocate calls to free strings.
2113 2007-03-05  Matthias Klose  <doko@debian.org>
2115         * Makefile.am (gij_LDFLAGS): Use dbexecdir.
2116         * Makefile.in: Regnerate.
2118 2007-03-05  Mark Wielaard  <mark@klomp.org>
2120         * java/lang/Character.java: Re-merged with Classpath.
2121         * java/lang/natString.cc (nativeCompareTo): Renamed from
2122         compareTo.
2123         * java/lang/StringBuilder.java: Re-merged with Classpath.
2124         * java/lang/String.java: Re-merged with Classpath.
2125         (nativeCompareTo): Renamed from compareTo.
2126         * java/lang/StringBuffer.java: Re-merged with Classpath.
2127         * jni.cc (_Jv_JNI_GetAnyMethodID): Split calls to append.
2129 2007-03-05  Andrew Haley  <aph@redhat.com>
2131         * java/lang/reflect/natVMProxy.cc (ncode_closure.meth): Delete.
2132         (generateProxyClass): Don't pass method to ncode.
2133         (run_proxy): Call _Jv_GetReflectedMethod to find the proxy method.
2134         * java/lang/reflect/Method.h: Rebuild.
2135         * java/lang/reflect/Method.java (internalGetParameterTypes,
2136         internalGetExceptionTypes): New methods.
2137         * headers.txt (class java/lang/reflect/Method): Declare
2138         _Jv_GetReflectedMethod.  Be its friend.
2139         * java/lang/natClass.cc (_Jv_GetReflectedMethod): New method.
2140         * java/lang/Class.h: Declare it.  Be its friend.
2142 2007-03-05  Tom Tromey  <tromey@redhat.com>
2144         * sources.am, Makefile.in: Rebuilt.
2145         * scripts/makemake.tcl (emit_package_rule): Don't omit
2146         VMProcess.java.
2147         * Makefile.am (nat_source_files): Added natVMProcess.cc.
2148         (inner_nat_headers): Added ImmediateEOFInputStream.h.
2149         * gcj/javaprims.h: Regenerated.
2150         * java/lang/System.java (EnvironmentMap): Now package-private.
2151         (EnvironmentMap(Map)): New constructor.
2152         (EnvironmentMap.put): New method.
2153         * java/lang/natWin32Process.cc (startProcess): Update.
2154         * java/lang/Win32Process.java (Win32Process): Added 'redirect'
2155         argument.
2156         (startProcess): Likewise.
2157         * java/lang/EcosProcess.java (EcosProcess): Added 'redirect'
2158         argument.
2159         * java/lang/natPosixProcess.cc (nativeSpawn): Handle redirection.
2160         * java/lang/PosixProcess.java (redirect): New field.
2161         (PosixProcess): Added 'redirect' argument.
2162         * java/lang/natRuntime.cc (execInternal): Added 'redirect'
2163         argument to Process creation.
2164         * java/lang/natVMProcess.cc: New file.
2165         * java/lang/ProcessBuilder.java: Removed.
2166         * java/lang/VMProcess.java: New file.
2168 2007-03-03  Andrew Haley  <aph@redhat.com>
2170         * java/lang/natClass.cc (parseAnnotationElement): Correct long
2171         annotations to read JV_CONSTANT_Long, not JV_CONSTANT_Double.
2173 2007-03-02  Andrew Haley  <aph@redhat.com>
2175         * sun/reflect/annotation/AnnotationInvocationHandler.java:
2176         Generify in a few places.
2177         (equals): Rewrite to use invoke on local proxy.
2178         (deepToString): Remove most of it.
2179         (toString): Make nonstatic.
2180         (arrayClone): Delete.
2181         (coerce): New method.
2182         (invoke): Rewrite to handle gcj's structures correctly.
2183         * java/lang/natClass.cc (getDeclaredAnnotations): Fix test for
2184         null loader.
2185         * sources.am: Regenerate.
2186         * Makefile.am: Likewise.        
2188 2007-03-02  Andrew Haley  <aph@redhat.com>
2190         * sun/reflect/annotation/AnnotationInvocationHandler.java:
2191         Whitespace only changes.
2193 2007-03-02  Andrew Haley  <aph@redhat.com>
2195         * sun/reflect/annotation/AnnotationInvocationHandler.java: Moved
2196         from Classpath to libgcj local.
2198 2007-03-01  Brooks Moses  <brooks.moses@codesourcery.com>
2200         * Makefile.am: Add dummy install-pdf target.
2201         * Makefile.in: Regenerate
2202         * include/Makefile.in: Regenerate
2203         * testsuite/Makefile.in: Regenerate
2204         * gcj/Makefile.in: Regenerate
2206 2007-02-23  Gary Benson  <gbenson@redhat.com>
2208         * gnu/gcj/tools/gcj_dbtool/Main.java: Updated copyright year.
2210 2007-02-23  Gary Benson  <gbenson@redhat.com>
2212         * java/lang/VMCompiler.java
2213         (compileClass): Don't lose zeros from within the digest.
2215 2007-02-22  Jakub Jelinek  <jakub@redhat.com>
2217         PR libgcj/17002
2218         PR classpath/28550
2219         * java/util/VMTimeZone.java (getDefaultTimeZoneId): To read
2220         /etc/localtime, use ZoneInfo.readTZFile instead of
2221         VMTimeZone.readtzFile.  Get better timezone name for /etc/localtime,
2222         either if it is a symlink or through /etc/sysconfig/clock.
2223         (readSysconfigClockFile): New static method.
2224         (readtzFile): Removed.
2225         * java/lang/System.java: Add gnu.java.util.zoneinfo.dir to comments.
2226         * posix.cc (_Jv_platform_initProperties): Set
2227         gnu.java.util.zoneinfo.dir.
2228         * sources.am (gnu_java_util_source_files): Add
2229         classpath/gnu/java/util/ZoneInfo.java.
2230         * Makefile.in: Regenerated.
2231         * java/util/VMTimeZone.h: Regenerated.
2232         * java/util/TimeZone.h: Regenerated.
2233         * gnu/java/util/ZoneInfo.h: Generated.
2235 2007-02-22  Mohan Embar  <gnustuff@thisiscool.com>
2237         * include/win32-threads.h: Added #undef OUT.
2239 2007-02-21  Kyle Galloway  <kgallowa@redhat.com>
2241         * jvmti.cc (_Jv_JVMTI_GetArgumentsSize): New function.
2242         * testsuite/libjava.jvmti/interp/getargssize.java: New test.
2243         * testsuite/libjava.jvmti/interp/getargssize.h: Ditto.
2244         * testsuite/libjava.jvmti/interp/getargssize.jar: Ditto.
2245         * testsuite/libjava.jvmti/interp/getargssize.out: Ditto.
2246         * testsuite/libjava.jvmti/interp/natgetargssize.cc: Ditto.
2248 2007-02-21  Gary Benson  <gbenson@redhat.com>
2250         * java/util/GregorianCalendar.java: Removed.
2251         * sources.am, Makefile.in: Rebuilt.
2253 2007-02-20  Keith Seitz  <keiths@redhat.com>
2255         * gnu/classpath/jdwp/natVMVirtualMachine.cc
2256         (jdwpClassPrepareCB): Move class status stuff to ...
2257         (getClassStatus): ... here.
2259 2007-02-20  Gary Benson  <gbenson@redhat.com>
2261         * gnu/awt/xlib/XEventLoop.h: Regenerated.
2262         * gnu/java/awt/peer/gtk/GThreadMutex.h: Likewise.
2263         * gnu/java/rmi/server/ConnectionRunnerPool$ConnectionRunner.h:
2264         Likewise.
2265         * gnu/java/rmi/server/UnicastConnectionManager.h: Likewise.
2266         * java/lang/SecurityManager.h: Likewise.
2267         * java/lang/Thread.h: Likewise.
2268         * java/security/VMSecureRandom$Spinner.h: Likewise.
2269         * java/util/concurrent/atomic/AtomicBoolean.h: Likewise.
2270         * java/util/concurrent/atomic/AtomicInteger.h: Likewise.
2271         * java/util/concurrent/atomic/AtomicLong.h: Likewise.
2272         * java/util/concurrent/atomic/AtomicReference.h: Likewise.
2273         * java/util/concurrent/ConcurrentHashMap$HashEntry.h: Likewise.
2274         * java/util/concurrent/ConcurrentHashMap$Segment.h: Likewise.
2275         * java/util/concurrent/ConcurrentLinkedQueue.h: Likewise.
2276         * java/util/concurrent/ConcurrentLinkedQueue$Node.h: Likewise.
2277         * java/util/concurrent/ConcurrentSkipListMap.h: Likewise.
2278         * java/util/concurrent/ConcurrentSkipListMap$Index.h: Likewise.
2279         * java/util/concurrent/ConcurrentSkipListMap$Node.h: Likewise.
2280         * java/util/concurrent/Exchanger.h: Likewise.
2281         * java/util/concurrent/Exchanger$Node.h: Likewise.
2282         * java/util/concurrent/FutureTask$Sync.h: Likewise.
2283         * java/util/concurrent/LinkedBlockingQueue$Node.h: Likewise.
2284         * java/util/concurrent/locks/AbstractQueuedLongSynchronizer.h:
2285         Likewise.
2286         * java/util/concurrent/locks/AbstractQueuedLongSynchronizer$Node.h: 
2287         Likewise.
2288         * java/util/concurrent/locks/AbstractQueuedSynchronizer.h: Likewise.
2289         * java/util/concurrent/locks/AbstractQueuedSynchronizer$Node.h:
2290         Likewise.
2291         * java/util/concurrent/ScheduledThreadPoolExecutor.h: Likewise.
2292         * java/util/concurrent/SynchronousQueue.h: Likewise.
2293         * java/util/concurrent/SynchronousQueue$TransferQueue.h: Likewise.
2294         * java/util/concurrent/SynchronousQueue$TransferQueue$QNode.h:
2295         Likewise.
2296         * java/util/concurrent/SynchronousQueue$TransferStack.h: Likewise.
2297         * java/util/concurrent/SynchronousQueue$TransferStack$SNode.h:
2298         Likewise.
2299         * java/util/concurrent/ThreadPoolExecutor.h: Likewise.
2300         * java/util/concurrent/ThreadPoolExecutor$Worker.h: Likewise.
2301         * java/util/logging/ErrorManager.h: Likewise.
2302         * javax/swing/plaf/basic/BasicSpinnerUI$2.h: Likewise.
2303         * javax/swing/plaf/basic/BasicSpinnerUI$4.h: Likewise.
2305 2007-02-16  Keith Seitz  <keiths@redhat.com>
2307         * gnu/classpath/jdwp/natVMVirtualMachine.cc
2308         (get_line_table): New function.
2309         (handle_single_step): New function.
2310         (jdwpSingleStepCB): New function.
2311         (jdwpVMInitCB): Define a JVMTI single step
2312         callback, but don't enable it until needed.
2314 2007-02-16  David Daney  <ddaney@avtrex.com>
2316         * java/lang/Thread.java (Thread(ThreadGroup, Runnable, String)): Pass
2317         new parameter constructor.
2318         (Thread(ThreadGroup, Runnable, String, long)): Same.
2319         (Thread(String, boolean)): New constructor.
2320         (Thread(Thread, ThreadGroup, Runnable, String): Add parameter
2321         noInheritableThreadLocal, don't call
2322         InheritableThreadLocal.newChildThread if set.
2323         * java/lang/PosixProcess.java(ProcessManager()): Set
2324         noInheritableThreadLocal in super.
2325         * java/lang/natThread.cc (_Jv_AttachCurrentThread): Pass new
2326         parameter to Thread constructor.
2327         (_Jv_AttachCurrentThreadAsDaemon): Same.
2328         * java/lang/Thread.h: Regenerate.
2329         * classpath/lib/java/lang/Thread.class: Same.
2330         * classpath/lib/java/lang/PosixProcess$EOFInputStream.class: Same.
2331         * classpath/lib/java/lang/PosixProcess.class: Same.
2332         * classpath/lib/java/lang/Thread$State.class: Same.
2333         * classpath/lib/java/lang/PosixProcess$ProcessManager.class: Same.
2335 2007-02-16  Kyle Galloway  <kgallowa@redhat.com>
2337         * interpret.cc: Add extra DEBUG_LOCALS_INSN calls for multi-slot
2338         variables to maintain type info.
2339         * interpret-run.cc: Add local variable info to frame in the debug
2340         interpreter.
2341         * jvmti.cc (getLocalFrame): New method.
2342         (_Jv_JVMTI_GetLocalObject): New method.
2343         (_Jv_JVMTI_GetLocallInt): New method.
2344         (_Jv_JVMTI_GetLocalFloat): New method.
2345         (_Jv_JVMTI_GetLocalLong): New method.
2346         (_Jv_JVMTI_GetLocalDouble): New method.
2347         (_Jv_JVMTI_SetLocalObject): New method.
2348         (_Jv_JVMTI_SetLocalInt): New method.
2349         (_Jv_JVMTI_SetLocalFloat): New method.
2350         (_Jv_JVMTI_SetLocalLong): New method.
2351         (_Jv_JVMTI_SetLocalDouble): New method.
2353 2007-02-16  Gary Benson  <gbenson@redhat.com>
2355         * gnu/gcj/tools/gcj_dbtool/Main.java
2356         (bytesToString): Don't lose zeros from within the digest.
2358 2007-02-15  Andrew Haley  <aph@redhat.com>
2360         * Makefile.am (nat_source_files): Remove
2361         java/lang/management/natVMManagementFactory.cc.
2362         * java/lang/Thread.java (getStackTrace): Use reflection to call
2363         the ManagementFactory.
2364         * java/lang/management/VMManagementFactory.java: Remove native
2365         methods.
2366         * java/lang/management/natVMManagementFactory.cc: Deleted.
2367         * sources.am: Regnerate.
2368         * scripts/makemake.tcl: Add new "bcheaders" type.
2369         Move java/lang/management and gnu/classpath/management to "bc".
2370         Move gnu/java/lang/management to "bcheaders".
2371         
2372 2007-02-15  Kyle Galloway  <kgallowa@redhat.com>
2373         
2374         * interpret.cc (_Jv_InterpMethod::check_handler): New method.
2375         * interpret-run.cc: Change the catch section to report exception
2376         events and to use the new check_handler method.
2377         * include/java-interp.h (_Jv_InterpMethod): Add check_handler.
2378         * gnu/gcj/jvmti/ExceptionEvent.java: New file.
2379         * gnu/gcj/jvmti/ExceptionEvent.h: New file.
2380         * gnu/gcj/jvmti/natExceptionEvent.cc: New file.
2381         * libjava/classpath/lib/gnu/gcj/jvmti/ExceptionEvent.class: New
2382         file.
2383         * sources.am: Added ExceptionEvent.java.
2384         * Makefile.am: Added natExceptionEvent.cc
2385         * Makefile.in: Regenerated.
2386         * include/Makefile.in: Regenerated.
2387         * gcj/Makefile.in: Regenerated.
2389 2007-02-15  Johannes Schmidt  <jschmidt@avtrex.com>
2390         David Daney  <ddaney@avtrex.com>
2392         * configure.ac: Create vm-tools-packages file.  Add 
2393         gnu/gcj/tools/gc_analyze to standard.omit and vm-tools-packages.
2394         Check for /proc/self/maps.
2395         * Makefile.am (bin_PROGRAMS): Added gc-analyze.
2396         (gc_analyze_SOURCES): New.
2397         (gc_analyze_LDFLAGS): New.
2398         (gc_analyze_LINK): New.
2399         (gc_analyze_LDADD): New.
2400         (gc_analyze_DEPENDENCIES): New.
2401         (nat_source_files): Add gnu/gcj/util/natGCInfo.cc.
2402         * Makefile.in: Regenerated.
2403         * configure: Regenerated.
2404         * include/config.h.in: Regenerated.
2405         * sources.am: Regenerated.
2406         * scripts/makemake.tcl: Don't include gc-analyze classes in libgcj.
2407         * gnu/gcj/tools/gc_analyze/SymbolLookup.java: New.
2408         * gnu/gcj/tools/gc_analyze/ObjectMap.java: New.
2409         * gnu/gcj/tools/gc_analyze/MemoryMap.java: New.
2410         * gnu/gcj/tools/gc_analyze/SymbolTable.java: New.
2411         * gnu/gcj/tools/gc_analyze/BlockMap.java: New.
2412         * gnu/gcj/tools/gc_analyze/BytePtr.java: New.
2413         * gnu/gcj/tools/gc_analyze/ItemList.java: New.
2414         * gnu/gcj/tools/gc_analyze/ToolPrefix.java: New.
2415         * gnu/gcj/tools/gc_analyze/MemoryAnalyze.java: New.
2416         * gnu/gcj/util/GCInfo.java: New.
2417         * gnu/gcj/util/GCInfo.h: New.
2418         * gnu/gcj/util/natGCInfo.cc: New.
2419         * gnu/gcj/util/UtilPermission.java: New.
2420         * gnu/gcj/util/UtilPermission.h: New.
2421         * classpath/tools/gnu/gcj/tools/gc_analyze/SymbolTable.class: New.
2422         * classpath/tools/gnu/gcj/tools/gc_analyze/ObjectMap$ObjectItem.class: New.
2423         * classpath/tools/gnu/gcj/tools/gc_analyze/MemoryMap$RangeComparator.class: New.
2424         * classpath/tools/gnu/gcj/tools/gc_analyze/BlockMap$PtrMarks.class: New.
2425         * classpath/tools/gnu/gcj/tools/gc_analyze/MemoryMap$Range.class: New.
2426         * classpath/tools/gnu/gcj/tools/gc_analyze/BlockMap.class: New.
2427         * classpath/tools/gnu/gcj/tools/gc_analyze/BytePtr.class: New.
2428         * classpath/tools/gnu/gcj/tools/gc_analyze/MemoryAnalyze$SubstringComparator.class: New.
2429         * classpath/tools/gnu/gcj/tools/gc_analyze/ItemList.class: New.
2430         * classpath/tools/gnu/gcj/tools/gc_analyze/ToolPrefix.class: New.
2431         * classpath/tools/gnu/gcj/tools/gc_analyze/MemoryAnalyze.class: New.
2432         * classpath/tools/gnu/gcj/tools/gc_analyze/MemoryAnalyze$1$Info.class: New.
2433         * classpath/tools/gnu/gcj/tools/gc_analyze/MemoryAnalyze$1.class: New.
2434         * classpath/tools/gnu/gcj/tools/gc_analyze/MemoryAnalyze$2.class: New.
2435         * classpath/tools/gnu/gcj/tools/gc_analyze/MemoryAnalyze$3.class: New.
2436         * classpath/tools/gnu/gcj/tools/gc_analyze/MemoryAnalyze$4.class: New.
2437         * classpath/tools/gnu/gcj/tools/gc_analyze/MemoryAnalyze$OptionParser.class: New.
2438         * classpath/tools/gnu/gcj/tools/gc_analyze/BlockMap$SizeKind.class: New.
2439         * classpath/tools/gnu/gcj/tools/gc_analyze/SymbolLookup.class: New.
2440         * classpath/tools/gnu/gcj/tools/gc_analyze/ObjectMap.class: New.
2441         * classpath/tools/gnu/gcj/tools/gc_analyze/MemoryMap.class: New.
2442         * classpath/lib/gnu/gcj/util/GCInfo.class: New.
2443         * classpath/lib/gnu/gcj/util/UtilPermission.class: New.
2445 2007-02-15  David Daney  <ddaney@avtrex.com>
2447         * gnu/java/net/PlainSocketImpl.h: Regenerate.
2448         * gnu/classpath/jdwp/VMVirtualMachine.h: Same.
2449         * gnu/classpath/jdwp/VMFrame.h: Same.
2450         * java/net/Socket.h: Same.
2451         * java/util/Collections$UnmodifiableMap$UnmodifiableEntrySet.h: Same.
2453 2007-02-15  Kyle Galloway  <kgallowa@redhat.com>
2455         * defineclass.cc (_Jv_ClassReader::read_one_code_attribute):
2456         Added LocalVariableTable attribute handling.
2457         (_Jv_ClassReader::pool_Utf8_to_char_arr): New method.
2458         * jvmti.cc (_Jv_JVMTI_GetLocalVariableTable): New method.
2459         * include/java-interp.h: Added local_var_table and 
2460         local_var_table_len fields to _Jv_InterpMethod.
2461         (_Jv_InterpMethod::get_local_var_table): New method.
2462         * testsuite/libjava.jvmti/interp/getlocalvartable.java: New test.
2463         * testsuite/libjava.jvmti/interp/getlocalvartable.jar: New test.
2464         * testsuite/libjava.jvmti/interp/getlocalvartable.out: Output
2465         for new test.
2466         * testsuite/libjava.jvmti/interp/getlocalvartable.h: New test.
2467         * testsuite/libjava.jvmti/interp/natgetlocalvartable.cc: New test.
2469 2007-02-15  Kyle Galloway  <kgallowa@redhat.com>
2471         * gnu/classpath/jdwp/natVMVirtualMachine (getFrames): Implement.
2473 2007-02-13  Keith Seitz  <keiths@redhat.com>
2475         * gnu/classpath/jdwp/natVMVirtualMachine.cc
2476         (jdwpBreakpointCB): New function.
2477         (jdwpVMInitCB): Define and enable the breakpoint
2478         callback.
2480 2007-02-13  Andrew Haley  <aph@redhat.com>
2482         * testsuite/libjava.lang/Divide_2.out
2483         * testsuite/libjava.lang/Divide_2.java: New test.
2485 2007-02-12  Keith Seitz  <keiths@redhat.com>
2487         * jvmti.cc (_Jv_JVMTI_GetStackTrace): Remove cast
2488         from jthread to Thread *; it is no longer needed.
2489         (_Jv_JVMTI_GetFrameCount): Likewise.
2490         Fix small formatting typo.
2492 2007-02-12  Tom Tromey  <tromey@redhat.com>
2494         * sources.am, Makefile.in: Rebuilt.
2495         * java/lang/Socket.java: Removed override.
2496         * java/lang/DatagramSocket.java: Removed override.
2497         * gnu/java/net/PlainSocketImpl.java (localSocketAddress): New
2498         field.
2499         (getLocalAddress): New method.
2500         * gnu/java/net/PlainDatagramSocketImpl.java
2501         (PlainDatagramSocketImpl): Throws IOException.
2502         * gnu/java/net/natPlainSocketImplPosix.cc (write): Remove
2503         'sizeof'.
2504         (read): Likewise.
2506 2007-02-09  Jakub Jelinek  <jakub@redhat.com>
2508         * java/util/VMTimeZone.java: Rewrite to handle both the old
2509         'TZif\0' format and the new one.
2510         
2511 2007-02-10  Andrew Haley  <aph@redhat.com>
2513         PR java/30742
2514         * gnu/classpath/natVMStackWalker.cc (GET_CALLING_CLASS): New.
2515         (getCallingClass): Call GET_CALLING_CLASS.
2516         (getCallingClassLoader): Likewise.
2518 2007-02-10  Mohan Embar  <gnustuff@thisiscool.com>
2520         * configure: Rebuilt.
2521         * configure.ac (GCJH): Reverted second part of patch of 2006-12-20.
2523 2007-02-10  Mohan Embar  <gnustuff@thisiscool.com>
2525         * Makefile.in: Rebuilt.
2526         * Makefile.am (BUILD_ECJ1): Unify the command for renaming ecjx to
2527         the host's ecj1 executable.
2529 2007-02-09  Richard Henderson  <rth@redhat.com>
2531         * sysdep/alpha/locks.h (read_barrier): New.
2533 2007-02-09  Keith Seitz  <keiths@redhat.com>
2535         * gnu/classpath/jdwp/VMVirtualMachine.java
2536         (_stepping_threads): New member.
2537         * classpath/lib/gnu/classpath/jdwp/VMVirtualMachine.class:
2538         Regenerated.
2539         * gnu/classpath/jdwp/VMVirtualMachine.h:
2540         Regenerated.
2541         * gnu/claspath/jdwp/natVMVirtualMachine.cc
2542         (get_request_step_filter): New function.
2543         (DISABLE_EVENT): New macro.
2544         (initialize): Initialize _stepping_threads.
2545         (registerEvent): Implement EVENT_SINGLE_STEP.
2546         (unregisterEvent): Likewise.
2548 2007-02-08  Keith Seitz  <keiths@redhat.com>
2550         * sources.am: Regenerate.
2551         * Makefile.in: Regenerate.
2552         * testsuite/Makefile.in: Regenerate.
2553         * gcj/Makefile.in: Regenerate.
2554         * include/Makefile.in: Regenerate.
2556         * classpath/lib/javax/management/MBeanServerFactory.class:
2557         Regenerate.
2559 2007-02-08  Kyle Galloway  <kgallowa@redhat.com>
2561         * classpath/gnu/classpath/jdwp/processor/
2562         StackFrameCommandSet.java (executeGetValues): Pass jlong instead
2563         of ByteBuffer.
2564         (executeSetValues): Ditto.
2565         (executeThisObject): Ditto.
2566         * classpath/gnu/classpath/jdwp/processor/
2567         StackFrameCommandSet.class: Rebuilt.
2568         * classpath/lib/gnu/classpath/jdwp/VMVirtualMachine.class:
2569         Rebuilt.
2570         * classpath/lib/gnu/classpath/jdwp/VMFrame.class: Rebuilt.
2571         * classpath/lib/gnu/classpath/jdwp/exception/
2572         InvalidFrameException.java: New file.
2573         * gnu/classpath/jdwp/VMFrame.java: Added field for thread of
2574         frame.
2575         (Constructor): New method.
2576         * gnu/classpath/jdwp/VMFrame.h: Regenerated.
2577         * gnu/classpath/jdwp/VMVirtualMachine.java
2578         (getFrame): Changed ByteBuffer to jlong.
2579         * gnu/classpath/jdwp/natVMVirtualMachine.cc
2580         (getFrame): Implement.
2581         * gnu/classpath/jdwp/VMVirtualMachine.h: Regenerated.
2583 2007-02-08  Kyle Galloway  <kgallowa@redhat.com>
2585         * include/java-interp.h (_Jv_InterpFrame): obj_ptr field added
2586         to hold "this" pointer for frame.
2587         (_Jv_InterpFrame::get_this_ptr): New method.
2588         * interpret-run.cc: Copy the "this" pointer into obj_ptr.
2590 2007-02-07  Keith Seitz  <keiths@redhat.com>
2592         * include/java-interp.h (_Jv_Frame::depth):
2593         New function.
2594         * jvmti.cc (_Jv_JVMTI_GetFrameCount): Use _Jv_Frame::depth.
2596 2007-02-07  Kyle Galloway  <kgallowa@redhat.com>
2598         * jvmti.cc (CHECK_FOR_NATIVE_METHOD): New macro.
2599         (_Jv_JVMTI_GetMaxLocals): New method.
2600         * include/java-interp.h
2601         (_Jv_InterpMethod::get_max_locals): New method.
2603 2007-02-01 Marco Trudel <mtrudel@gmx.ch>
2605         * jni.cc (_Jv_JNI_DeleteWeakGlobalRef): Check for NULL objects.
2607 2007-02-07  Tom Tromey  <tromey@redhat.com>
2609         * testsuite/libjava.jni/init.c: New file.
2610         * testsuite/libjava.jni/init.java: New file.
2611         * testsuite/libjava.jni/init.out: New file.
2612         * testsuite/libjava.jni/init.jar: New file.
2613         * testsuite/libjava.jni/init.h: New file.
2614         * testsuite/libjava.jni/init$NativeClass.h: New file.
2616 2007-02-07  Jakub Jelinek  <jakub@redhat.com>
2618         PR libgomp/28468
2619         * configure: Regenerate.
2621 2007-02-06  Andrew Haley  <aph@redhat.com>
2623         * scripts/makemake.tcl (emit_bc_rule): Set the source filename.
2624         * sources.am: Rebuild.
2626 2007-02-05  Keith Seitz  <keiths@redhat.com>
2628         * jvmti.cc (_envListLock): Change type to
2629         ReentrantReadWriteLock.
2630         (_Jv_JVMTI_DisposeEnvironment): Switch to read/write
2631         lock.
2632         (check_enabled_event): Likewise.
2633         (_Jv_GetJVMTIEnv): Likewise.
2634         (_Jv_JVMTI_Init): Likewise.
2635         (_Jv_JVMTI_PostEvent): Likewise. 
2637 2007-02-05  Keith Seitz  <keiths@redhat.com>
2639         * gnu/classpath/jdwp/natVMVirtualMachine.cc
2640         (registerEvent): Implement EVENT_BREAKPOINT.
2641         (unregisterEvent): Likewise.
2642         (get_request_location): New function.
2644 2007-02-05  Matthias Klose  <doko@debian.org>
2646         testsuite/Makefile.am (compile-tests): Fix typo.
2647         testsuite/Makefile.in: Regenerate.
2649 2007-02-02  Kyle Galloway  <kgallowa@redhat.com>
2651         * gnu/classpath/jdwp/natVMVirtualMachine.cc (getFrameCount):
2652         Implment.
2654 2007-02-02  Jakub Jelinek  <jakub@redhat.com>
2656         * configure.ac (libjava_cv_anon_version_script): New test.
2657         (ANONVERSCRIPT): New AM_CONDITIONAL.
2658         * configure: Rebuilt.
2659         * Makefile.am (extra_ldflags_libjava): Link with -Wl,--version-script
2660         if ANONVERSCRIPT.
2661         * Makefile.in: Rebuilt.
2662         (libgcj_la_DEPENDENCIES): Depend on libgcj.ver.
2663         * libgcj.ver: New file.
2665 2007-02-01  David Daney  <ddaney@avtrex.com>
2667         * scripts/makemake.tcl: Replace gnu/xml build with build of all
2668         its subpackages.
2669         * sources.am: Regenerate.
2670         * Makefile.in: Regenerate.
2672 2007-02-01  Tom Tromey  <tromey@redhat.com>
2674         * java/lang/ClassLoader.java (getResources): No longer final.
2676 2007-02-01  Tom Tromey  <tromey@redhat.com>
2678         * java/util/logging/LogManager.java (loggers): Genericized.
2679         (addLogger): Merged.
2680         (findAncestor): Likewise.
2681         (getLogger): Likewise.
2682         (getLoggerNames): Genericized.
2683         (reset): Merged.
2684         (getLevelProperty): Likewise.
2685         * java/lang/reflect/Method.java (getDeclaringClass): Genericized.
2686         * java/lang/reflect/Constructor.java (getParameterTypes):
2687         Genericized.
2688         (getExceptionTypes): Likewise.
2689         (newInstance): Likewise.
2690         * java/lang/reflect/Array.java (newInstance): Genericized.
2691         * java/lang/Object.java (getClass): Genericized.
2692         * java/nio/charset/spi/CharsetProvider.java (charsets):
2693         Genericized.
2694         * java/text/Collator.java: Implement Comparable<Object>.
2696 2007-02-01  Tom Tromey  <tromey@redhat.com>
2698         * java/util/Calendar.java: Implement Comparable<Calendar>.  Update
2699         comments.
2700         (clear): Call complete.
2701         (setTimeZone): Call computeTime, computeFields.
2702         (compareTo): New method.
2703         * java/nio/charset/Charset.java: Implement Comparable<Charset>.
2704         (availableCharsets): Genericized.
2705         (aliases): Likewise.
2706         (compareTo): Changed argument type.
2707         * java/lang/ClassLoader.java (loadClass): Genericized.
2708         (findClass): Likewise.
2709         (defineClass): Likewise.
2710         (resolveClass): Likewise.
2711         (findSystemClass): Likewise.
2712         (setSigners): Likewise.
2713         (findLoadedClass): Likewise.
2714         (getResources): Likewise.
2715         (findResources): Likewise.
2716         (getSystemResources): Likewise.
2717         (checkInitialized): New method.
2718         * java/lang/Class.java (getCanonicalName): New method.
2720 2007-01-31  Keith Seitz  <keiths@redhat.com>
2722         * include/jvmti-int.h (JVMTI): Declare member "enabled".
2723         * jvmti.cc (JVMTI): Add member "enabled".
2724         (_Jv_GetJVMTIEnv): Mark JVMTI enabled.
2725         * interpret.cc (_Jv_InterpMethod::ncode): Use JVMTI::enabled
2726         instead of gnu::classpath::jdwp::Jdwp::isDebugging.
2727         (_Jv_CompileMethod): If JVMTI is enabled, use run_debug
2728         instead of run to compile the method.
2730         * interpret-run.cc [DEBUG] (NEXT_INSN): Add JVMTI single step
2731         notification.
2733 2007-01-31  Andreas Tobler  <a.tobler@schweiz.org>
2735         * testsuite/libjava.jvmti/jvmti-interp.exp (gij_jvmti_test_one): Add
2736         -shared-libgcc to the cxxflaglist for Darwin.
2738 2007-01-31  Tom Tromey  <tromey@redhat.com>
2740         * scripts.am, Makefile.in: Rebuilt.
2741         * scripts/makemake.tcl (gnu/javax/swing/text/html/parser): Build
2742         as 'ordinary'.
2743         (emit_ordinary_rule): New proc.
2745 2007-01-31  Keith Seitz  <keiths@redhat.com>
2747         * testsuite/libjava.jvmti/getmethodname.h: New file.
2748         * testsuite/libjava.jvmti/getmethodname.jar: New file.
2750 2007-01-31  Andrew Haley  <aph@redhat.com>
2752         * prims.cc (_Jv_Abort): fflush (stderr).
2753         * java/lang/natClassLoader.cc (_Jv_CheckABIVersion): Abort.
2755 2007-01-31  Tom Tromey  <tromey@redhat.com>
2757         * configure, Makefile.in: Rebuilt.
2758         * configure.ac (JAR): Check for -@ feature.
2759         * Makefile.am (libgcj-$(gcc_version).jar): Use find -prune.
2761 2007-01-31  Tom Tromey  <tromey@redhat.com>
2763         PR libgcj/30606:
2764         * configure, include/config.h.in: Rebuilt.
2765         * configure.ac: Check for magic_t in magic.h.
2766         * java/net/natVMURLConnection.cc: Use HAVE_MAGIC_T.
2768 2007-01-30  Tom Tromey  <tromey@redhat.com>
2770         * Makefile.in: Rebuilt.
2771         * Makefile.am (libgcj-$(gcc_version).jar): Rewrote.
2773 2007-01-30  Andreas Tobler  <a.tobler@schweiz.org>
2775         * testsuite/libjava.jvmti/natevents.cc (FieldModificationCB): Use a
2776         cast to print it right.
2778 2007-01-29  Kaloian Doganov  <kaloian@doganov.org>
2780         PR libgcj/30600:
2781         * gnu/gcj/convert/BytesToCharsetAdaptor.java (read): Fix call to
2782         'limit'.
2784 2007-01-29  Kyle Galloway  <kgallowa@redhat.com>
2786         * include/java-interp.h:  Added _Jv_Frame class and its two
2787         subclasses _Jv_InterpFrame and _Jv_NativeFrame.  Also moved
2788         _Jv_FrameType from java-stack.h.
2789         * include/java-stack.h: Removed _Jv_FrameType.
2790         * java/lang/Thread.java: Added frame member to hold new
2791         composite frame stack.
2792         * java/lang/Thread.h: Regenerated.
2793         * java/lang/Thread.class: Rebuilt.
2794         * jni.cc (_Jv_JNIMethod::call): Push a frame onto the stack when
2795         calling a JNI method.
2796         * jvmti.cc (_Jv_JVMTI_GetStackTrace): New Method.
2797         (_Jv_JVMTI_GetFrameCount): New method.
2798         * stacktrace.cc (UnwindTraceFn): Modified to use new _Jv_Frame
2799         classes.
2800         * testsuite/libjava.jvmti/interp/getstacktrace.jar: New test.
2801         * testsuite/libjava.jvmti/interp/natgetstacktrace.cc: New test.
2802         * testsuite/libjava.jvmti/interp/getstacktrace.h: New test.
2803         * testsuite/libjava.jvmti/interp/getstacktrace.jar: New test.
2804         * testsuite/libjava.jvmti/interp/getstacktrace.out: Output file
2805         for test. 
2807 2007-01-29  Tom Tromey  <tromey@redhat.com>
2809         * interpret.cc (run_debug): Remove comment.
2810         (STOREA): Reformat.
2811         (STOREI): Likewise.
2812         (STOREF): Likewise.
2813         (STOREL): Likewise.
2814         (STORED): Likewise.
2815         (POKEI): Likewise.
2816         (run_normal_debug): Likewise.
2817         (run_synch_object_debug): Likewise.
2818         (run_class_debug): Likewise.
2819         (run_synch_class_debug): Likewise.
2820         (get1s): Likewise.
2821         (get1u): Likewise.
2822         (get2u): Likewise.
2823         (get4): Likewise.
2824         (NULLARRAYCHECK): Likewise.
2825         (ARRAYBOUNDSCHECK): Likewise.
2826         * interpret-run.cc (insn_target) <breakpoint>: Tidy.
2828 2007-01-29  Tom Tromey  <tromey@redhat.com>
2830         * configure, Makefile.in: Rebuilt.
2831         * Makefile.am (bin_SCRIPTS): Never install scripts/jar.
2832         * configure.ac (BASH_JAR): Removed conditional.
2833         (JAR): Prefer the jar found by AC_CHECK_PROGS.
2835 2007-01-29  Tom Tromey  <tromey@redhat.com>
2837         * Makefile.in: Rebuilt.
2838         * Makefile.am (interpret.lo): New target.  Add -fwrap to
2839         AM_CXXFLAGS.
2841 2007-01-29  Keith Seitz  <keiths@redhat.com>
2843         * include/jvmti_md.h (_CLASSPATH_VM_JVMTI_TYPES_DEFINED):
2844         Define.
2845         [__GCJ_JNI_IMPL__]: Define our own JVMTI types when building
2846         gcj. All jvmti object types now are defined to be their
2847         corresponding java classes.
2848         * jvmti.cc (_Jv_JVMTI_SuspendThread): Remove casting from
2849         jthread to Thread*.
2850         (_Jv_JVMTI_ResumeThread): Likewise.
2851         (_Jv_JVMTI_InterruptThread): Likewise.
2852         (_Jv_JVMTI_SetEventNotificationMode): Likewise.
2853         * gnu/classpath/jdwp/natVMVirtualMachine.cc
2854         (jdwpClassPrepareCB): Likewise.
2855         (jdwpThreadEndCB): Likewise.
2856         (jdwpThreadStartCB): Likewise.
2857         (jdwpVMInitCB): Likewise.
2859 2007-01-28  Michele Sandri  <gpointorama@gmail.com>
2861         * gnu/java/nio/channels/natFileChannelWin32.cc
2862         (lock): Implemented.
2863         (unlock): Implemented.
2865 2007-01-27  Andreas Tobler  <a.tobler@schweiz.org>
2867         PR libgcj/30513
2868         * configure.host: Add forgottten sysdep_dir to sparc. Add a flag to
2869         libgcj_flags to undefine 'sun' at compile time.
2870         * sysdep/sparc/locks.h (read_barrier): New functions for 32 and 64 bit
2871         Sparc.
2872         (write_barrier): Likewise.
2874 2007-01-27  Keith Seitz  <keiths@redhat.com>
2876         * gnu/classpath/jdwp/natVMVirtualMachine.cc
2877         (getAllClassMethods): Move error handling to ...
2878         (throw_jvmti_error): ... here.
2879         (jdwpClassPrepareCB): New function.
2880         (jdwpThreadEndCB): New function.
2881         (jdwpThreadStartCB): New function.
2882         (jdwpVMDeathCB): New function.
2883         (jdwpVMInitCB): Define and enable callbacks for
2884         ClassPrepare, ThreadEnd, ThreadStart, and VMDeath.
2886 2007-01-27  Jakub Jelinek  <jakub@redhat.com>
2888         * Makefile.am (generic_header_files): Add $(inner_nat_headers).
2889         * testsuite/Makefile.am (check-dejaGNU): Depend on compile-tests.
2890         (MYGCJH): New variable.
2891         (compile-tests): New goal.
2892         * Makefile.in: Rebuilt.
2893         * testsuite/Makefile.in: Rebuilt.
2895 2007-01-26  Andrew Haley  <aph@redhat.com>
2897         * java/lang/natClass.cc (initializeClass): Re-throw
2898         SecurityExceptions.
2899         * java/lang/natVMClassLoader.cc (loadClass): checkPackageAccess.
2900         * java/lang/ClassLoader.java: (loadClass): Likewise.
2902 2007-01-26  Tom Tromey  <tromey@redhat.com>
2904         * Updated headers.
2906 2007-01-25  Tom Tromey  <tromey@redhat.com>
2908         PR libgcj/29594:
2909         * gnu/gcj/convert/Convert.java (main): Correctly handle missing
2910         input or output encodings.  Removed unused local variables.
2912 2007-01-25  Keith Seitz  <keiths@redhat.com>
2914         * include/jvmti-int.h (_Jv_GetJDWP_JVMTIEnv): Declare.
2915         * gnu/classpath/jdwp/natVMVirtualMachine.cc
2916         (_Jv_GetJDWP_JVMTIEnv): New function.
2917         * gnu/classpath/jdwp/natVMMethod.cc (getName): Implement.
2918         (getSignature): Implement.
2919         (getModifiers): Implement.
2921 2007-01-25  Andrew Haley  <aph@redhat.com>
2923         * configure, Makefile.in, include/config.h.in: Rebuilt.
2924         * Makefile.am (libgcj_la_LIBADD): Removed $(LIBMAGIC).
2925         * configure.ac: Don't check for libmagic.
2926         * java/net/natVMURLConnection.cc (p_magic_open, p_magic_load,
2927         p_magic_close, p_magic_buffer): New globals.
2928         (init): Look up 'magic' functions.
2929         (guessContentTypeFromBuffer): Updated.
2931 2007-01-25  Keith Seitz  <keiths@redhat.com>
2933         * jvmti.cc (_Jv_JVMTI_GetMethodName): New function.
2934         (_Jv_JVMTI_Interface): Define GetMethodName.
2935         * testsuite/libjava.jvmti/getmethodname.java: New file.
2936         * testsuite/libjava.jvmti/natgetmethodname.cc: New file.
2937         * testsuite/libjava.jvmti/getmethodname.out: New file. 
2939 2007-01-24  Kyle Galloway  <kgallowa@redhat.com>
2941         * libjava/testsuite/libjava.jvmti/jvmti-interp.exp: New file.
2942         * libjava/testsuite/libjava.jvmti/interp: New folder.
2943         * libjava/testsuite/lib/libjava.exp (exec_gij): New Method.
2945 2007-01-24  Keith Seitz  <keiths@redhat.com>
2947         * link.cc (_Jv_Linker::wait_for_state): Add JVMTI
2948         CLASS_PREPARE notification.
2950 2007-01-24  Keith Seitz  <keiths@redhat.com>
2952         * interpret.cc: Include gnu/gcj/jvmti/Breakpoint.h,
2953         gnu/gcj/jvmti/BreakpointManager.h, jvmti.h, and jvmti-int.h
2954         * interpret-run.cc: Implement insn_breakpoint.
2956 2007-01-24  Keith Seitz  <keiths@redhat.com>
2958         * prims.cc (_Jv_RunMain): Send JVMTI event notifications
2959         for VM_INIT and VM_DEATH instead of the JDWP notifications.
2961 2007-01-24  Keith Seitz  <keiths@redhat.com>
2963         * gnu/classpath/jdwp/natVMVirtualMachine.cc
2964         (getAllClassMethods): Implement.
2966 2007-01-24  Andrew Haley  <aph@redhat.com>
2968         * gnu/classpath/natVMStackWalker.cc: Call InitClass everywhere.
2969         (getClassContext) Add a barrier to prevent GetStackWalkerStack()
2970         from being sibcalled.
2972 2007-01-24  Andrew Haley  <aph@redhat.com>
2974         * scripts/makemake.tcl (emit_bc_rule): Set the source filename.
2975         * sources.am: Rebuild.
2977 2007-01-24  Andreas Krebbel  <krebbel1@de.ibm.com>
2979         * exception.cc (parse_lsda_header, PERSONALITY_FUNCTION): Replaced
2980         _Unwind_Word with _uleb128_t and _Unwind_SWord with _sleb128_t.
2982 2007-01-23  H.J. Lu  <hongjiu.lu@intel.com>
2984         PR libgcj/30550
2985         * Makefile.am (ecjx_DEPENDENCIES): Add libgcj_bc.la if needed.
2986         * Makefile.in: Regenerated.
2988 2007-01-22  Keith Seitz  <keiths@redhat.com>
2990         * gnu/classpath/jdwp/natVMVirtualMachine.cc
2991         (getClassMethod): Implement.
2993 2007-01-22  Keith  Seitz  <keiths@redhat.com>
2995         * java/lang/Class.h (_Jv_GetClassStatus): Declare.
2996         * java/lang/natClass.cc (_Jv_GetClassStatus): New function.
2997         * jvmti.cc (_Jv_JVMTI_GetClassStatus): New function.
2998         (_Jv_JVMTI_Interface): Define GetClassStatus.
3000 2007-01-22  Tom Tromey  <tromey@redhat.com>
3002         * configure: Rebuilt.
3003         * configure.ac (GCJ): Reverted patch of 2006-12-20.
3005 2007-01-22  Tom Tromey  <tromey@redhat.com>
3007         PR java/29812:
3008         * testsuite/libjava.jni/pr29812.java: New file.
3009         * testsuite/libjava.jni/pr29812_injar.java: New file.
3010         * testsuite/libjava.jni/pr29812_injar.jar: New file.
3011         * testsuite/libjava.jni/pr29812.out: New file.
3012         * testsuite/libjava.jni/pr29812_injar.c: New file.
3013         * testsuite/libjava.jni/pr29812_injar.h: New file.
3014         * testsuite/libjava.jni/pr29812.jar: New file.
3015         * testsuite/libjava.jni/pr29812.c: New file.
3016         * testsuite/libjava.jni/pr29812.h: New file.
3017         * testsuite/libjava.jni/jni.exp (gcj_jni_get_cxxflags_invocation):
3018         New proc.
3019         (gcj_jni_invocation_test_one): Use it.
3020         (gcj_jni_pr29812): New proc.
3021         (gcj_jni_run): Use it.
3022         * java/lang/natRuntime.cc (_load): Push a new system frame before
3023         calling JNI_OnLoad.
3024         * include/jvm.h (_Jv_JNI_PopSystemFrame): Declare.
3025         (_Jv_GetJNIEnvNewFrameWithLoader): Likewise.
3026         * jni.cc (struct _Jv_JNI_LocalFrame) <marker>: Now unsigned char.
3027         <allocated_p>: Now bool.
3028         <loader>: New field.
3029         (_Jv_JNI_EnsureLocalCapacity): Updated.
3030         (_Jv_JNI_NewLocalRef): Likewise.
3031         (_Jv_JNI_NewLocalRef): Likewise.
3032         (_Jv_JNI_PopLocalFrame): Likewise.
3033         (_Jv_JNI_FindClass): Likewise.
3034         (_Jv_GetJNIEnvNewFrame): Likewise.
3035         (_Jv_JNI_AttachCurrentThread): Likewise.
3036         (_Jv_GetJNIEnvNewFrameWithLoader): New function.
3037         (_Jv_GetJNIEnvNewFrame): Use it.
3038         * include/jni_md.h (_CLASSPATH_JNIENV_CONTENTS): Removed 'klass'.
3040 2007-01-22  Tom Tromey  <tromey@redhat.com>
3042         * libtool-version: Bump current to 9.
3044 2007-01-22  Andrew Haley  <aph@redhat.com>
3046         * sysdep/alpha/locks.h (write_barrier): New.
3048 2007-01-21  Matthias Klose  <doko@debian.org>
3050         * Makefile.am (install-exec-hook): Use transformed name.
3051         * Makefile.in: Regenerate.
3053 2007-01-19  Keith Seitz  <keiths@redhat.com>
3055         * gnu/classpath/jdwp/natVMVirtualMachine.cc: Mark unused parameters
3056         in methods and reformat.
3058         * gnu/classpath/jdwp/natVMFrame.cc: Mark unused parameters with
3059         MAYBE_UNUSED.
3061 2007-01-18  Keith Seitz  <keiths@redhat.com>
3063         From Macro Trudel <mtrudel@gmx.ch>:
3064         * gnu/classpath/jdwp/natVMVirtualMachine.cc (jdwpVMInitCB):
3065         Use JNICALL.
3067 2007-01-18  Marco Trudel  <mtrudel@gmx.ch>
3069         * jni.cc (_Jv_JNI_FindClass): Initialize class.
3070         * testsuite/libjava.jni/findclass2.jar: New file.
3071         * testsuite/libjava.jni/findclass2.h: New file.
3072         * testsuite/libjava.jni/findclass2.java: New file
3073         * testsuite/libjava.jni/findclass2.c: New file.
3074         * testsuite/libjava.jni/findclass2.out: New file.
3076 2007-01-18  Tom Tromey  <tromey@redhat.com>
3078         * configure: Rebuilt.
3079         * configure.ac: Use multi_basedir instead of libgcj_basedir.
3081 2007-01-18  Gary Benson  <gbenson@redhat.com>
3083         * gnu/java/nio/natVMPipeEcos.cc:
3084         Renamed from gnu/java/nio/natPipeImplEcos.cc.
3085         * gnu/java/nio/natVMPipePosix.cc:
3086         Renamed from gnu/java/nio/natPipeImplPosix.cc.
3087         * gnu/java/nio/natVMPipeWin32.cc:
3088         Renamed from gnu/java/nio/natPipeImplWin32.cc.
3089         * gnu/java/nio/natVMSelectorEcos.cc:
3090         Renamed from gnu/java/nio/natSelectorImplEcos.cc.
3091         * gnu/java/nio/natVMSelectorPosix.cc:
3092         Renamed from gnu/java/nio/natSelectorImplPosix.cc.
3093         * gnu/java/nio/natVMSelectorWin32.cc:
3094         Renamed from gnu/java/nio/natSelectorImplWin32.cc.
3095         * java/io/natVMObjectInputStream.cc:
3096         Renamed from java/io/natObjectInputStream.cc.
3097         * java/lang/natVMDouble.cc:
3098         Renamed from java/lang/natDouble.cc.
3099         * java/lang/natVMFloat.cc:
3100         Renamed from java/lang/natFloat.cc.     
3101         * Makefile.am, configure.ac: Reflect the above.
3102         * Makefile.in, configure: Rebuilt.
3104 2007-01-17  Andrew Haley  <aph@redhat.com>
3106         * Makefile.in: Rebuilt.
3107         * Makefile.am (ecjx_LDFLAGS): Pass -fbootclasspath.
3109 2007-01-17  Keith Seitz  <keiths@redhat.com>
3111         * java/lang/natThread.cc (finish_): Add JVMTI ThreadEnd notification.
3112         (_Jv_NotifyThreadStart): Add JVMTI ThreadStart notification.
3114 2007-01-16  Jack Howarth  <howarth@bromo.med.uc.edu>
3116         * configure.ac: Use multi.m4 from aclocal rather than custom
3117         code.  Use multi_basedir instead libgcj_basedir.  Test for
3118         /proc/self/exe when not cross-compiling.
3119         * aclocal.m4: Regenerate.
3120         * configure: Regenerate.
3121         * Makefile.in: Regenerate.
3123 2007-01-17  Gary Benson  <gbenson@redhat.com>
3125         * java/nio/natVMDirectByteBufferImpl.cc:
3126         Renamed from java/nio/natDirectByteBufferImpl.cc.
3127         * Makefile.am: Reflect the above.
3128         * Makefile.in: Rebuilt.
3129         
3130 2007-01-17  Marco Trudel  <mtrudel@gmx.ch>
3132         * jvmti.cc (_Jv_JVMTI_GetAllThreads): Now static.  Use JNICALL.
3133         Fixed indentation.  Removed unused variable.
3135 2007-01-16  Tom Tromey  <tromey@redhat.com>
3137         * java/lang/natThread.cc (finalize_native): Remove cast.
3138         (_Jv_GetCurrentJNIEnv): Likewise.
3139         * include/jvm.h (struct natThread) <jni_env>: Declare as
3140         _Jv_JNIEnv*.
3142 2007-01-16  Keith Seitz  <keiths@redhat.com>
3144         * testsuite/libjava.jvmti/natevents.cc (FieldModificationCB): Use
3145         %#llx instead of %d for new_value.
3146         * testsuite/libjava.jvmti/events.out: Update expected output.
3147         * testsuite/libjava.jvmti/events.jar: Regenerate.
3149 2007-01-16  Keith Seitz  <keiths@redhat.com>
3151         * gnu/classpath/jdwp/natVMVirtualMachine.cc (DEFINE_CALLBACK):
3152         New macro.
3153         (ENABLE_EVENT): New macro.
3154         (initialize): Define and enable JVMTI VM_INIT callback.
3155         (jdwpVMInitCB): New function.
3157 2007-01-16  Kyle Galloway  <kgallowa@redhat.com>
3159         * jvmti.cc (_Jv_JVMTI_GetAllThreads): New function.
3160         * testsuite/libjava.jvmti/getallthreads.java: New test.
3161         * testsuite/libjava.jvmti/natgetallthreads.cc: Ditto.
3162         * testsuite/libjava.jvmti/getallthreads.out: Ditto.
3163         * testsuite/libjava.jvmti/getallthreads.h: Ditto.
3164         * testsuite/libjava.jvmti/getallthreads.jar: Ditto. 
3166 2007-01-15  Keith Seitz  <keiths@redhat.com>
3168         * gnu/classpath/jdwp/natVMVirtualMachine.cc (suspendThread): Use
3169         java.lang.StringBuilder instead of java.lang.StringBuffer.
3170         (resumeThread): Likewise.
3172 2007-01-15  Gary Benson  <gbenson@redhat.com>
3174         * java/nio/MappedByteBuffer.java: Removed.
3175         * sources.am, Makefile.in: Rebuilt.
3177 2007-01-15  Gary Benson  <gbenson@redhat.com>
3179         * java/net/URLClassLoader.java: Removed.
3180         * gnu/java/net/loader/Load_gcjlib.java: New file.
3181         * gnu/gcj/runtime/BootClassLoader.java: Ensure core
3182         URL handler is present in static executables.
3183         * sources.am, Makefile.in: Rebuilt.
3185 2007-01-14  H.J. Lu  <hongjiu.lu@intel.com>
3187         * Makefile.am (libgcj_la_LDFLAGS): Add
3188         $(LIBGCJ_LD_SYMBOLIC_FUNCTIONS).
3189         (libgcj_tools_la_LDFLAGS): Likewise.
3190         (libgcj_bc_la_LDFLAGS): Likewise.
3191         * Makefile.in: Regenerated.
3193         * configure.ac: Use ACX_PROG_LD_GNU_SYMBOLIC.  Set
3194         LIBGCJ_LD_SYMBOLIC_FUNCTIONS to $SYMBOLIC_LDFLAGS.  Set
3195         libgcj_ld_symbolic to $SYMBOLIC_LDFLAGS if it isn't set.
3196         Substitute LIBGCJ_LD_SYMBOLIC_FUNCTIONS.
3197         * configure: Regenerated.
3198         * aclocal.m4: Likewise.
3199         * gcj/Makefile.in: Likewise.
3200         * include/Makefile.in: Likewise.
3201         * testsuite/Makefile.in: Likewise.
3203 2007-01-12  Kaz Kojima  <kkojima@gcc.gnu.org>
3205         * sysdep/sh/locks.h (read_barrier): New.
3206         (write_barrier): Likewise.
3208 2007-01-12  Andrew Haley  <aph@redhat.com>
3210         * include/i386-signal.h: Rewrite to use rt_sigaction.
3212 2007-01-11  Andrew Haley  <aph@redhat.com>
3214         * prims.cc (jdwpOptions) Fix deprecated cast from char[] constant
3215         to char*.
3216         * include/x86_64-signal.h (HANDLE_DIVIDE_OVERFLOW): Rewrite to fix
3217         aliasing violation.
3219 2007-01-10  Tom Tromey  <tromey@redhat.com>
3221         * gnu/gcj/xlib/*.h: New files.
3222         * gnu/awt/xlib/*.h: Likewise.
3223         * classpath/lib/gnu/gcj/xlib: New class files.
3224         * classpath/lib/gnu/awt/xlib: Likewise.
3226 2007-01-10  Tom Tromey  <tromey@redhat.com>
3228         * HACKING: Various updates.
3230 2007-01-10  Tom Tromey  <tromey@redhat.com>
3232         * java/lang/natDouble.cc (toString): Added parens.
3233         * gnu/gcj/io/shs.h (PROTO): Define.
3234         * link.cc (resolve_pool_entry): Added missing braces.
3236 2007-01-10  H.J. Lu  <hongjiu.lu@intel.com>
3238         PR libgcj/30424
3239         * sysdep/ia64/locks.h (read_barrier): New.
3240         (write_barrier): New.
3242 2007-01-10  Gary Benson  <gbenson@redhat.com>
3244         * java/net/URL.java: Removed.
3245         * sources.am, Makefile.in: Rebuilt.
3247 2007-01-10  Matthias Klose  <doko@debian.org>
3249         * Makefile.am (install-exec-hook): Support $(DESTDIR).
3250         * Makefile.in: Regenerated.
3252 2007-01-05  Tom Tromey  <tromey@redhat.com>
3254         * testsuite/libjava.loader/loader.exp (gcj_loader_run): Find
3255         dummy.class in srcdir.
3257 2007-01-03  Tom Tromey  <tromey@redhat.com>
3259         * testsuite/libjava.cni/cni.exp (gcj_cni_compile_cxx_to_o): Add -I
3260         for srcdir.
3262 2007-01-03  Tom Tromey  <tromey@redhat.com>
3264         * testsuite/*: Added many .jar and .h files.
3265         * testsuite/libjava.special/special.exp
3266         (gcj_special_try_compiler): New proc.
3267         * testsuite/libjava.loader/loader.exp (gcj_loader_run): Don't
3268         bytecompile source.  Search for .jar files.
3269         (gcj_loader_test_one): Don't look for MyLoader.java.
3270         * testsuite/libjava.jvmti/jvmti.exp (gcj_jvmti_test_one): Don't
3271         bytecompile sources or build headers.
3272         (gcj_jvmti_run): Look for .jar files.
3273         * testsuite/libjava.jni/jni.exp (gcj_jni_run): Compile .jar
3274         files.
3275         (gcj_jni_test_one): Don't bytecompile sources or build headers.
3276         Set classpath when invoking gij.
3277         (gcj_jni_invocation_test_one): Likewise.
3278         * testsuite/libjava.cni/cni.exp (gcj_cni_test_one): Don't build
3279         headers or bytecompile sources.
3280         (gcj_cni_run): Use .jar files, not .java files.
3281         * testsuite/libjava.lang/lang.exp: Compile .jar files.
3283 2007-01-02  Tom Tromey  <tromey@redhat.com>
3285         * configure: Rebuilt.
3286         * configure.ac: Check for gjar.
3288 2007-01-02  Tom Tromey  <tromey@redhat.com>
3290         * testsuite/libjava.jacks/jacks.exp: Removed.
3291         * testsuite/libjava.jacks/jacks.xfail: Removed.