https://github.com/openjdk/jdk/pull/14699 / https://bugs.openjdk.org/browse/JDK-8310929 optimized a couple of tables in Integer into a new little-endian table (now StringLatin1::PACKED_DIGITS) that now contains the same contents as the big-endian table in java.util.DecimalDigits.
We will consolidate this so that packed digits can be shared by implementations in java.lang and java.util, by moving Digits, DecimalDigits, HexDigits and OctalDigits to jdk.internal.util and exposing a method for java.lang classes to access the LE digit pair from DecimalDigits.
The existing BE-table in DecimalDigits is changed to be LE, and implementation is updated accordingly.
We will consolidate this so that packed digits can be shared by implementations in java.lang and java.util, by moving Digits, DecimalDigits, HexDigits and OctalDigits to jdk.internal.util and exposing a method for java.lang classes to access the LE digit pair from DecimalDigits.
The existing BE-table in DecimalDigits is changed to be LE, and implementation is updated accordingly.