Skip to content
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

Updates proguard config to fix JDK 17 toolchain + Scala Build Tool compatibility issue #681

Merged
merged 2 commits into from
Dec 26, 2023

Conversation

popematt
Copy link
Contributor

Issue #, if available:

None.

Description of changes:

When building IonJava using JDK 17 and running proguard, the resulting jar is incompatible with scala build tool and some bytecode manipulation libraries. This updates the proguard config so that proguard doesn't make those incompatible changes to our classes.

Why does this work? The includecode keyword tells proguard that the code of the "keep" classes may not be modified during optimization.

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

@popematt popematt requested a review from tgregg December 22, 2023 20:02
@popematt popematt changed the title Updates proguard config to keep more of the original code Updates proguard config to fix JDK 17 toolchain + Scala Build Tool compatibility issue Dec 22, 2023
Copy link

codecov bot commented Dec 22, 2023

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (57c6787) 67.23% compared to head (f278499) 67.22%.

Additional details and impacted files
@@             Coverage Diff              @@
##             master     #681      +/-   ##
============================================
- Coverage     67.23%   67.22%   -0.01%     
+ Complexity     5482     5481       -1     
============================================
  Files           159      159              
  Lines         23007    23007              
  Branches       4122     4122              
============================================
- Hits          15468    15466       -2     
- Misses         6260     6261       +1     
- Partials       1279     1280       +1     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@tgregg tgregg merged commit fe8ad4a into amazon-ion:master Dec 26, 2023
6 of 7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants