-
Notifications
You must be signed in to change notification settings - Fork 91
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
Determine if plugins can fix recent issue with installing certain features on later Java versions #1716
Comments
@jjiwooLim Is this something that we can pass along when installing features? |
I was finally able to reproduce this error on my enviorment with JDK 11.0.20 and 17.0.8. Improved ZIP64 Extra Field Validation (JDK-8302483 (not public)) was added in following versions: With these newer JDK versions, running Unfortunately setting the system property |
@jjiwooLim Please note that the first person to report this problem was using |
@cherylking For Maven, For Gradle,
This has to be done on users side as setting the system property inside a Java class doesn't work. For more info, please check https://connortumbleson.com/2023/07/31/invalid-cen-header/ . Using the environment variable above, I was able to install features successfully on Maven and Gradle. |
Looks like a recent PR may resolve this new validation error for our scenario in a future Java fixpack. |
Saw this in a recent build:
Someone on another team some a similar error in one of their builds:
The issue is with more recent versions of Java doing more checks on zip archives. @pnickoll Found setting system property
-Djdk.util.zip.disableZip64ExtraFieldValidation=true
causes the error to be ignored and the feature can install correctly.Determine if/can the plugin specify this property when installing features to avoid the error.
#1715 bypasses the issue by updating the failing test case to use newer versions of Liberty.
The text was updated successfully, but these errors were encountered: