AVRO-2763:Resource leak:'<unassigned Closeable value>' is never closed#835
AVRO-2763:Resource leak:'<unassigned Closeable value>' is never closed#835dkulp merged 1 commit intoapache:masterfrom
Conversation
Fokko
left a comment
There was a problem hiding this comment.
Can we switch to the try-with-resource pattern? That gives a better example :-)
doc/examples/java-example/src/main/java/example/GenericMain.java
Outdated
Show resolved
Hide resolved
doc/examples/java-example/src/main/java/example/SpecificMain.java
Outdated
Show resolved
Hide resolved
lang/java/avro/src/test/java/org/apache/avro/TestDataFileCorruption.java
Outdated
Show resolved
Hide resolved
lang/java/avro/src/test/java/org/apache/avro/TestDataFileDeflate.java
Outdated
Show resolved
Hide resolved
lang/java/avro/src/test/java/org/apache/avro/reflect/TestNonStringMapKeys.java
Outdated
Show resolved
Hide resolved
lang/java/ipc-netty/src/test/java/org/apache/avro/ipc/netty/TestNettyServer.java
Outdated
Show resolved
Hide resolved
lang/java/ipc/src/test/java/org/apache/avro/TestProtocolSpecific.java
Outdated
Show resolved
Hide resolved
lang/java/mapred/src/test/java/org/apache/avro/hadoop/io/TestAvroSequenceFile.java
Outdated
Show resolved
Hide resolved
lang/java/mapred/src/test/java/org/apache/avro/hadoop/io/TestAvroSequenceFile.java
Outdated
Show resolved
Hide resolved
|
OK, I have changed all to try-with-resource. Thanks for the review @Fokko ! |
|
@zeshuai007 @Fokko Hi guys. A naive question: Would you please tell me how to properly open a Pull Request for Apache Avro? I see not so much discussion on your issue: https://issues.apache.org/jira/browse/AVRO-2763. Is there any guideline? |
|
No worries @anhldbk. Here's a guide: https://opensource.com/article/19/7/create-pull-request-github Please let me know if there are any further questions. You have to fork the repository, and then you can create a PR on your own fork, from which you can create a PR. |
|
@Fokko Still I think we need discussions with maintainers first via Jira issues. Would you please have a look at my opening issue. Thank you in advance. |
|
@Fokko Travis have failed. I checked the logs and I think we have problems with service quality of Travis |
|
@anhldbk can you rebase onto master? |
|
@Fokko |
Make sure you have checked all steps below.
Jira
Tests
Commits
Documentation