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