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