-
-
Notifications
You must be signed in to change notification settings - Fork 428
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
ZipException workarounds #3747
ZipException workarounds #3747
Conversation
* Use Karaf 4.4.3 compile dependency * Disable this feature in itests Signed-off-by: Wouter Born <[email protected]>
This prevents ZipException stacktraces when running the itests on JDK 17.0.8 or newer. Related to: * openhab/openhab-core#3718 * openhab/openhab-core#3747 Signed-off-by: Wouter Born <[email protected]>
This prevents ZipException stacktraces when running the itests on JDK 17.0.8 or newer. Related to: * openhab/openhab-core#3718 * openhab/openhab-core#3747 Signed-off-by: Wouter Born <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks!
* Use Karaf 4.4.3 compile dependency * Disable this feature in itests Signed-off-by: Wouter Born <[email protected]>
While not an issue persay, this seems to break the ability to create the hybrid 3.x 4.x jars. Noticed yesterday when compiling androidtv. |
That is to be expected and it will get more complicated over time as differences between branches grow. It's not recommended and unsupported for various reasons. |
Fully agreed and not trying to say we need to do anything to resolve it. Just noting for anyone who is doing the hybrids where the break occurred for later on. |
This prevents ZipException stacktraces when running the itests on JDK 17.0.8 or newer. Related to: * openhab/openhab-core#3718 * openhab/openhab-core#3747 Signed-off-by: Wouter Born <[email protected]>
This pull request has been mentioned on openHAB Community. There might be relevant details there: https://community.openhab.org/t/no-longer-able-to-build-a-binding-for-3-4-x/149270/4 |
) This prevents ZipException stacktraces when running the itests on JDK 17.0.8 or newer. Related to: * openhab/openhab-core#3718 * openhab/openhab-core#3747 Signed-off-by: Wouter Born <[email protected]>
) This prevents ZipException stacktraces when running the itests on JDK 17.0.8 or newer. Related to: * openhab/openhab-core#3718 * openhab/openhab-core#3747 Signed-off-by: Wouter Born <[email protected]> Signed-off-by: Jørgen Austvik <[email protected]>
I ran into some more build issues due to this "Improved ZIP64 Extra Field Validation" (see #3718) now that Temurin 17.0.8 upgrades are available in APT repos.
The org.openhab.core.karaf bundle fails to build as Java thinks there are some issues with org.apache.karaf.features.core-4.4.0.jar. However
zip -T ...
thinks it's OK. So perhaps this is a false positive. It doesn't complain about org.apache.karaf.features.core-4.4.3.jar so let's use that instead.Also the itests generate lots of ZipException stacktraces due to the issue with geronimo-osgi-locator.jar.