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