89270c8108
Old Int.toString(radix: Int) and Long.toString(radix: Long) implementations didn't add sign for negative values. E.g. -1.toString(16) == "0xff..ff" while JVM returns "-1" in such case. This patch fixes this behaviour and allow us to use any radix between 2 and 36 as JVM does.