Skip to content

Fix the jctools proguard rules#2063

Merged
mariusc83 merged 1 commit into
feature/otel-supportfrom
mconstantin/fix-jctools-proguard-rules
May 30, 2024
Merged

Fix the jctools proguard rules#2063
mariusc83 merged 1 commit into
feature/otel-supportfrom
mconstantin/fix-jctools-proguard-rules

Conversation

@mariusc83

Copy link
Copy Markdown
Member

What does this PR do?

A brief description of the change being made with this pull request.

Motivation

What inspired you to submit this pull request?

Additional Notes

Anything else we should know when reviewing?

Review checklist (to be filled by reviewers)

  • Feature or bugfix MUST have appropriate tests (unit, integration, e2e)
  • Make sure you discussed the feature or bugfix with the maintaining team in an Issue
  • Make sure each commit and the PR mention the Issue number (cf the CONTRIBUTING doc)

@mariusc83 mariusc83 self-assigned this May 29, 2024
@mariusc83
mariusc83 requested review from a team as code owners May 29, 2024 18:43
-keepnames class io.opentracing.util.GlobalTracer {
public boolean isRegistered();
}
-keepclassmembernames class org.jctools.** { *; } No newline at end of file

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

jctools classes are at the core of the CoreTracer consumer and we cannot easily get rid of. On the other hand jctools is not really compatible with Proguard as it is using Reflection under the hood and we will need to keep at least the class member names.

@codecov-commenter

Copy link
Copy Markdown

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 67.30%. Comparing base (39c7c04) to head (a33e37c).

Additional details and impacted files
@@                   Coverage Diff                    @@
##           feature/otel-support    #2063      +/-   ##
========================================================
- Coverage                 67.37%   67.30%   -0.07%     
========================================================
  Files                       733      733              
  Lines                     27015    27025      +10     
  Branches                   4572     4573       +1     
========================================================
- Hits                      18201    18189      -12     
- Misses                     7587     7615      +28     
+ Partials                   1227     1221       -6     

see 36 files with indirect coverage changes

@mariusc83
mariusc83 merged commit bf0475c into feature/otel-support May 30, 2024
@mariusc83
mariusc83 deleted the mconstantin/fix-jctools-proguard-rules branch May 30, 2024 06:56
@xgouchet xgouchet added this to the 2.11.x milestone Jul 31, 2024
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.

4 participants