Hmm. That change gives slightly different appearance with openJDK-8, but then davmail aborts right after start with openJDK-9. SWT "works" apart from right-click items in 9, while 8 seems to be the stable choice (it seems to be the default on my other machines). Afraid I'm a numerical software type, so not super-fluent with Java stuff. JN
Had same problem today 2018-5-14 with Davmail 4.8.5-2589-1 and changing to openJDK 8 worked. I submitted bug report, as right-click / (anything) crashes otherwise.