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