This repository was archived by the owner on Sep 15, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 87
Expand file tree
/
Copy pathChangeLog.6
More file actions
1601 lines (1147 loc) · 49.6 KB
/
ChangeLog.6
File metadata and controls
1601 lines (1147 loc) · 49.6 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
2003-08-03 Jim Pick <[email protected]>
* README,
RELEASE-NOTES:
Updated version number in docs.
* configure.in:
Bumped version number.
* configure,
kaffe/Makefile.in,
kaffe/kaffe/Makefile.in,
kaffe/scripts/Makefile.in,
kaffe/scripts/compat/Makefile.in,
test/internal/Makefile.in:
Regenerated.
2003-08-03 Timothy S. Stack <[email protected]>
* kaffe/kaffevm/jni.c:
Change startJNICall to return the current thread's JNIEnv pointer
and change Kaffe_wrapper to pass this pointer to the native
function.
2003-08-03 Timothy S. Stack <[email protected]>
* kaffe/xprof/Makefile.am,
test/internal/Makefile.am:
Add $(top_builddir)/include to the include paths.
2003-08-01 Dalibor Topic <[email protected]>
Fixes for 'make dist'
* include/Makefile.am:
(NOINSTALL_DERIVED_HDRS) Added Arrays.h, errors.h, jsyscall.h and
native.h.
(pkginclude_HEADERS) Added java_lang_Object.h, java_lang_String.h,
java_lang_StackTraceElement.h, java_lang_Thread.h,
java_lang_ThreadGroup.h, java_lang_Throwable.h,
java_lang_VMThrowable.h.
* libraries/extensions/microsoft/clib/Makefile.am:
(AM_CPPFLAGS) Added $(top_builddir)/include for header files
generated by kaffeh.
2003-08-01 Helmer Kraemer <[email protected]>
Fixes for alpha-linux jit.
* config/alpha/alpha.c:
(__alpha_nextFrame) fixed frame pointer finding.
* config/alpha/linux/md.h:
(SIGNAL_ARGS, SIGNAL_CONTEXT_POINTER,
GET_SIGNAL_CONTEXT_POINTER, SIGNAL_PC) Added new macros.
2003-08-01 Rob Gonzalez <[email protected]>
* kaffe/kaffevm/classMethod.h
Commented out checks that abstract methods are only in abstract classes.
Also change checks for CSTATE_LINKED to CSTATE_DOING_LINK.
2003-08-01 Dalibor Topic <[email protected]>
Header reorganization and fixes for BerkeleyDB, required for
OpenOffice build.
* config/mips/netbsd1/md.c, config/mips/ultrix4/md.c,
include/files.h, include/files.h, include/jni.h,
include/native.h, /kaffe/kaffe/main.c, kaffe/kaffeh/mem.c,
kaffe/kaffeh/support.c, kaffe/kaffevm/code.c,
/kaffe/kaffevm/debug.c, kaffe/kaffevm/exception.c,
kaffe/kaffevm/gtypes.h, kaffe/kaffevm/inflate.c,
kaffe/kaffevm/itypes.c, kaffe/kaffevm/lookup.c,
kaffe/kaffevm/stackTrace.c, kaffe/kaffevm/stats.c,
kaffe/kaffevm/string.c, kaffe/kaffevm/support.c,
kaffe/kaffevm/support.h, kaffe/kaffevm/thread.c,
kaffe/kaffevm/utf8const.c, kaffe/xprof/debugFile.c,
kaffe/xprof/fileSections.c, kaffe/xprof/gmonFile.c,
kaffe/xprof/mangle.c, kaffe/xprof/memorySamples.c,
kaffe/xprof/sectionFile.c, kaffe/xprof/xprofiler.c:
renamed jtypes.h kaffe/jtypes.h. renamed jmalloc.h to
kaffe/jmaloc.h.
* kaffe/jvmpi/Makefile.am, kaffe/kaffe/Makefile.am,
kaffe/kaffeh/Makefile.am, kaffe/kaffevm/Makefile.am,
kaffe/kaffevm/gcj/Makefile.am, kaffe/kaffevm/intrp/Makefile.am,
kaffe/kaffevm/jit/Makefile.am,kaffe/kaffevm/jit3/Makefile.am,
kaffe/kaffevm/systems/beos-native/Makefile.am,
kaffe/kaffevm/systems/oskit-pthreads/Makefile.am,
kaffe/kaffevm/systems/unix-jthreads/Makefile.am,
kaffe/kaffevm/systems/unix-pthreads/Makefile.am,
libraries/clib/awt/X/Makefile.am, libraries/clib/io/Makefile.am,
libraries/clib/management/Makefile.am,
libraries/clib/math/Makefile.am,
libraries/clib/native/Makefile.am,
libraries/clib/net/Makefile.am,
libraries/clib/security/Makefile.am,
libraries/clib/zip/Makefile.am,
libraries/extensions/sound/alsa/Makefile.am,
libraries/extensions/sound/common/Makefile.am,
libraries/extensions/sound/esd/Makefile.am,
replace/Makefile.am:
(AM_CPPFLAGS) Added $(top_builddir)/include for header files
generated by kaffeh.
* include/kaffe/jmalloc.h: moved here from include/jmalloc.h.
* include/kaffe/jtypes.h.in: moved here from include/jtypes.h.in
* configure.in:
(AC_CONFIG_HEADERS) use include/kaffe/jtypes.h instead of
include/jtypes.h.
* include/Makefile.am:
(INSTALL_DERIVED_HDRS) don't install any derived headers.
(NOINSTALL_DERIVED_HDRS) Added java_lang_Object.h,
java_lang_String.h, java_lang_StackTraceElement.h
java_lang_Thread.h, java_lang_ThreadGroup.h
java_lang_Throwable.h and java_lang_VMThrowable.h.
(include_HEADERS) reformatted. Added jni_cpp.h.
(pkginclude_HEADERS) don't include Arrays.h, errors.h,
jsyscall.h and native.h. Include kaffe/jtypes.h and
kaffe/jmalloc.h.
(DISTCLEANFILES) replaced jtypes.h with kaffe/jtypes.h.
Reported by: Chris Halls <[email protected]>
2003-07-31 Guilhem Lavaux <[email protected]>
* libraries/javalib/kjc.jar: Rebuild with the two new patches
mentioned on the mailing list this day (backpropagation, javac
compatibility).
2003-07-30 Ito Kazumitsu <[email protected]>
* developers/autogen.sh:
changed /bin/true to true.
2003-07-30 Rob Gonzalez <[email protected]>
* kaffe/kaffevm/verify.c
Update...prep for pass 3b checkin.
2003-07-29 Rob Gonzalez <[email protected]>
* kaffe/kaffevm/verify.c
(verifyMethod3a) fixed off-by-one errors for tableswitch
and invokeinterface instructions.
2003-07-29 Dalibor Topic <[email protected]>
* kaffe/kaffevm/systems/unix-jthreads/syscalls.c:
(jthreadedMmap) cast pages_sz to unsigned long to avoid
compilation warning.
2003-07-29 Dalibor Topic <[email protected]>
* libraries/clib/native/Class.c:
Include exception.h to fix compilation warning.
Reordered includes to groups.
2003-07-29 Rob Gonzalez <[email protected]>
* kaffe/kaffevm/classMethod.h
* kaffe/kaffevm/classMethod.c
Added CSTATE_DOING_LINK to avoid circular loading problems during verification.
2003-07-29 Helmer Kraemer <[email protected]>
* libraries/javalib/essential.files:
Removed gnu/java/locale/Calendar.java,
gnu/java/locale/Calendar_de.java, gnu/java/locale/Calendar_en.java and
gnu/java/locale/Calendar_nl.java
* libraries/javalib/profiles/default/rest.files,
libraries/javalib/profiles/allatonce/all.files:
Added gnu/java/locale/Calendar.java,
gnu/java/locale/Calendar_de.java, gnu/java/locale/Calendar_en.java and
gnu/java/locale/Calendar_nl.java
* libraries/javalib/Makefile.am,
libraries/javalib/Makefile.in:
Regenerated
2003-07-28 Rob Gonzalez <[email protected]>
* libraries/javalib/essential.files
fixed "gnu/java/locale/Calendar_nl.javA" to be "gnu/java/locale/Calendar_nl.java"
2003-07-28 Kiyo Inaba <[email protected]>
config/alpha/netbsd1/config.frag,
config/arm/netbsd1/config.frag,
config/i386/netbsd1/config.frag,
config/m68k/netbsd1/config.frag,
config/mips/netbsd1/config.frag,
config/powerpc/netbsd1/config.frag,
config/sparc/netbsd1/config.frag:
Delete 'Khost_cpu' and 'Khost_os' defined in some files.
'ac_cv_sizeof_int' etc. are now properly handled by 'configure'
even for cross compiling.
'ac_cv_c_char_unsigned' is now set to 'no', when cross compiling.
'CFLAGS' is now used only to append mandatory settings for the port.
2003-07-28 Timothy S. Stack <[email protected]>
* kaffe/kaffevm/intrp/stackTrace-impl.h:
Add empty EXCEPTIONFRAME()/FIRSTFRAME() macros, these need to be
filled in eventually so JVMPI can do backtraces on threads besides
the current one.
* libraries/clib/management/JIT.c,
libraries/javalib/kaffe/management/JIT.java:
Remove stale dumpActiveMethods function, it was never implemented
anyways.
2003-07-28 Ito Kazumitsu <[email protected]>
* libraries/javalib/essential.files: Add gnu/java/locale/Calendar*.java
2003-07-28 Ito Kazumitsu <[email protected]>
* libraries/javalib/java/util/Calendar.java:
copied from GNU classpath.
* libraries/javalib/java/util/GregorianCalendar.java:
copied from GNU classpath and corrected a bug about
the week of the month.
* libraries/javalib/gnu/java/locale,
libraries/javalib/gnu/java/locale/Calendar.java,
libraries/javalib/gnu/java/locale/Calendar_de.java
libraries/javalib/gnu/java/locale/Calendar_en.java,
libraries/javalib/gnu/java/locale/Calendar_nl.java:
added a new directory and copied new files from GNU Classpath
(required by the above two).
2003-07-28 Guilhem Lavaux <[email protected]>
Fixes to make unix-pthreads compile with JVMPI (but lots of
not implemented features).
* kaffe/kaffevm/unix-pthreads/lock-impl.h,
kaffe/kaffevm/unix-pthreads/thread-impl.h:
(jcondvar_broadcast) implemented
(THREAD_*) added to ensure the compatibility with jthreads
(jthread_suspend, jthread_resume, jthread_from_data,
jthread_get_usage, jthread_is_interrupted, jthread_on_mutex,
jthread_on_condvar) added dummy functions.
Various fixes.
* libraries/javalib/bootstrap.classlist: Added missing classes
java.text.MessageFormat$MessagePatternDescription and URLClassLoader.
* libraries/javalib/java/text/DecimalFormat.java: Fixed parsing of
the number pattern: missing "exponential" format.
* kaffe/kaffvm/baseClasses.h: Added external references to
VMThrowable and StackTraceElement.
* kaffe/kaffevm/stackTrace.c: added include file
"java_lang_StackTraceElement.h".
* libraries/javalib/java/lang/Throwable.java: copied from
GNU/Classpath.
* test/regression/TestMessageFormat.java: Hardened the test case.
* libraries/javalib/Klasses.jar: regenerated.
2003-07-27 Helmer Kraemer <[email protected]>
* test/internal/jit_stub.c:
(main) loadStaticClass StringClass
* test/regression/IndexText.java,
test/regression/StackDump.java,
test/regression/ProcessClassInst.java,
test/regression/ProcessClassStop.java,
test/regression/ProhibitedClass.java:
adapted expected output
2003-07-27 Mark Wielaard <[email protected]>
* include/Makefile.am (INSTALL_DERIVED_HDRS): Add
java_lang_VMThrowable.h and java_lang_StackTraceElement.h.
* include/Makefile.in: Regenerated.
* kaffe/kaffevm/baseClasses.h (javaLangVMThrowable): New extern
struct.
(javaLangStackTraceElement): Likewise.
* kaffe/kaffevm/baseClasses.c (javaLangVMThrowable): New base class.
(javaLangVMThrowable): Likewise.
(initBaseClasses): loadStaticClass new base classes.
* kaffe/kaffevm/exception.c (throwException): Get and initialize
vmstate.
(nullException): Create vmstate for exception.
(unhandledException): Use new Throwable->detailedMessage field name.
(floatingException): Create vmstate for exception.
* kaffe/kaffevm/stackTrace.c (getLineNumber): New method.
(getStackTraceElements): New method.
(printStackTrace): Get backtrace from vmState.
* libraries/clib/native/System.c (java_lang_System_debugE): Use new
Throwable->detailedMessage field name.
* libraries/clib/native/Throwable.c
(java_lang_Throwable_fillInStackTrace): Removed.
(java_lang_Throwable_printStackTrace0): Likewise.
(java_lang_VMThrowable_fillInStackTrace): New method.
(java_lang_VMThrowable_getStackTrace): Likewise.
* libraries/javalib/java/lang/Throwable.java: Replaced with Classpath
version.
* libraries/javalib/java/lang/VMThrowable.java: New class.
* libraries/javalib/bootstrap.classlist: Add VMThrowable.
* libraries/javalib/essential.files: Add StackTaceElement and
VMThrowable.
* libraries/javalib/Klasses.jar.bootstrap: Regenerated.
2003-07-27 Helmer Kraemer <[email protected]>
* kaffe/kaffevm/jit/machine.c,
kaffe/kaffevm/jit3/machine.c:
(initInsnSequence) insert the translated method as the
first entry into the constant pool, so it can easily be
retrieved when creating stack traces
* kaffe/kaffevm/gcFuncs.c,
kaffe/kaffevm/jit3/machine.c,
kaffe/kaffevm/classPool.c:
removed calls to makeMethodActive and makeMethodInactive,
as they are no longer necessary
* kaffe/kaffevm/methodCache.h, kaffe/kaffevm/methodCache.c,
kaffe/kaffevm/classMethod.h, kaffe/kaffevm/classPool.c:
wrapped findMethodFromPC and related stuff into #if 0, since
its not needed at the moment
* kaffe/kaffevm/intrp/stackTrace-impl.h,
kaffe/kaffevm/jit/stackTrace-impl.h,
kaffe/kaffevm/jit3/stackTrace-impl.h:
new files containing the engine specific part of stack trace
creation
* kaffe/kaffevm/stackTrace.c:
(stackTraceFindMethod) rewrote the translator version
assuming that the struct methods* of the translated
method is the first entry in the constant pool; made it
static
(buildStackTrace) directly initialize meth field using stackTraceFindMethod
(printStackTrace) updated accordingly
* libraries/clib/native/ThreadStack.c:
(kaffe_lang_ThreadStack_getClassStack) likewise
* kaffe/kaffevm/intrp/Makefile.am,
kaffe/kaffevm/jit/Makefile.am,
kaffe/kaffevm/jit3/Makefile.am:
(EXTRA_DIST) added stackTrace-impl.h
* kaffe/kaffevm/intrp/Makefile.in,
kaffe/kaffevm/jit/Makefile.in,
kaffe/kaffevm/jit3/Makefile.in:
regenerated
* kaffe/kaffevm/exception.c:
(nextFrame) splitted and moved into the different
stackTrace-impl headers
(dispatchException) rewritten so it works for both, the
interpreter and the translator
* kaffe/kaffevm/exception.h:
(VmExceptHandler) renamed struct jit to struct jni
(vmExcept_setSyncobj, vmExcept_getSyncobj) renamed to
vmExcept_setSyncObj and vmExcept_getSyncObj
(vmExcept_JNIContains) made available for intrp
removed some unnecessary declarations that don't belong here
* kaffe/kaffevm/jni.c:
(KAFFE_JNI_SETEXCEPTFP) use vmExceptPtr as fp of jni frame,
so there's no need to special case handling of jni frames
when dispatching exceptions in intrp mode
* kaffe/kaffevm/support.c:
adapted interpreter specific part to per-thread JNIEnv
* kaffe/kaffevm/intrp/icode.h,
kaffe/kaffevm/jit/icode_internal.h,
kaffe/kaffevm/jit/icode.c:
added softcall_incompatibleclasschange
* kaffe/kaffevm/soft.c:
(soft_checkcast) include class loaders into the message if
they are different
* configure.in:
add $abssrcdir/kaffe/kaffevm/$with_engine to CPPFLAGS
* configure:
regenerated
2003-07-27 Dalibor Topic <[email protected]>,
Fixes for 'make dist'
* kaffe/jvmpi/Makefile.am:
(libkaffejvmpi_la_SOURCES) added jvmpi_kaffe.h
(libkaffejvmpi_la_HEADERS) removed.
* kaffe/kaffevm/Makefile.am:
(noinst_HEADERS) Added threadData.h
* Makefile.am:
(EXTRA_DIST) removed developers/patch-kjc-variable-propagation
2003-07-27 Dalibor Topic <[email protected]>,
Helmer Kraemer <[email protected]>
Fixes for compiler warnings on alpha-linux.
* config/alpha/alpha.c:
(__alpha_ra) use uintp instead of int*.
(__alpha_nextFrame) use uintp instead of char*.
* config/alpha/linux/jit-md.h:
(_exceptionFrame) use uintp instead of char*.
(__alpha_ra) use uintp instead of int*.
* kaffe/kaffevm/classMethod.h:
(methods.idx) changed type to long.
* kaffe/kaffevm/jni.c:
(KAFFE_JNI_SETEXCEPTFP) added a cast to uintp.
* kaffe/kaffevm/jit/icode.c:
(softcall_lookupinterfacemethod) removed unnecessary cast to int.
2003-07-27 Guilhem Lavaux <[email protected]>
* config.rpath: Added to solve the dependence of "lib-link.m4" on it.
* Makefile.in: regenerated.
* configure.in: Fixed typos.
* configure: Regenerated.
* libraries/javalib/bootstrap.classlist: Added
java.text.MessageFormat$MessagePatternDescription and
java.net.URLClassLoader.
* libraries/javalib/Klasses.jar.bootstrap: regenerated.
2003-07-27 Jim Pick <[email protected]>
* libraries/javalib/kjc.jar:
Rebuilt using new kaffe-extras build system, including Guilhem's
patch, and a new one to make Jasper work.
* developers/patch-kjc-variable-propagation:
Moved to kaffe-extras CVS module.
2003-07-26 Dalibor Topic <[email protected]>
* libraries/clib/native/Class.c:
(java_lang_Class_getField0) modified to return NULL, when field is not
found. Added documentation.
* libraries/javalib/essential.files:
Added java/net/URLClassLoader.java, java/util/jar/JarInputStream.java,
java/util/zip/DataFormatException.java, java/util/zip/Inflater.java,
java/util/zip/InflaterInputStream.java, java/util/zip/ZipInputStream.java
kaffe/util/zip/SwitchInflater.java
* libraries/javalib/java/lang/Class.java:
(getDeclaredField, getField) use getFieldInternal.
(getFieldInternal) new private method. Improved error message to include
class and field name.
* libraries/javalib/kaffe/lang/AppClassLoader.java:
Extend URLClassLoader. OpenEJB expects the application class loader to
extend URLClassLoader.
(AppClassLoader) cass superclass contructor with empty array of URLs.
(findResources, findResource) changed access to public as they are public
in URLClassLoader.
* test/regression/GetField.java:
Added more comments, and adapted expected output.
* test/regression/ProcessClassInst.java,
test/regression/ProcessClassStop.java:
adapted expected output.
2003-07-26 Guilhem Lavaux <[email protected]>
* include/files.h: (jlong2size_t, size_t2jlong) added two converters
between java types and Posix types.
* include/jsyscall.h: (SystemCallInterface) added 3 syscalls _ftruncate,
_mmap, _munmap with the corresponding macros KFTRUNCATE, KMMAP, KMUNMAP.
(KAFFE_MMAP_*) system independent constants for KMMAP.
* kaffe/kaffevm/systems/unix-jthreads/syscalls.c,
kaffe/kaffevm/systems/unix-pthreads/syscalls.c:
(jthreadedMmap, jthreadedMunmap, jthreadedFTruncate) added threaded
syscalls for mmap, munmap and ftruncate.
* kaffe/kaffevm/systems/oskit-pthreads/syscalls.c,
kaffe/kaffevm/systems/beos-native/syscalls.c: added dummy threaded
syscalls for mmap, munmap and ftruncate for compatibility.
* libraries/javalib/java/lang/Runtime.java:
(exitJavaCleanup, runShutdownHooks, exit) we must not throw ThreadDeath
because it induces a fatal loop in exitThread(). Instead I check if
runShutdownHooks is already running and in that case I kill again the
current thread only if it is a call to Runtime.exit(). In the other
case the thread will be automatically killed when exiting
exitJavaCleanup().
2003-07-26 Timothy S. Stack <[email protected]>
* configure.in:
Add JVMPI stuff (--enable-jvmpi, makefile, etc...)
* include/Makefile.am:
Add jvmpi.h to the list of include_HEADERS.
* include/errors.h:
Make IncompatibleClassChangeError take a message parameter.
* include/jni.h:
Add JVMPI defines.
* include/jvmpi.h:
Added
* kaffe/Makefile.am:
Added jvmpi subdir.
* kaffe/jvmpi/Makefile.am,
kaffe/jvmpi/jvmpi_kaffe.c,
kaffe/jvmpi/jvmpi_kaffe.h:
Added to implement jvmpi stuff.
* kaffe/kaffe/Makefile.am:
Add jvmpi to list of includes and add jvmpi library.
* kaffe/kaffevm/Makefile.am:
Add jvmpi to list of includes.
* kaffe/kaffevm/classMethod.h:
Make a slot for a field's signature in struct_fields.
* kaffe/kaffevm/classMethod.c:
Add jvmpi events. Fields now have a separate slot for their
signature instead of combining it with FIELD_TYPE(). Use
per-thread JNIEnv.
* kaffe/kaffevm/exception.c:
Remove requirement that nextFrame must be called on stack produced
from the current thread.
* kaffe/kaffevm/gc.h:
Add function pointers for enabling/disabling gc.
* kaffe/kaffevm/gcFuncs.c:
Add jvmpi events. Handle separate slot for signature in fields.
Use per-thread JNIEnv.
* kaffe/kaffevm/gcRefs.c:
jthread_getcookie() -> jthread_get_data().
* kaffe/kaffevm/jni.c:
Add JVMPI events. JNIEnv pointers are now per-thread.
* kaffe/kaffevm/kaffe.def:
Make sure invokevirtual/invokespecial are not called on interface
classes.
* kaffe/kaffevm/locks.c:
Add JVMPI events.
* kaffe/kaffevm/object.c:
Add JVMPI events.
* kaffe/kaffevm/soft.[ch]:
Add soft_incompatibleclasschange function for throwing
IncompatibleClassChangeErrors.
* kaffe/kaffevm/support.h:
Add BITMAP_BYTE_SIZE, BITMAP_CLEAR, and BITMAP_ISSET macros.
* kaffe/kaffevm/thread.c:
JNIEnv pointers are now per-thread. jthread_getcookie() ->
jthread_get_data(). Added JVMPI events.
* kaffe/kaffevm/thread.h:
Added THREAD_JNIENV() macro for getting the JNIEnv pointer for the
current thread.
* kaffe/kaffevm/threadData.h:
Added to hold per-thread data.
* kaffe/kaffevm/jit3/Makefile.am:
Added jvmpi to the list of includes.
* kaffe/kaffevm/jit3/codeproto.h,
kaffe/kaffevm/jit3/icode.c:
Added softcall_incompatibleclasschange().
* kaffe/kaffevm/jit3/machine.c:
Added JVMPI events.
* kaffe/kaffevm/mem/gc-incremental.c:
Added JVMPI events and functions for enabling/disabling the GC.
* kaffe/kaffevm/systems/unix-jthreads/jthread.c,
kaffe/kaffevm/systems/unix-jthreads/jthread.h:
The jthread_getcookie() macro has been changed to
jthread_get_data() which returns the threadData structure defined
in the main kaffe code body. Added resource usage statistics and
other functions for reflecting on a threads state. Added ability
to suspend/resume threads (experimental).
* kaffe/kaffevm/systems/unix-jthreads/lock-impl.h:
Added missing jcondvar_broadcast() proto.
* kaffe/kaffevm/systems/unix-pthreads/thread-impl.c,
kaffe/kaffevm/systems/unix-pthreads/thread-impl.c:
Update for jthread_getcookie() -> jthread_get_data() change.
* libraries/clib/native/Makefile.am:
Added jvmpi to list of includes.
* libraries/clib/native/Object.c:
Added JVMPI events.
* libraries/clib/native/ObjectStreamClassImpl.c:
Update for signature change in field structs.
* test/internal/Makefile.am:
Add jvmpi to the list of includes and libraries.
2003-07-20 Fabio.di.Fabio <[email protected]>
* libraries/kaffe/appletAppletTag.java:
(parseParam) keep '"' and '\'' as quote characters.
(parseForApplets) keep '\'' as a quote character.
2003-07-18 Guilhem Lavaux <[email protected]>
* libraries/javalib/java/text/MessageFormat.java:
(toPattern) simply return pattern
(applyPattern) assign the pattern to "pattern"
(parse(String, ParsePosition)) implemented
(parse(String)) it should throws ParseException if the previous parse
fails.
(format) fixed an ArrayOutOfBoundException.
* libraries/javalib/java/text/ChoiceFormat.java:
(parse) It must check the biggest choice possible, i.e. if you have
"ab" or "abc" to compare to "abcdef" you must return the choice "abc".
2003-07-18 Sebastian Mancke <[email protected]>
* libraries/javalib/java/net/HttpUrlConnection.java:
(HttpUrlConnection) Add some default HTTP headers.
* libraries/javalib/java/net/URLConnection.java:
(setRequestProperty) implemented according to JDK 1.4.1 behaviour.
* libraries/javalib/kaffe/net/www/protocol/http/HttpUrlConnection.java:
(connect) flush HTTP headers when connecting to the server.
2003-07-17 Guilhem Lavaux <[email protected]>
* libraries/javalib/java/test/DecimalFormat.java:
(applyPattern) Throw IllegalArgumentException if the pattern is
incorrect.
(format) Check if "num" ends with a 0 when you build the fractional
part. For example, this case should be corrected: 100.0 => 100.
2003-07-17 Guilhem Lavaux <[email protected]>
* libraries/javalib/java/text/MessageFormat.java:
(parseFormat) Added a missing case for astyle for the "number" format.
* test/regression/Makefile.am:
(TEST_MISC) Readded TestMessageFormat.java.
* test/regression/TestMessageFormat.java: Added free
TestMessageFormat.java. There is still a bug of behaviour
for NumberFormat as the outputs of JDK 1.4.2 and Kaffe are
different (the expected output has been built with JDK 1.4.2).
2003-07-17 Dalibor Topic <[email protected]>
* libraries/javalib/kjc.jar:
Rebuilt with Guilhem's patch applied.
* developers/patch-kjc-variable-propagation:
Fix KJC's problem raised by ShutdownHookTest.
Add a system so that when you add a monitor variable
the update of the position of all variables are back-propagated
to all children block context created before the call. Before that,
only the variables of the parent blocks have been updated.
Patch by: Guilhem Lavaux <[email protected]>
* Makefile.am:
(EXTRA_DIST) added developers/patch-kjc-variable-propagation
* FAQ/FAQ.automake, developers/autogen.sh:
Upped the required version of automake to 1.7.6.
* developers/patch-libtool-amiga-max-command-line-length.diff:
updated patch status information. Reformatted information
blurb to follow style of other patches.
* test/regression/Makefile.am:
(TEST_MISC) removed the absent
test/regression/TestMessageFormat.java.
2003-07-15 Guilhem Lavaux <[email protected]>
* libraries/clib/awt/X/img.c:
(Java_java_awt_Toolkit_imgCreateFromFile) call initColorMapping to
ensure that pixelValue will return the color value the fastest way.
* libraries/clib/awt/X/imgjpeg.c:
(readJpeg) check if we are in TrueColor mode, if so load JPEG in
full colors, otherwise quantize colors.
(jscan_to_img, jscan_cmap_to_img) renamed jscan_to_img into
jscan_cmap_to_img, created jscan_to_img to deal with full RGB colors.
* libraries/javalib/java/text/MessageFormat.java:
(class MessagePatternDescription) added a description for formats
currently in parsing state.
(tryToApplyPattern) Parse a pattern string and transform it into
a MessagePatternDescription.
(applyPattern) just call tryToApplyPattern
(format) Iterate until the number of found arguments is 0. This
is to ensure that no format spawn a new pattern to be parsed.
* test/regression/TestMessageFormat.java: added a test case for
java.text.MessageFormat (reported by Jaco Greef - code partly taken
from Ant)
2003-07-15 Rob Gonzalez <[email protected]>
* test/regression/BitSetTest.java
Expected output changed to use tabs instead of spaces.
2003-07-15 Dalibor Topic <[email protected]>
* test/regression/BitSetTest.java:
(show) don't print size, it's implementation dependant.
Removed size information form expected results.
2003-07-14 Ito Kazumitsu <[email protected]>
* java/util/BitSet.java:
copied from GNU Classpath to have JDK 1.4 features.
2003-07-14 Dalibor Topic <[email protected]>
* replace/inet_ntop.c, replace/inet_pton.c:
include <sys/types.h> for Cygwin to build.
2003-07-11 Guilhem Lavaux <[email protected]>
* libraries/javalib/java/util/LinkedList.java (addAll#1, addAll#2):
Changed the behaviour of addAll to comply with Sun's spec.
addAll must add the collection after the precised element or
at the end of the list.
2003-07-11 Ito Kazumitsu <[email protected]>
* test/regression/TestScript.in:
deleted -noverify flag from kaffe because the KJC problem
has been fixed.
2003-07-10 Rob Gonzalez <[email protected]>
* kaffe/kaffevm/verify.c
Fixed bug that caused certain KJC classes
to fail pass 2 verification.
2003-07-10 Dalibor Topic <[email protected]>
* libraries/javalib/bootstrap.classlist:
Added java.util.Collections.$1
* libraries/javalib/Klasses.jar.bootstrap:
regenerated.
2003-07-09 Rob Gonzalez <[email protected]>
* kaffe/kaffevm/constants.h
More handy macros for accessing names and signatures.
* kaffe/kaffevm/verify.c
Moved a bunch of stuff into pass 3a that was previously in
pass 3b (which hasn't been checked in yet). Also fixed a
couple pretty obscure bugs.
2003-07-09 Dalibor Topic <[email protected]>
* libraries/javalib/bootstrap.classlist:
Removed kaffe.lang.ApplicationException and
kaffe.lang.ApplicationResource.
* libraries/javalib/java/lang/Thread.java:
Don't implement ApplicationResource.
(freeResource) removed.
* libraries/javalib/Klasses.jar.bootstrap:
regenerated.
2003-07-09 Dalibor Topic <[email protected]>
* libraries/javalib/bootstrap.classlist:
Added missing files. Removed kaffe.lang.Application.
* libraries/javalib/java/io/File.java:
(DeleteOnExitHook) new internal class.
(deleteOnExitHook) new static field.
(deleteOnExit) use deleteOnExitHook to delete the file on exit.
*
libraries/javalib/kaffe/net/www/protocol/system/SystemURLConnection.java,
libraries/javalib/kaffe/tools/compiler/Compiler_kjc.java,
libraries/javalib/kaffe/tools/compiler/Compiler_pizza.java:
rewritten not to use Application.
* libraries/javalib/Klasses.jar.bootstrap:
regenerated.
* libraries/javalib/Makefile.am, libraries/javalib/Makefile.in:
regenerated.
2003-07-08 Guilhem Lavaux <[email protected]>
* include/Makefile.am:
Removed kaffe_lang_Application.h
* libraries/clib/native/Makefile.am:
Removed Application.c
* libraries/clib/native/Application.c,
libraries/javalib/kaffe/lang/Application.java:
removed
* libraries/clib/native/Runtime.c:
renamed exitInternal() into exit0()
* libraries/javalib/java/lang/Runtime.java:
(exitInternal, addShutdownHook, removeShutdownHook,
exitJavaCleanup, runShutdownHooks) implement the Shutdown hook
Java 1.3 feature, removed kaffe/lang/Application.
* libraries/javalib/java/lang/System.java:
(exitJavaCleanup) Added a hook for
java.lang.Runtime.exitJavaCleanup.
* libraries/javalib/java/lang/Thread.java:
(hasDied) Added to detect when a thread has run to completion.
* kaffe/kaffevm/threads.c:
Call System.exitJavaCleanup() before final exit.
* kaffe/kaffevm/systems/unix-jthreads/jthread.c:
Execute runOnExit with interrupts enabled.
* test/regression/Makefile.am:
Added ShutdownHookTest.java
* test/regression/ShutdownHookTest.java:
Test for shutdown hooks.
2003-07-08 Timothy S. Stack <[email protected]>
* kaffe/kaffevm/systems/unix-pthreads/lock-impl.c:
Handle large timeout values correctly.
* kaffe/kaffevm/systems/unix-pthreads/syscalls.c:
Handle timeouts/interrupts correctly for accept/read.
* kaffe/kaffevm/systems/unix-pthreads/thread-impl.c:
(jthread_interrupt) Implemented using pthread_kill(SIG_RESUME).
(suspend_signal_handler) Use setjmp to dump register state to the
stack.
* kaffe/kaffevm/systems/unix-pthreads/thread-internal.h:
Moved jthread_interrupt implementation to thread-impl.c.
* libraries/clib/net/PlainSocketImpl.c:
Throw an exception when connect times out or is interrupted. Pay
attention to ETIMEDOUT error value.
2003-07-08 Ito Kazumitsu <[email protected]>
* test/regression/TestScript.in
added -noverify flag to kaffe as a workaround for some KJC problem.
2003-07-08 Rob Gonzalez <[email protected]>
Dalibor's patch to help get eclipse to run.
* kaffe/kaffevm/external.c
Small but necessary compilation fix.
2003-07-08 Mark Wielaard <[email protected]>
* libraries/javalib/java/net/URL.java:
(getPath, getQuery) new methods.
* libraries/clib/native/System.c:
(java_lang_System_initProperties) set java.version to 1.3 to
allow Eclipse to run.
2003-07-08 Helmer Kraemer <[email protected]>
* kaffe/kaffevm/locks.h, kaffe/kaffevm/locks.c:
(iStaticLock) new struct for static locks
(_lockMutex, _unlockMutex, _waitCond, _signalCond,
_broadcastCond, _slowUnlockMutexIfHeld) prefixed with
locks_internal, added second parameter for preallocated
heavy lock
(getHeavyLock, putHeavyLock) support preallocated heavy locks
(locks_internal_slowUnlockMutexIfHeld) only allocate a heavy
lock if that's really necessary
(locks_internal_lockMutex) use jthread_on_current_stack to
detect recursive invocations
(locks_internal_slowUnlockMutex) add support for stacks that
grow upwards
(specialLocks, acquireLock, releaseLock, UNBLOCK_EXECUTE) removed
Changed type of all static locks from iLock** to iStaticLock.
Updated all calls to the locking functions.
2003-07-07 Mark Wielaard <[email protected]>
* include/jni.h (JNINativeInterface): Mark reserved words which
are used in JNI 1.2/1.4. Add ExceptionCheck slot.
(JavaVMAttachArgs): Mark reserved3 word as future
AttachCurrentThreadAsDaemon.
(JNIEnv_): Add ExceptionCheck.
* include/jni_cpp.h (JNIEnv::CheckException): New inline
function.
* kaffe/kaffevm/jni.c (Kaffe_ExceptionCheck): New function.
(Kaffe_JNINativeInterface): Add Kaffe_ExceptionCheck function
and mark unsupported callbacks with NULL.
* kaffe/kaffevm/external.c (loadNativeLibrary2) Call JNI_OnLoad
function if it exists in the library.
2003-07-07 Helmer Kraemer <[email protected]>
* kaffe/kaffevm/classMethod.c: (lookupArray) set the state
of the centry to NMS_DONE so array classes are correctly
marked during gc
2003-07-07 Helmer Kraemer <[email protected]>
* kaffe/kaffevm/classPool.c: (walkClassEntries) only mark
entry->data.cl as an object if entry->state is at least
LOADING
* kaffe/kaffevm/code-analyse.c: fix warnings with gcc 3.2
* libraries/javalib/java/net/URLClassLoader.java:
(findResourceInternal): new method that searches for a
resource
(findClass, findResource, findResources): call
findResourceInternal since findResources() might be
overriden by subclasses.
2003-07-06 Jim Pick <[email protected]>
* kaffe/kaffevm/mem/gc-incremental.c:
Ported over "Percentage size allocations" reporting for
-verbosemem from TVT Kaffe.
2003-07-06 Gerrit P. Haase <[email protected]>
* configure.in:
simplified checking for basic types.
2003-07-06 Dalibor Topic <[email protected]>
* Makefile.am:
reverted Mark's patch from 2003-07-04 since it breaks the build.
kaffe/kaffe depends on libraries/clib/native, and libraries/javalib
depends on a working kaffevm -> circular dependency between
libraries and kaffe subdirectories.
2003-07-04 Dalibor Topic <[email protected]>
* FAQ/FAQ.automake:
Added information how to regenerate files generated by autotools.
Reported by: Mark Wielaard <[email protected]>
2003-07-04 Mark Wielaard <[email protected]>