[
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
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
Does anyone know how to resolve this,
especially with Tycho-Surefire tests?
Thanks
Jonah
_______________________________________________
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