-
Notifications
You must be signed in to change notification settings - Fork 392
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Remove ECF from products #1439
Remove ECF from products #1439
Conversation
550497a
to
7a13d59
Compare
THe products are over-specified and include directly things that are also indirectly induced by other things. In this case, the Platform's evolving use of ECF is causing a problem. eclipse-birt#1433
7a13d59
to
1c2cdf2
Compare
FYI, these are much bigger set of changes. At this point there are two choices:
There are new versions of things such as batik, and soon also new versions of other BIRT dependencies, e.g., poi will be refreshed. Eventually one will be forced to take the second route, and, long term, to eliminate CVE-ridden libraries, one must follow this route. But, because of the rather fragile nature of how the runtimes are created, there is a non-zero chance that we will yet again have problems with things missing from the runtime.... |
Thanks for your change. |
|
The build worked with these changes. So I think we are good to move forward. Shall I merge it? I would just suggest testing/inspecting the runtimes to make sure they work properly and nothing important has gone missing. |
Yes, I agree on it to merge the change. |
@merks In addition to it such a familiar issue is given with the OSGI-BIRT plattform. My suppluier use WildFly 27 with BIRT 4.13 (OSGI), JDK 17 and get the message java.lang.ClassNotFoundException: sun.misc.Unsafe from [Module "deployment.servbird.ear" from Service Module Loader]. This is an reflection issue of the equinox problem. eclipse warning on designer executionOSGi-Framework, MultiplexingFactory.java - misc.sun-missing:Equinox discussion: eclipse-equinox/equinox#94 Let me know if you would like this topic in a seperate ticket, I would create it fro you. |
This is not a problem that I can fix, and I don't think it's actually broken. The openpdf bundle, as it comes directly from Maven, https://repo1.maven.org/maven2/com/github/librepdf/openpdf/1.3.30/ has a non-optional requirement on that package as selected here: The jdk.unsupport module is generally in a JDK and that module provides the sun.misc package: The validation problem is exactly like what's described here: I.e., it is a bug in PDE that it complains about a missing package that is actually provided by the JRE/JDK. As for your stack trace, it appears you are using a JRE without the jdk.unsupported module. I.e., that stack trace is not caused directly or indirectly by the openpdf bundle. Moreover, this stack trace does not look like a new problem in Equinox. The print has been there for quite some time, i.e., since this change: https://git.eclipse.org/r/c/equinox/rt.equinox.framework/+/182046 So the validation dialog is a bug in PDE that should be fixed in the latest release and the stack trace is an Equinox problem that happens when your JRE is missing something that Equinox generally needs and expects. |
Thanks Ed for your research and explanation then we can go ahead on our side. |
You're welcome. 😄 I'm currently working through all the Orbit bundles. One thing I just noticed is there is POI version 5.x available but BIRT is using POI 4.x, in particular 4.1.1. There is a 4.1.2 available, but I don't believe there will be future 4.x versions but rather only more 5.x versions: https://repo1.maven.org/maven2/org/apache/poi/poi/ So I think it will be best that I pull in the latest 5.x version and then we'll need to update BIRT's version ranges to use this newer version. Hopefully that version will just work... |
Well, the POI update to 5.x would be greate (Ok, somebody has to implements the new functions.) |
THe products are over-specified and include directly things that are also indirectly induced by other things. In this case, the Platform's evolving use of ECF is causing a problem.
#1433