forked from kaffe/kaffe
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathChangeLog.4
More file actions
4721 lines (3736 loc) · 188 KB
/
ChangeLog.4
File metadata and controls
4721 lines (3736 loc) · 188 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
Fri Jun 28 18:20:21 PDT 2002 Jim Pick <[email protected]>
* kaffe/kaffe/version.c: Reworded copyright message again.
Fri Jun 28 18:09:19 PDT 2002 Jim Pick <[email protected]>
* configure.in: Move AC_REQUIRE([AC_LTDL_SHLIBEXT]) after
AC_PROG_LIBTOOL, as it broke Mac OS X.
Thu Jun 27 18:26:43 PDT 2002 Jim Pick <[email protected]>
* kaffe/kaffe/version.c: Reworded "kaffe -version" message to
include more legalese, information on project, reflect fact that
copyright to code is held by more than just Transvirtual.
Thu Jun 27 13:44:52 PDT 2002 Jim Pick <[email protected]>
* libraries/javalib/java/lang/StringBuffer: Bug in substring
method was returning more bytes than it should have (used end
position when it should have been using length). Thanks to
Mr Alex V Eustrop for reporting it.
Thu Jun 20 13:10:33 PDT 2002 Jim Pick <[email protected]>
* libraries/javalib/kaffe/security/provider/SHA.java,
libraries/javalib/kaffe/security/provider/Kaffe.java,
libraries/javalib/kaffe/security/provider/SHA1PRNG.java:
Some fixes from Tim Stack needed to get Tomcat 3.2.4
to run (thanks to Dalibor for looking into this).
Wed Jun 19 18:50:18 PDT 2002 Jim Pick <[email protected]>
From: Pat Tullmann <[email protected]>
* libraries/javalib/java/io/FileInputStream.java,
libraries/javalib/java/io/FileOutputStream.java: Change
constructors to detect and fail with FileNotFoundException if
given file/filename is a directory.
* test/regression/FileChecks.java: Test the FileInputStream
constructors.
* java/util/TimeZone.java: Add sanity check to prevent failure
to lookup GMT from causing infinite recursion.
Sun Jun 16 22:40:33 PDT 2002 Jim Pick <[email protected]>
* developers/update-class-list: Fixed (was broken by
rt.jar name change)
* kaffe/kaffevm/external.c: Fix error reporting when native lib
not found.
Sun Jun 16 22:10:49 PDT 2002 Jim Pick <[email protected]>
From: Timothy Stack <[email protected]>
* acinclude.m4, configure.in, kaffe/kaffevm/external.c:
Libtool-related fix for loading of native libraries (look
for .so/.dll as well as .la)
Sat Jun 8 16:43:17 CEST 2002 Jukka Santala <[email protected]>
* config/arm/jit-arm.def: made --with-debug configure parameter
work with ARM JIT builds.
Sun Jun 02 19:47:19 PDT 2002 Jim Pick <[email protected]>
* kaffe/kaffevm/debug.c: Rearranged order of functions so
--enable-debug works again (my goofup)
Sun Jun 02 19:29:22 PDT 2002 Jim Pick <[email protected]>
* libraries/javalib/java/lang/Cloneable.java: Bumped version
number.
Sun Jun 2 09:12:37 PDT 2002 Jim Pick <[email protected]>
* RELEASE-NOTES: New file used for documenting release-specific
information.
* README: Make note about RELEASE-NOTES.
Sun Jun 2 09:03:56 PDT 2002 Jim Pick <[email protected]>
* Branched 1.0.7 (in CVS, Release_1_0_7_Branch)
* Bumped version number to 1.1.x-cvs (to reflect the fact that the
head of CVS will now be used for 1.1.x releases)
Sat Jun 1 19:19:02 PDT 2002 Jim Pick <[email protected]>
* Makefile.am: Rename Kaffe to kaffe-bin
* config/config-std.h: On my cygwin setup, bad things happen if
winnt.h is included, so don't include it if windows.h is there.
* include/error.h, kaffe/kaffevm/gc.h: On my cygwin setup, I was
getting some link problems (even though the functions defined in
the header files are never used), so I put some #ifdef's around
the code that goes unused by kaffeh.
* kaffe/kaffevm/sha-1.h: I was getting an link problem with _lrotl
- I'm guessing that might be a MSVC thing, so I use the alternate
implmentation with __GNUC__.
* kaffe/scripts/kaffe.in: Some of the -ia32 bash string
replacements broke the script with the shell that comes with
cygwin. I commented them out for now.
Sat Jun 1 18:09:06 PDT 2002 Jim Pick <[email protected]>
* README: Updated some docs, moved PowerPC up to supported
section. (Mac OS X now works quite nicely when configured with
--with-engine=intrp --with-staticlib --with-staticbin
--with-staticvm, failing only 6 of 113 tests in make check)
Sat Jun 1 17:33:34 PDT 2002 Jim Pick <[email protected]>
* configure.in, kaffe/kaffe/.cvsignore, kaffe/kaffe/Makefile.am,
kaffe/kaffe/Makefile.in, kaffe/scripts/kaffe.in,
kaffe/scripts/kaffexprof.in: Renamed binary built from Kaffe to
kaffe-bin, because wrapper script is also called "kaffe", which is
a problem on some filesystems that don't respect case
(eg. Darwin).
* Changed from [ -z "${arg/#-ia32/}" ] to [ "$arg" = "-ia32" ] in
wrapper script (failed on some BSD /bin/sh's).
Sat Jun 1 10:33:35 PDT 2002 Jim Pick <[email protected]>
* kaffe/kaffevm/debug.c: Rearranged #ifdef DEBUG so that
kaffe_dprintf is still defined even when DEBUG is not set (undoing
previous compile fix, reverting part of previous patch).
Fri May 31 21:52:39 PDT 2002 Jim Pick <[email protected]>
* Configure.in: Revert patch from Mariusz, I didn't realize that
it removed the "convenience library" way of building libltdl,
which is needed if a system libltdl isn't installed. Isn't
libtool fun?
Fri May 31 20:30:22 PDT 2002 Jim Pick <[email protected]>
From: Timothy Stack <[email protected]>
* Attached is a fix for unix-jthreads that should better handle
large timeout values. For example:
synchronized( this )
{
this.wait(Long.MAX_VALUE);
}
eventually reaches this code:
jtid->time = timeout + currentTime();
which overflows and gives a bogus value.
Fri May 31 11:37:47 PDT 2002 Jim Pick <[email protected]>
* FAQ/FAQ.coding-style: Added placeholder for coding style
documentation.
Thu May 30 11:51:36 PDT 2002 Jim Pick <[email protected]>
From: Jukka Santala <[email protected]>
* libraries/javalib/java/awt/MediaTracker.java: This will probably
need some further testing. One class in X-Smiles passes a fake URL
to MediaTracker in hopes that it'll fast-fail and just get
ignored. Though we'll probably change that, in interest of
compatibility I wrote a patch to make this work on Kaffe more or
less as it seems on other JRE's. Problem is, it's not exactly well
documented.
It appears that with URL class the error occurs even before
MediaTracker enters its wait() section, and hence it never catches
the notify() - leading to "hangs" of several minutes or worse
while Kaffe waits to time out. In this patch, flags are checked
for ImageObserver.ERROR before entering wait(), and the
synchronized section has been extended to encompass all of that to
prevent race-conditions between the check and wait() on the
assumption that with an URL the error could come in with some
latency. For the latter reason, imageUpdate() has also been
modified to fire notify() in this case.
We probably SHOULD also check ABORT in the same manner, but since I
couldn't immediately come up with a test-case to compare this against
other JRE's, I didn't add that in yet.
Thu May 30 11:31:58 PDT 2002 Jim Pick <[email protected]>
From: Jukka Santala <[email protected]>
* kaffe/scripts/kaffexprof.in, kaffe/scripts/nm2as.awk:
Modifications to kaffexprof script to work with the new
directory-structure & changes to nm output.
Thu May 30 11:20:14 PDT 2002 Jim Pick <[email protected]>
From: Mariusz Mazur <[email protected]>
* kaffe/kaffe/Makefile.am, kaffe/kaffevm/Makefile.am,
kaffe/xprof/Makefile.am, configure.in:
While packaging kaffe into an rpm (PLD Linux Distribution) I
stumbled across a problem of turning off the libltdl distributed
with kaffe and turning on the one already present in the
system. Attached is a little patch for kaffe
(applied as patch -p 0) which makes it possible. Then it's just
./configure --enable-ltdl-install=no and voila. Kaffe starts using
system libltdl :)
Wed May 29 15:59:09 PDT 2002 Jim Pick <[email protected]>
From: Pat Tullmann <[email protected]>
* kaffe/kaffeh/mem.c, kaffe/kaffeh/Makefile.am,
kaffe/kaffeh/java_lang_ClassLoader.h,
kaffe/kaffeh/java_lang_Object.h,
kaffe/kaffeh/kaffeh-support.h, kaffe/kaffeh/main.c,
kaffe/kaffeh/sigs.c, kaffe/kaffeh/support.c,
kaffe/kaffevm/Makefile.am, kaffe/kaffevm/baseClasses.c,
kaffe/kaffevm/classMethod.c, kaffe/kaffevm/classMethod.h,
kaffe/kaffevm/classpath.h, kaffe/kaffevm/code.c,
kaffe/kaffevm/code.h, kaffe/kaffevm/constants.c,
kaffe/kaffevm/constants.h, kaffe/kaffevm/exception.c,
kaffe/kaffevm/file.h, kaffe/kaffevm/lookup.c,
kaffe/kaffevm/readClass.c, kaffe/kaffevm/readClass.h,
kaffe/kaffevm/support.c, kaffe/kaffevm/utf8const.c:
Handle truncated classes in readClass. Also took the
opportunity to clean up some really ugly macros, and share
more code between kaffevm and kaffeh. Moved the buffer
reading macros used by readClass() into inline functions with
asserts. Added many 'const' to various 'char *'. Split
kaffeh mem-related code into a new file. kaffeh overrides
various functions now, but does not override internal header
files or macros. Cleaned up the kaffeh java_lang_* headers.
Add -Xdebug option to kaffeh, as kaffeh can now use the
kaffevm debug.c infrastructure. Moved class-specific constant
table parsing macros into classMethod.h (out of constants.h).
* kaffe/kaffeh/mem.c, kaffe/kaffevm/utfconst.h:
Added as part of above.
* kaffe/kaffeh/constants.c, kaffe/kaffeh/constants.h,
* kaffe/kaffeh/file.h, kaffe/kaffeh/readClassConfig.h,
* kaffe/kaffevm/readClassConfig.h:
Removed as part of above.
* kaffe/kaffevm/debug.c,kaffe/kaffevm/debug.h:
Added READCLASS flag to debug infrastructure. dbgSetMaskStr()
now takes a 'const char*'. debug.h is usable in Kaffeh, so
many hacks were removed. Made GCC understand that
kaffe_dprintf works just like printf, so it can debug the
format strings (several debug format strings were fixed
because of these valid warnings).
* kaffe/kaffevm/findInJar.c, libraries/clib/native/ClassLoader.c
Use the new file.h classFile interface,
* kaffe/kaffevm/utf8const.h, kaffe/kaffevm/string.c,
kaffe/kaffevm/stringSupport.h:
To cleanly share the utf8 code between kaffeh and kaffevm,
created kaffevm/utf8const.h which contains only the
utf8-related functions, types and macros.
* test/regression/Makefile.am,
test/regression/TruncatedClass.java:
Added a new regression test TruncatedClass.java that tests
truncated classes.
* kaffe/kaffevm/inflate.c, kaffe/kaffevm/jni.c,
libraries/clib/native/Runtime.c
Minor comment changes and cleanups
kaffe/kaffevm/mem/gc-incremental.c,
kaffe/kaffevm/mem/gc-incremental.h,
kaffe/kaffevm/mem/gc-mem.c, kaffe/kaffevm/mem/gc-mem.h:
Added some asserts to the gc, and some more comments.
Wed May 29 13:06:10 PDT 2002 Jim Pick <[email protected]>
* README: Added new supported platforms s390 and ia64. Added BeOS
and Cygwin on i386, found in config/i386. Added OpenBSD 2.x found
in config/sparc. Added Ultrix 4.2, found in config/mips. Added
Darwin and NetBSD1.x found in config/powerpc.
* WHATSNEW: Added ports to new architectures s390 and ia64.
Wed May 29 12:59:24 PDT 2002 Jim Pick <[email protected]>
* config/s390/common.h: new file.
* config/s390/linux/config.frag: new file.
* config/s390/linux/md.c: new file.
* config/s390/linux/md.h: new file.
* config/s390/threads.h: new file.
* kaffe/kaffevm/debug.c: Added SYSDEPCALLMETHOD, used by s390
port.
* kaffe/kaffevm/debug.h: Added SYSDEPCALLMETHOD, used by s390
port.
Port to s390 by Ross Patterson <[email protected]>
Taken from Debian's 1.0.6-6.1.src.deb
Wed May 29 12:45:06 PDT 2002 Jim Pick <[email protected]>
* kaffe/kaffe/main.c:
(options) recognize support for -ia32 option.
(usage) print usage info for ia32 option.
* kaffe/kaffevm/systems/unix-jthreads/jthread.c: add ia64 specific
macros for backing store pointers.
(jthread_create) Adjust stack size. Handle backing store pointers
and split stacks.
(reschedule) Adjust context switch handling.
* kaffe/kaffevm/systems/unix-jthreads/jthread.h: Adapt jthread
struct.
* kaffe/kaffevm/jni.c:
(Kaffe_JNIExceptionHandler) Adapt to use JTHREAD_ACCESS_JMPBUF.
* kaffe/kaffevm/exception.c:
(dispatchException) Adapt to use JTHREAD_ACCESS_JMPBUF.
* kaffe/kaffevm/exception.h: Adapt vmException struct.
* kaffe/scripts/kaffe.in: Handle -ia32 option on ia64.
* config/Makefile.am: Add files for ia64 platform.
* config/ia64/common.h: new file.
* config/ia64/linux/config.frag: new file.
* config/ia64/linux/md.c: new file.
* config/ia64/linux/md.h: new file.
* config/ia64/sysdepCallMethod.h: new file.
* config/ia64/threads.h: new file.
* config/Makefile.in: add files for ia64 platform.
* config/config-setjmp.h: add JTHREAD_DECLARE_JMPBUF and
JTHREAD_ACCESS_JMPBUF macros.
Patch by Gwenole Beauchesne <[email protected]>
Patch taken from Mandrake's cooker distribution of kaffe 1.0.6.
Wed May 29 12:04:47 PDT 2002 Jim Pick <[email protected]>
* configure.in,
config/Makefile.am: patch from Tim Stack fixes the
compilation problems with --with-profiling and
--with-xprofiling --with-staticvm --with-staticlib.
Fri May 24 11:17:43 PDT 2002 Godmar Back <[email protected]>
* kaffe/kaffevm/baseClasses.c: fix check for foreign classpath
entries.
Fri May 24 19:16:06 CEST 2002 Dalibor Topic <[email protected]>
* libraries/javalib/Klasses.jar: rebuilt using kaffe's kjc with
options: -O6
Fri May 24 17:32:32 CEST 2002 Dalibor Topic <[email protected]>
* libraries/javalib/java/util/Vector.java:
(Vector) elementCount was already initialized to 0 by the VM.
(addAll) merged from pocketlinux kaffe.
(clear) new method.
(containsAll) new method.
(elementAt) Improved exception message.
(equals) new method.
(hashCode) new method.
(remove) new method.
(removeAll) new method.
(subList) new method.
(toArray) moved between subList and toString.
Fri May 24 17:25:45 CEST 2002 Dalibor Topic <[email protected]>
* libraries/javalib/java/lang/Thread.java:
(countStackFrames) implemented.
Fri May 24 17:20:51 CEST 2002 Dalibor Topic <[email protected]>
* libraries/javalib/java/security/SecureClassLoader.java:
(parent) made field final.
Fri May 24 17:14:44 CEST 2002 Dalibor Topic <[email protected]>
* libraries/clib/native/Method.c:
(Java_java_lang_reflect_Method_init0) removed unused parameter
clazz. Added JNIEXPORT and JNICALL to prototype.
(Java_java_lang_reflect_Method_invoke0) Added JNIEXPORT and
JNICALL to prototype.
Fri May 24 17:07:32 CEST 2002 Dalibor Topic <[email protected]>
* libraries/javalib/java/util/zip/ZipFile.java:
(finalize) call super.finalize.
* libraries/javalib/java/util/zip/Inflater.java:
(finalize) call super.finalize.
* libraries/javalib/kaffe/util/zip/SwitchInflater.java:
(finalize) call super.finalize.
* libraries/javalib/java/util/zip/Deflater.java:
(finalize) call super.finalize.
Fri May 24 17:01:48 CEST 2002 Dalibor Topic <[email protected]>
* libraries/javalib/java/util/TreeMap.java:
(clone) moved statements working on the cloned object inside the
try block, as they would be operating on null if cloning failed.
* libraries/javalib/java/util/HashMap.java:
(clone) moved statements working on the cloned object inside the
try block, as they would be operating on null if cloning failed.
Fri May 24 16:55:49 CEST 2002 Dalibor Topic <[email protected]>
* libraries/javalib/java/lang/Character.java:
(FULLWIDTH_LATIN_CAPITAL_LETTER_A),
(FULLWIDTH_LATIN_CAPITAL_LETTER_Z),
(FULLWIDTH_LATIN_SMALL_LETTER_A),
(FULLWIDTH_LATIN_SMALL_LETTER_Z): new private constants.
(digit) If char is a digit, use the value in the Unicode database
directy. Added support for fullwidth letters.
(getNumericValue) Use digit internally when Unicode database does
not have a numeric value for a character. This allows us to
seamlessly handle fullwidth letters.
Fri May 24 16:50:26 CEST 2002 Dalibor Topic <[email protected]>
* libraries/javalib/java/util/jar/Attributes.java:
(hashCode) new method.
Fri May 24 16:44:46 CEST 2002 Dalibor Topic <[email protected]>
* libraries/javalib/java/util/ArrayList.java:
(ArrayList) removed statements setting fields to automatically
initialized values.
Fri May 24 16:37:08 CEST 2002 Dalibor Topic <[email protected]>
* libraries/javalib/java/util/AbstractList.java:
(subList) the field modCount of the returned list should be
protected.
Mon May 20 21:29:52 CEST 2002 Dalibor Topic <[email protected]>
* libraries/clib/native/Field.c:
(getObject0) The type of the value returned by getFieldAddress is
a pointer to an object pointer, instead of an object
pointer. Fixed.
* libraries/javalib/java/lang/reflect/Field.java:
(get) Added boolean fields.
(set) Use instanceof to compare types, fixing problems with
setting of primitive types. Throw IllegalArgumentException when
trying to set an Object field with a non-matching value.
Tue May 14 21:14:00 CEST 2002 Dalibor Topic <[email protected]>
* libraries/javalib/java/lang/reflect/Method.java:
(invoke) made null illegal argument for methods expecting
primitive types. Changed all instances where IllegalAccesException
was thrown to throw IllegalArgumentException, fixing a mauve
failure. Removed widening of byte to char when char was
expected. Fixed instances where widening code was copied without
paying respect to if / else if execution flow. Fixed "widening" of
double to double.
Tue May 14 21:08:11 CEST 2002 Dalibor Topic <[email protected]>
* test/regression/InvTarExcTest.java:
commented out a call to printStackTrace, making output more
independant of the actual implementation of
java.lang.reflect.Method.
Tue May 14 21:04:22 CEST 2002 Dalibor Topic <[email protected]>
* libraries/javalib/java/lang/reflect/Field.java:
(set) fixed bug with widening.
Tue May 14 20:59:36 CEST 2002 Dalibor Topic <[email protected]>
* libraries/clib/native/Field.c:
renamed setXXX methods to setXXX0 as indicated in the java file.
Tue May 14 20:52:20 CEST 2002 Dalibor Topic <[email protected]>
* libraries/javalib/java/lang/reflect/Array.java:
(set) fixed widening bug.
Mon May 13 23:46:47 CEST 2002 Dalibor Topic <[email protected]>
* libraries/javalib/java/lang/Character.java
(CharacterProperties getResource) Be more error tolerant with
missing or broken classpath entries.
Mon May 13 23:36:21 CEST 2002 Dalibor Topic <[email protected]>
* libraries/javalib/java/lang/reflect/Array.java:
(typeCache), (SEPARATOR) new private fields.
(getArrayType) new private method to resolve array types.
(getCachedType), (putTypeInCache) typeCache access methods.
(mangle) new method.
(multiNewArray) removed prototype.
(newInstanceInternal) rewritten to fix mauve failure and increase
performance.
Sun May 12 12:25:28 PDT 2002 Jim Pick <[email protected]>
* kaffe/kaffevm/readClass.c,
kaffe/kaffevm/readClass.h: Recognize version numbers on classes
compiled with JDK 1.4.0. (Does anybody know if the class format
actually changed? Or if there are any changes in behaviour that
depends on the version number?)
Sun May 12 16:44:29 CEST 2002 Tim Stack <[email protected]>
* libraries/javalib/Makefile.am,
libraries/javalib/Makefile.in,
libraries/javalib/java/security/AlgorithmParameterGenerator.java,
libraries/javalib/java/security/AlgorithmParameterGeneratorSpi.java,
libraries/javalib/java/security/AlgorithmParameters.java,
libraries/javalib/java/security/AlgorithmParametersSpi.java,
libraries/javalib/java/security/KeyFactory.java,
libraries/javalib/java/security/KeyFactorySpi.java,
libraries/javalib/java/security/KeyPairGenerator.java,
libraries/javalib/java/security/KeyStore.java,
libraries/javalib/java/security/KeyStoreException.java,
libraries/javalib/java/security/KeyStoreSpi.java,
libraries/javalib/java/security/MessageDigest.java,
libraries/javalib/java/security/MessageDigestSpi.java,
libraries/javalib/java/security/SecureRandom.java,
libraries/javalib/java/security/Security.java,
libraries/javalib/java/security/Signature.java,
libraries/javalib/java/security/SignatureSpi.java,
libraries/javalib/java/security/UnrecoverableKeyException.java,
libraries/javalib/java/security/cert/CRL.java,
libraries/javalib/java/security/cert/CRLException.java,
libraries/javalib/java/security/cert/Certificate.java,
libraries/javalib/java/security/cert/CertificateEncodingException.java,
libraries/javalib/java/security/cert/CertificateException.java,
libraries/javalib/java/security/cert/CertificateExpiredException.java,
libraries/javalib/java/security/cert/CertificateFactory.java,
libraries/javalib/java/security/cert/CertificateFactorySpi.java,
libraries/javalib/java/security/cert/CertificateNotYetValidException.java,
libraries/javalib/java/security/cert/CertificateParsingException.java,
libraries/javalib/java/security/cert/X509CRL.java,
libraries/javalib/java/security/cert/X509CRLEntry.java,
libraries/javalib/java/security/cert/X509Certificate.java,
libraries/javalib/java/security/cert/X509Extension.java,
libraries/javalib/java/security/interfaces/DSAKey.java,
libraries/javalib/java/security/interfaces/DSAKeyPairGenerator.java,
libraries/javalib/java/security/interfaces/DSAParams.java,
libraries/javalib/java/security/interfaces/DSAPrivateKey.java,
libraries/javalib/java/security/interfaces/DSAPublicKey.java,
libraries/javalib/java/security/interfaces/RSAKey.java,
libraries/javalib/java/security/interfaces/RSAPrivateCrtKey.java,
libraries/javalib/java/security/interfaces/RSAPrivateKey.java,
libraries/javalib/java/security/interfaces/RSAPublicKey.java,
libraries/javalib/java/security/spec/AlgorithmParameterSpec.java,
libraries/javalib/java/security/spec/DSAParameterSpec.java,
libraries/javalib/java/security/spec/DSAPrivateKeySpec.java,
libraries/javalib/java/security/spec/DSAPublicKeySpec.java,
libraries/javalib/java/security/spec/EncodedKeySpec.java,
libraries/javalib/java/security/spec/InvalidKeySpecException.java,
libraries/javalib/java/security/spec/InvalidParameterSpecException.java,
libraries/javalib/java/security/spec/KeySpec.java,
libraries/javalib/java/security/spec/PKCS8EncodedKeySpec.java,
libraries/javalib/java/security/spec/RSAKeyGenParameterSpec.java,
libraries/javalib/java/security/spec/RSAPrivateCrtKeySpec.java,
libraries/javalib/java/security/spec/RSAPrivateKeySpec.java,
libraries/javalib/java/security/spec/RSAPublicKeySpec.java,
libraries/javalib/java/security/spec/X509EncodedKeySpec.java,
libraries/javalib/kaffe/security/Engine.java,
libraries/javalib/kaffe/security/provider/SHA1PRNG.java: merged
with janos VM java security implementation.
Sun May 12 10:44:58 CEST 2002 Dalibor Topic <[email protected]>
* libraries/javalib/java/util/Hashtable.java:
(equals) Hashtable didn't compare equal to other Maps when they
weren't an instance of Hashtable.
* libraries/javalib/java/util/AbstractMap.java:
(equals) added a package private static implementation. It is used
by AbstractMap.equals(Object) and Hashtable.equals(Object).
Sun May 12 10:40:40 CEST 2002 Dalibor Topic <[email protected]>
* libraries/javalib/java/util/AbstractMapEntry.java:
(toString) added method.
Sat May 11 09:47:00 PDT 2002 Jim Pick <[email protected]>
* configure.in: Instead of enabling gcj support by default if gcj
is found, instead force people to explicitly enable it using
--enable-gcj configure switch (because newer versions of gcj do
not currently work with kaffe).
Wed May 8 20:38:38 CEST 2002 Dalibor Topic <[email protected]>
* test/regression/Makefile.am, test/regression/Makefile.in: added
GetTest.java to the list of tests.
Wed May 8 14:42:26 EEST 2002 Jukka Santala <[email protected]>
* kaffe/xprof/gmonFile.c: va_arg with int type to allow building
with GCC 3+
* libraries/clib/native/Class.c: Made exception match Sun JDK's.
* libraries/clib/native/Field.c: Methods aren't JNI compatible, so
named them correctly.
* libraries/javalib/kaffe/net/www/protocol/http/
HttpURLConnection.java: Made proxy address handling match Sun
JDK's observed behaviour.
* test/regression/GetField.java: Added test-case for Field
methods.
Wed May 8 19:22:18 CEST 2002 Tim Stack <[email protected]>
* kaffe/kaffevm/jar.c:
(getDataJarFile) Send something back for entries with compressed
size zero.
* libraries/clib/native/ZipFile.c:
(java_util_zip_ZipFile_getZipData0) Handle zero-sized entries.
Wed May 8 18:55:22 CEST 2002 Dalibor Topic <[email protected]>
* kaffe/xprof/xprofiler.c: removed profiling support for extra
symbols. It caused compile errors.
(extraProfiles) removed.
(xExtraSymbols) removed.
(xRecordExtras) removed.
(xProfileStage) removed calls to xExtraSymbols and xRecordExtras.
Wed May 8 15:47:30 CEST 2002 Tim Stack <[email protected]>
* config/Makefile.am,
config/Makefile.in,
config/i386/freebsd2/xprofile-md.h,
config/i386/linux/xprofile-md.h,
kaffe/xprof/callGraph.c,
kaffe/xprof/mangle.c,
kaffe/xprof/mangle.h,
kaffe/xprof/memorySamples.c,
kaffe/xprof/memorySamples.h,
kaffe/xprof/xprofiler.c: partially merged xprofiling with Janos
VM.
Sun May 5 19:31:34 PST 2002 Jim Pick <[email protected]>
* Updated automake and libtool + added a few tweaks to
try to get kaffe to compile on Mac OS X
* kaffe/kaffevm/slib.h: Modified to check for dlcompat
library on Mac OS X (and not use Mach rld_load)
Mon May 6 01:23:06 CEST 2002 Dalibor Topic <[email protected]>
* libraries/javalib/java/lang/reflect/Array.java,
libraries/javalib/java/lang/reflect/Constructor.java,
libraries/javalib/java/lang/reflect/Field.java,
libraries/javalib/java/lang/reflect/Method.java,
libraries/clib/native/Array.c,
libraries/clib/native/Constructor.c,
libraries/clib/native/Field.c,
libraries/clib/native/Method.c: merged java.lang.reflect with
pockelinux kaffe.
* test/regression/InvTarExcTest.java: adapted to the merge.
* libraries/javalib/Klasses.jar: rebult using kaffe's kjc.
Mon May 6 01:07:14 CEST 2002 Dalibor Topic <[email protected]>
* libraries/javalib/java/lang/Character.java
(CharacterProperties getResource) scan classpath ourself instead
of using builtin functionality in order to avoid initialization
problems.
Sun Apr 28 2002 Patrick Tullmann <[email protected]>
* developers/FullTest.sh: Added. Builds/tests/installs a full
complement of Kaffe variations.
Fri Apr 26 2002 Patrick Tullmann <[email protected]>
* kaffe/kaffevm/exceptions.c: Improve the ELOOKUP tracing
of exception lookup. Add some asserts to dispatchException().
Fri Apr 26 09:45:41 CEST 2002 Randolph Chung <[email protected]>
* config/parisc/common.h, config/parisc/linux/config.frag,
config/parisc/linux/md.c, config/parisc/linux/md.h: initial
support of parisc-linux.
Fri Apr 26 09:43:39 CEST 2002 Dalibor Topic <[email protected]>
* config/parisc/threads.h: merged in from pocketlinux kaffe. It is
just a comment change, but that is the only thing that differed
in the pockelinux implementation. So config/parisc can be
considered as fully merged.
Fri Apr 26 02:36:55 CEST 2002 Dalibor Topic <[email protected]>
* FAQ/FAQ.classlibrary-compile: added paragraph on jikes
bugs. Updated information on Sun's javac to reflect later
versions.
* WHATSNEW: updated kjc entry.
* libraries/javalib/java/util/zip/ZipFile.java:
(getInputStream) throw NullPointerException if ZipEntry parameter
is null.
Tue Apr 23 12:54:15 CEST 2002 Dalibor Topic <[email protected]>
* kaffe/kaffevm/object.c:
(newArrayChecked) Added simple checks for overflow. It fixes a
gnu.testlet.java.lang.reflect.Array.newInstance test. In the test
a too big multidimensional array was allocated in order to provoke
an OutOfMemoryError. Due to overflow we actually allocated
something but messed up the gc. Some of the following tests would
then eventually crash.
Mon Apr 22 10:15:48 CEST 2002 Dalibor Topic <[email protected]>
* libraries/clib/net/PlainDatagramSocketImpl.c,
libraries/clib/net/PlainSocketImpl.c,
libraries/javalib/java/net/MulticastSocket.java,
libraries/javalib/java/net/SocketOptions.java,
libraries/javalib/java/net/PlainDatagramSocketImpl.java:
Reversed changes for SO_REUSEPORT, since it's not defined in any
API specification. Thanks to Audeon Guillaume <[email protected]>
for pointing it out.
* libraries/javalib/java/lang/Class.java:
(forName) skip over native and java part of method invoke.
* libraries/javalib/java/lang/reflect/Method.java:
(invoke0) new method.
(invoke) partially reimplemented error-checking in Java.
* libraries/clib/native/Method.c:
(Java_java_lang_reflect_Method_invoke) renamed to
(Java_java_lang_reflect_Method_invoke0) and moved basic parameter
checks into non-native implementation part.
* libraries/clib/native/Constructor.c:
(Java_java_lang_reflect_Constructor_newInstance) use
Method.invoke0 instead of Method.invoke.
* test/regression/InvTarExcTest.java: adapted output to new
Method.invoke stack trace.
* libraries/javalib/kjc.jar: updated to latest version from kopi
CVS, i.e. 2.1A + a few important bugfixes.
* libraries/javalib/Klasses.jar: regenerated with new kjc.
Wed Apr 17 22:02:42 CEST 2002 Dalibor Topic <[email protected]>
* libraries/javalib/java/applet/Applet.java:
(getAppletContext), (getAudioClip), (getCodeBase),
(getDocumentBase), (getImage), (getImage), (getParameter)
merged in fixes from pocketlinux kaffe.
(getAudioClip), (isActive) cosmetic changes.
* libraries/javalib/java/lang/Boolean.java:
(Boolean) use equalsIgnoreCase instead of doing it by hand.
* libraries/javalib/kaffe/jar/ExecJar.java:
(ExecJar) handle Class-Path Attribute.
* FAQ/FAQ.Known-Bugs: removed some fixed bugs.
Mon Apr 15 20:00:56 CEST 2002 Tim Stack <[email protected]>
* libraries/clib/net/PlainDatagramSocketImpl.c:
added SO_REUSEPORT support. Improved error reporting.
* libraries/clib/net/PlainSocketImpl.c:
Improved error reporting.
* libraries/javalib/java/net/MulticastSocket.java:
add support for SO_REUSEPORT.
* libraries/javalib/java/net/SocketOptions.java:
add SO_REUSEPORT.
* libraries/javalib/java/lang/NativeLibrary.java:
(NativeLibrary) throw FileNotFoundException if library can not be
found. Do not save the index if system class loader is null.
(getLibraryNames) changed access to package.
(getLibPrefix) same.
(getLibSuffix) same.
(linkLibrary) throw FileNotFoundException.
* libraries/javalib/java/lang/Runtime.java:
adapted for changes in NativeLibrary.
* libraries/clib/native/NativeLibrary.c:
(java_lang_NativeLibrary_linkLibrary) improved error reporting.
* libraries/clib/native/ByteToCharIconv.c,
libraries/clib/native/CharToByteIconv.c:
fix gcc3 warnings.
Mon Apr 15 12:44:11 CEST 2002 Dalibor Topic <[email protected]>
* libraries/javalib/java/net/MulticastSocket.java:
(checkMulticastAddress) new method.
(joinGroup), (leaveGroup), (send) use checkMulticastAddress.
* libraries/javalib/java/net/URL.java:
(equals) delegated to URLStreamHandler.
(sameFile) same.
* libraries/javalib/java/net/URLStreamHandler.java:
(equals) new method.
(defaultPort) same.
(getHostAddress) same.
(sameFile) same.
* libraries/javalib/kaffe/net/www/protocol/ftp/Handler.java:
(getDefaultPort) new method.
* libraries/javalib/kaffe/net/www/protocol/http/Handler.java:
(getDefaultPort) new method.
Fri Apr 12 14:12:39 2002 Jim Pick <[email protected]>
* Make sure calls to postExceptionMessage() don't pass random
string in fmt field (security). Thanks to KF.
Fri Apr 12 13:26:13 CEST 2002 Dalibor Topic <[email protected]>
* libraries/javalib/Klasses.jar: regenerated using javac 1.4.0.
Options: -target 1.1 -O.
* libraries/javalib/java/math/BigInteger.java:
(MINUS_ONE), (TWO) new private constants.
(static) initalize MINUS_ONE and TWO.
(BigInteger) use constant TWO instead of dynamically created
object of same value.
(checkIfBitAddressIsNotNegative) new method.
(shift) new method. Fixed bugs with shifting negative integers to
right. Optimized for minimal object creation.
(shiftLeft) rewritten to use shift internally.
(shiftRight) rewritten to use shift internally.
(testBit), (setBit), (clearBit), (flipBit) added check for
negative bit address.
* libraries/clib/native/Double.c:
(toCharArrayWithPrecision) new function.
(valueOfCharArray) new function. Removed handling of overflow and
underflow, since the JDK does not seem to be taking care of it
anyway. It just returns Infinity on overflow and 0.0 on underflow.
(java_lang_Double_toStringWithPrecision) use
toCharArrayWithPrecision internally. implemented a binary search
over possible precisions to find the shortest String
representation resulting in the same double when converted back.
(java_lang_Double_valueOf0) use valueOfCharArray internally.
* libraries/clib/native/Float.c:
(toCharArrayWithPrecision) new function.
(valueOfCharArray) new function. Removed handling of overflow and
underflow, since the JDK does not seem to be taking care of it
anyway. It just returns Infinity on overflow and 0.0 on underflow.
(java_lang_Float_toStringWithPrecision) new method. use
toCharArrayWithPrecision internally. implemented a binary search
over possible precisions to find the shortest String
representation resulting in the same double when converted back.
* libraries/javalib/java/lang/Double.java:
(MAX_DIGITS) new field.
(bitsToDecimal) removed, no longer necessary.
(toString) simplified. use toStringWithPrecision directly.
* libraries/javalib/java/lang/Float.java:
(MAX_DIGITS) new field.
(bitsToDecimal) removed, no longer necessary.
(toString) simplified. use toStringWithPrecision directly.
(toStringWithPrecision) new native method.
* test/regression/finaltest.java:
test/regression/finaltest2.java: fixed expected value.
* libraries/clib/native/Math.c:
(pow) renamed to (pow0).
* libraries/javalib/java/lang/Math.java:
(pow) return NaN if abs(a) is 1.0 and b is infinite. i368-linux
glibc 2.2.4 doesn't do it.
(pow0) new native method.
* libraries/clib/native/String.c:
(java_lang_String_indexOf) throw NullPointerException if pattern
is NULL.
* libraries/javalib/java/lang/StringBuffer.java:
(checkIndex) new method.
(checkExistingIndex) new method.
(deleteCharAt) use checkExistingIndex instead of inlined check.
(insert) use checkIndex instead of inlined check.
(setCharAt) same.
Thu Apr 4 18:44:05 CEST 2002 Tim Stack <[email protected]>
* libraries/clib/native/Method.c:
(Java_java_lang_reflect_Method_invoke) added more argument checks.
Thu Apr 4 14:03:07 CEST 2002 Dalibor Topic <[email protected]>
* developers/utf8munge.pl: Fix perl path. Taken from RedHat's
distribution of kaffe 1.0.6.
* libraries/clib/native/System.c: Include for <sys/time.h>. Fixes
compilation problems. Taken from RedHat's distribution of kaffe
1.0.6.
* config/alpha/threads.h: Set SP_OFFSET to 8.
Patch taken from Madrake's cooker distribution of kaffe 1.0.6.
* libraries/javalib/java/lang/String.java:
(getBytes) Fix bug with too small buffer.
Patch taken from Mandrake's cooker distribution of kaffe 1.0.6.
* config/sparc/linux/jit-md.h: remove asm/sigcontext
includes. Include asm/ptrace. Change type of ctx in EXCEPTIONPROTO
to struct sigcontext*.
Patch taken from Mandrake's cooker distribution of kaffe 1.0.6.
* config/config-std.h: include string.h if it is available.
Patch taken from Madrake's cooker distribution of kaffe 1.0.6.
* libraries/javalib/java/awt/widgets/TextComponent.java:
(addTextListener) Add the text listener.
* libraries/javalib/java/awt/widgets/TextField.java:
(keyPressed) Fix buggy handling of key change.
Patch by Maurizio De Cecco <[email protected]>
Patch taken from Mandrake's cooker distribution of kaffe 1.0.6.
* libraries/javalib/java/awt/Component.java:
(transferFocus) Fixed bug in focus traversal.
Patch taken from Mandrake's cooker distribution of kaffe 1.0.6.
* libraries/javalib/java/awt/FontMetrics.java: Fix bug with
premature freeing of native font data.
Patch by Maurizio De Cecco <[email protected]>
Patch taken from Mandrake's cooker distribution of kaffe 1.0.6.
* libraries/clib/awt/X/evt.c: Include X11/keysim.
(keyNotify) Fixed bug in handling of keypad numbers.
* libraries/clib/awt/X/keysyms.h: Fixed bug with size of FKeyCode.
Patch by Maurizio De Cecco <[email protected]>
Patch taken from Mandrake's cooker distribution of kaffe 1.0.6.
Mon Apr 1 21:49:08 PST 2002 Jim Pick <[email protected]>
* changed "make install" to install files in same way as
Sun's JDK/JRE.
Thu Mar 28 13:33:03 CET 2002 Tim Stack <[email protected]>
* libraries/javalib/java/lang/reflect/Array.java:
(newInstance) throw IllegalArgumentException if componentType is
Void.TYPE.
* libraries/javalib/java/math/BigInteger.java:
(BigInteger) make byte buffer negation loop more explicit.
(shiftLeft) shift right if n is negative.
(shiftRight) shift left if n is negative.
* libraries/javalib/java/io/BufferedOutputStream.java :
(flush) decrease count by actually transferred amount in case of
an InterruptedIOException.
(write) same.
* libraries/javalib/java/util/Calendar.java:
(get) complete fields only if field has not been set yet.
(roll) new method.
* libraries/javalib/java/lang/Class.java :
(getMethod) throw NoSuchMethodException if method is <init> or
<clinit>.
* libraries/javalib/java/io/InputStream.java :
(skipBuffer) new field.
(skip) use static waste buffer skipBuffer instead of allocating a
new one.
* libraries/javalib/java/lang/Integer.java :
(parseUnsignedInt) simplify NumberFormatException check.
* libraries/javalib/java/lang/Long.java :
(decode) new method.
(getLong) return default value if name is empty.
(parseLong) throw NumberFormatException if string is null.
(parseUnsignedLong) simplify NumberFormatException check.
* libraries/javalib/java/text/ParseException.java:
(ParseException) include offset in message.
* libraries/javalib/java/io/PipedInputStream.java :
(close) Notify all waiting threads.
(receivedLast) Synchronized method. Notify all waiting threads.
* libraries/javalib/java/io/PipedOutputStream.java :
(close) allow sink to be garbage collected.
* libraries/javalib/java/net/PlainSocketImpl.java:
(close) call socketClose if it has not been closed yet.
* libraries/javalib/java/util/Properties.java:
(getProperty) return null if key is null.
* libraries/javalib/java/net/ServerSocket.java:
(ServerSocket) throw IllegalArgumentException if port is out of
range.
(setSocketFactory) check if security manager allows to do it.
* libraries/javalib/java/lang/System.java:
(setSecurityManager) updated to conform to 1.2+ spec.
* libraries/javalib/java/text/SimpleDateFormat.java,
libraries/javalib/java/util/GregorianCalendar.java,
libraries/javalib/java/util/SimpleTimeZone.java,
libraries/javalib/java/util/TimeZone.java:
bug fixes to get the crypto package from bouncycastle.org to work.
Thu Mar 28 13:05:09 CET 2002 Dalibor Topic <[email protected]>
* libraries/javalib/java/util/ResourceBundle.java :
(getBundle) Added locale information to exception information.
* libraries/javalib/java/lang/Byte.java,
libraries/javalib/java/lang/Character.java,
libraries/javalib/java/lang/Double.java,
libraries/javalib/java/lang/Float.java,
libraries/javalib/java/lang/Integer.java,
libraries/javalib/java/lang/Long.java,
libraries/javalib/java/lang/Short.java:
added compareTo methods to compare with same type.
* test/regression/CLTestJLock.java,
test/regression/ProcessClassInst.java,
test/regression/TestUnlock.java: increased watchdog time
limits. Old, slow processors under load had a hard time passing
these tests.
* kaffe/kaffevm/code-analyse.c:
(verifyBasicBlock) improved error message.
* libraries/javalib/java/awt/FontMetrics.java:
(FontMetrics) changed constructor access to protected to comply
with spec.
Fixes Debian bug report #77022 reported by Antti-Juhani Kaijanaho
Thu Mar 21 22:25:16 PST 2002 Dalibor Topic <[email protected]>
* libraries/javalib/java/net/DatagramPacket.java:
(offset) new field.
(DEFAULT_PORT) removed constant.
(DEFAULT_RECEIVE_PORT), (MAX_PORT), (MIN_LENGTH), (MIN_OFFSET),
(MIN_PORT) added constant.
(DatagramPacket) All receive constructors use a common
constructor, all send constructors use another one. Removed
premature setting of address for receive constructors. Added
new construcutor.
(getOffset) new method.
(prime) new method. used by DatagramSocket.
(setData) added a new version to handle offsets. all setData
methods use a common version to do the work.
(setLength) updated parameter check to take care of offset.