This is a really weird issue, but I just have a simple keyListener added to a JPanel that prints on keyPressed and on keyReleased. Usually it works fine, but on certain keys
It appears that this is a Java bug that arose after people upgraded to MacOS Sierra:
Java Bug Database
Reddit post
As a temporary workaround you might try using keys other than the standard WASD for controlling movement.