Bug in Character.toString()

閲覧: 7 回
最初の未読メッセージにスキップ

Udo

未読、
2016/07/26 12:06:572016/07/26
To: Java2Script
It looks like the implementation of Character.toString  (in core.z.js) is buggy. 

Here the current code (pretty printed):

c$.toString = $_M(c$, "toString", function(c) {
    {
        if (this === Charater) {
            return "class java.lang.Charater";
        }
    }
    return String.valueOf(c);
}, "~S");



Look at the spelling of "Charater". It is missing the small "c": Character

This typo occurs twice, once as the reference to the class and in the string literal.


Udo


全員に返信
投稿者に返信
転送
新着メール 0 件