viirya commented on code in PR #43997: URL: https://github.com/apache/arrow/pull/43997#discussion_r1751044847
########## java/c/src/test/java/org/apache/arrow/c/ArrowArrayUtilityTest.java: ########## @@ -50,6 +50,14 @@ void afterEach() { allocator.close(); } + @Test + void arraySchemaInit { + ArrowSchema schema = ArrowSchema.allocateNew(allocator); + Snapshot snapshot = schema.snapshot(); + assertThat(snapshot.release).isEqualTo(0); + schema.close(); + } Review Comment: Not sure why there is style error in CI. The diff looks good, but in CI it is `voidarraySchemaInit` ``` Error: Failed to execute goal org.apache.maven.plugins:maven-checkstyle-plugin:3.4.0:check (validate) on project arrow-c-data: Failed during checkstyle configuration: Exception was thrown while processing /build/java/c/src/test/java/org/apache/arrow/c/ArrowArrayUtilityTest.java: IllegalStateException occurred while parsing file /build/java/c/src/test/java/org/apache/arrow/c/ArrowArrayUtilityTest.java. 54:23: no viable alternative at input 'voidarraySchemaInit{': NoViableAltException -> [Help 1] ``` -- 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: github-unsubscr...@arrow.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org