Package org.w3c.dom can prevent compilation with java 14
Nicolas Falliere <[email protected]> Wed, 23 Dec 2020 15:12:12 -0800
| Newsgroups | gmane.comp.lang.jython.devel |
|---|---|
| Message-ID | <CAJP=iOX98+vqr5jJb4VRjTfmJTO2OLmiF+0pbgEFNWizL5=bqQ@mail.gmail.com> |
Just an FYI, something I noticed when migrating a code base from jdk 11 to 14. If a project using classes in org.w3c.dom is in the unnamed module, javac will report a conflict since org.w3c.dom is accessible from both <unnamed> and java.xml modules. A solution is to manually remove org.w3c.dom from the jython-xxx.jar. Best regards, -- Nicolas Falliere ([email protected]) JEB Decompiler, Founder and Architect PNF Software <https://www.pnfsoftware.com/> | Follow us on Twitter <https://twitter.com/jebdec> | Join us on Slack <https://www.pnfsoftware.com/chat> | Bulletin Board <https://www.pnfsoftware.com/forum> _______________________________________________ Jython-dev mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/jython-dev