Is Random Class not based on JLS?
Jiro KANAYAMA
majiro at distribution.co.jp
Sun Mar 7 22:50:00 PST 1999
Hello,
I'm interested in JLS-compatibility of kaffe coreAPI.
Pleased to meet you.:-)
By the way, I found that Random Class is ( probably ) not based on JLS.
I want to hear your opinion.
JLS describes for Random class below.
| 21.9 The Class java.util.Random
|
| ...
|
| Java implementations must use all the algorithms shown here for the
| class Random, for the sake of absolute portability of Java
| code.
|
| ...
In the case of kaffe-1.0.b3, Random class is implemented by different
routine and the routine return different random value from JLS based
routine in same seed.
I think that it means "absolute portability" is not guaranteed.
What do you think that?
Thanks,
Jiro KANAYAMA
More information about the kaffe
mailing list