This may be treated as duplicate of JDK-8089866, however I
(1) cannot reproduce this on OS X 10.11 iMac (in _almost_ all cases; in all but 3 maybe);
(2) always reproduce on macOS 10.12 /10.12.1 macmini.
Other than that, behavior is the same as in JDK-8089866.
Build under test is jdk9 b141.
Perhaps situation didn't become better with new OS release.
(1) cannot reproduce this on OS X 10.11 iMac (in _almost_ all cases; in all but 3 maybe);
(2) always reproduce on macOS 10.12 /10.12.1 macmini.
Other than that, behavior is the same as in JDK-8089866.
Build under test is jdk9 b141.
Perhaps situation didn't become better with new OS release.