In accordance with the AWT plan the support for X11 toolkit on Mac OS has to be removed.
As a result the issues in that part of code are frozen.
But for the case of remote ssh connection to Mac OS machine the X11 toolkit could be selected by AWT as default toolkit. That happens if OS variable DISPLAY is defined.
The case is ordinal for JPRT computer. That leads to unpredictable test fails due to deadlock/exception in X11 toolkit initialization block.