Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [cdt-dev] export with Java 17

Hi,


add this to the bundle which depends on com.sun.org.apache.xerces.internal.dom.ParentNode (there should be an import statement somewhere in the code).


Hope this helps,

Dominic


On 7/20/22 16:25, Jonah Graham wrote:
Thanks,

To which bundle's MANIFEST.MF does this need to be added? The one in Orbit, or the consuming one?

Thanks,
Jonah


~~~
Jonah Graham
Kichwa Coders
www.kichwacoders.com


On Wed, 20 Jul 2022 at 10:22, Dominic Scharfe <dominic.scharfe@xxxxxxxxxxxxxxx> wrote:

Hi Jonah,


try to add the following to the MANIFEST.MF file:

Java-Module-AddExports: java.xml/com.sun.org.apache.xerces.internal.dom=.


Best regards,

Dominic


On 7/20/22 15:56, Jonah Graham wrote:
Hi Jeff / cdt-devers

With the upgrade to Java 17 some of CDT's (very) old code fails with exceptions like:

Caused by: java.lang.IllegalAccessException: class org.eclipse.cdt.internal.core.CConfigBasedDescriptor$1 cannot access class com.sun.org.apache.xerces.internal.dom.ParentNode (in module java.xml) because module java.xml does not export com.sun.org.apache.xerces.internal.dom to unnamed module @3157e4c0


This looked familiar, and perhaps related to https://bugs.eclipse.org/bugs/show_bug.cgi?id=578660

Does anyone know how to resolve this, especially with Tycho-Surefire tests?

Thanks
Jonah


~~~
Jonah Graham
Kichwa Coders
www.kichwacoders.com

_______________________________________________
cdt-dev mailing list
cdt-dev@xxxxxxxxxxx
To unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/cdt-dev

_______________________________________________
cdt-dev mailing list
cdt-dev@xxxxxxxxxxx
To unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/cdt-dev

_______________________________________________
cdt-dev mailing list
cdt-dev@xxxxxxxxxxx
To unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/cdt-dev

Attachment: smime.p7s
Description: S/MIME cryptographic signature


Back to the top