See attached two screenshots showing a Menu with mnemonic underscore highligted (by Pressing Alt key).
Mnemonic color is black (expected behavior) in JDK-8
Mnemonic color is white JDK-9 onwards
Mnemonic color is black (expected behavior) in JDK-8
Mnemonic color is white JDK-9 onwards