isaric opened a new pull request, #5432: URL: https://github.com/apache/solr/pull/5432
https://issues.apache.org/jira/browse/SOLR-18679 Fixes the build on `main`: #4653 (SOLR-18315) removed `ByteUtils` on Dec 1, and #5416 (SOLR-18679), merged this morning, still calls `ByteUtils.calcUTF16toUTF8Length` in `SchemaXmlWriter.metaSize`. Both PRs were green against their own base; the conflict is semantic, so the merge was clean. `metaSize` now takes the UTF-8 byte length with `String.getBytes(StandardCharsets.UTF_8).length`, the standard-library form that #4653 moved the codebase to. Same result: the method measures the `<meta>` element as written to the schema file, and `TestSchemaMetadata.testTotalSizeIsMetaXmlInSchemaFile` compares it against the bytes of the persisted file. No changelog entry: build fix for an unreleased change. # Tests `TestSchemaMetadata` (the total-size tests exercise `metaSize`) and `./gradlew :solr:core:compileJava`. -- 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]
