janssk1 opened a new pull request #9140:
URL: https://github.com/apache/pulsar/pull/9140


   Fixes #7971
   
   ### Motivation
   
   Since pulsar 2.6, the client is not useable anymore in projects that use jdk 
modules. The jars files contain split packages, preventing the jvm from starting
   
   ### Modifications
   
   Two 'split packages' fixed:
   - ZStd compression was reusing packages of airlift to access a protected 
class. Using reflection instead
   - Changed package of LongSchemaVersion from org.apache.pulsar.common.schema 
to org.apache.pulsar.common.protocol.schema. The former package is used already 
by client-api
   
   ### Verifying this change
   
     - *Added integration tests  that runs using java modules. Unfortunately, a 
maven limitation (https://issues.apache.org/jira/browse/MNG-5899) prevents me 
from adding the test to the reactor. For now, the test needs to be executed in 
a dedicated mvn call..*
   
   ### Does this pull request potentially affect one of the following parts:
   
   *If `yes` was chosen, please highlight the changes*
   
     - Dependencies (does it add or upgrade a dependency): no
     - The public API: **yes  --> LongSchemaVersion package changed. Not sure 
if this is a public API **
     - The schema: no 
     - The default values of configurations: no
     - The wire protocol: no
     - The rest endpoints: no
     - The admin cli options: no
     - Anything that affects deployment: no
   
   ### Documentation
   
     - Does this pull request introduce a new feature? no
     - If a feature is not applicable for documentation, explain why? Bugfix
     - If a feature is not documented yet in this PR, please create a followup 
issue for adding the documentation
   


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to