Hi,
please review this patch to expose formatUnsignedInt/-Long through
JavaLangAccess.
webrev: http://cr.openjdk.java.net/~redestad/8050114/webrev.1/
bug: https://bugs.openjdk.java.net/browse/JDK-8050114
The behavior of the methods have been adjusted to be zero-padding in
case the number formatted is shorter than the specified length, since
that simplifies use cases for which this utility is exposed internally,
e.g., JDK-8006627 <https://bugs.openjdk.java.net/browse/JDK-8006627>.
Microbenchmarks show that this does not adversely affect performance of
current uses through toHexString, toOctalString etc.
Thanks!
/Claes