[ 
https://issues.apache.org/jira/browse/HBASE-16035?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15341028#comment-15341028
 ] 

Hudson commented on HBASE-16035:
--------------------------------

FAILURE: Integrated in HBase-Trunk_matrix #1085 (See 
[https://builds.apache.org/job/HBase-Trunk_matrix/1085/])
HBASE-16035 Nested AutoCloseables might not all get closed (Sean (tedyu: rev 
3de0c631050ea7dfb72fa8e1430aa8e7c0e87088)
* hbase-server/src/main/java/org/apache/hadoop/hbase/http/log/LogLevel.java
* hbase-server/src/main/java/org/apache/hadoop/hbase/mapreduce/JarFinder.java


> Nested AutoCloseables might not all get closed
> ----------------------------------------------
>
>                 Key: HBASE-16035
>                 URL: https://issues.apache.org/jira/browse/HBASE-16035
>             Project: HBase
>          Issue Type: Bug
>            Reporter: Sean Mackrory
>             Fix For: 2.0.0
>
>         Attachments: HBASE-16035-v1.patch
>
>
> Subtle problem in HBASE-15891:
> {code}try (A myA = new A(new B())){code}
> An exception thrown between B starting to open an A finishing initialization 
> may not result in B being closed. A safer syntax would be:
> {code}try(B myB = new B(); A myA = newA(myB)){code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to