davmail icon indicating copy to clipboard operation
davmail copied to clipboard

Can't build using OpenJDK-14

Open Khaos66 opened this issue 4 years ago • 1 comments

When using OpenJDK-14 instead von Java SDK 1.8 there are build errors:

src\java\davmail\exchange\auth\O365InteractiveJSLogger.java Error:(23, 27) java: package netscape.javascript does not exist

src\java\davmail\exchange\auth\O365InteractiveAuthenticatorFrame.java Error:(83, 62) java: package sun.net.www.protocol.https does not exist

Khaos66 avatar Jul 24 '20 08:07 Khaos66

This is getting tricky to support all Java versions with the new Oracle release cycle !

Fixed the first one in trunk. The second one is mainly a workaround for an OpenJFX bug, should no longer be an issue with OpenJDK 14 => you could try to drop all the sun.net.www.protocol.https.Handler block

mguessan avatar Sep 14 '20 08:09 mguessan