In Java 7, a new feature was added to Java that allows underscores to be placed within numeric literals in order to improve the readability of them. However, the Java code highlighting on SO is not properly treating numeric literals with underscores as numeric literals.
Right now, Java numeric literals show up as red to stand out from what surrounds it. However, when an underscore is used in such a numeric literal, only the part to the left of the first underscore is highlighted as red; the rest of the number is just black. Whenever this new feature is used in SO code, it should be the entire numeric literal that is highlighted, not just the first part of it.
Since the author of Prettify does not seem to update the project that often, this is a request for someone to upload a patch to fix it. Once that is done, I'll change this request to one that asks SE to update to the newer revision.
Example: https://stackoverflow.com/a/26102093
1_000_000
instead of1E6
is beyond my understanding.0x3B9A_CA00
although I don't know if that's valid in Java (0x3B9A'CA00
is valid in C++14)