epugh opened a new pull request, #5431:
URL: https://github.com/apache/solr/pull/5431

   `main` currently fails to compile `:solr:core:compileJava`:
   
   ```
   SchemaXmlWriter.java:32: error: cannot find symbol
   import org.apache.solr.common.util.ByteUtils;
   ```
   
   SOLR-18315 (#4653) removed `ByteUtils`, while SOLR-18679 (#5416) added a new 
call to `ByteUtils.calcUTF16toUTF8Length` in `SchemaXmlWriter.metaSize`. Each 
passed CI on its own; together they break the build.
   
   This swaps in Lucene's `UnicodeUtil.calcUTF16toUTF8Length`, which has the 
same signature and is already used elsewhere in solr-core 
(`IndexSizeEstimator`).
   
   Verified: `gradlew classes testClasses` succeeds and `TestSchemaMetadata` 
passes (25 tests).
   
   No changelog entry, since this only fixes an unreleased break on main.
   
   🤖 Generated with [Claude Code](https://claude.com/claude-code)
   
   https://claude.ai/code/session_018RwsEmM9zRWihYjszWDGK9


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


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to