xixi-box opened a new pull request, #11514:
URL: https://github.com/apache/rocketmq/pull/11514

   Fixes #11512
   
   Root cause: CompressionType.of uses the default locale for uppercasing ASCII 
compression names, so Turkish casing turns zlib into ZLİB and rejects a 
supported type.
   
   <!-- oss-scout-job:job-bffe280c-7a82-4190-99ee-188598af92d9 -->
   
   Tests: `/bin/sh -c 'JAVA_HOME=/usr/lib/jvm/temurin-11-jdk-amd64 mvn -B -pl 
common -am -Dtest=CompressionTypeTest#testCompressionTypeOfWithTurkishLocale 
-Dsurefire.failIfNoSpecifiedTests=false test'` (fails on base; passes with this 
patch).
   Regression coverage: 
`common/src/test/java/org/apache/rocketmq/common/compression/CompressionTypeTest.java`.
   
   AI assistance: Codex helped implement and test this change. oss-scout 
independently replayed the regression before opening this PR.


-- 
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.

To unsubscribe, e-mail: [email protected]

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

Reply via email to