Skip to content

Conversation

@Khazrak
Copy link
Contributor

@Khazrak Khazrak commented Feb 6, 2016

Fixes #131.

Added Closable in the Connection-class. This will enable try-with-resources if somebody compiles it with JDK7 or later.

I wanted to add it to Channel-class also but it had a checked exception TimedOutException that broke the contract of Closeable so I avoided it.

…rce support in JDK7 (automatic on compile with JDK7)
@michaelklishin michaelklishin self-assigned this Feb 6, 2016
@michaelklishin michaelklishin added this to the n/a milestone Feb 6, 2016
@michaelklishin
Copy link
Contributor

@Khazrak thank you. Just like with #132, this changes an interface so as much as I'd like to get it into a future 3.6.x release, it should probably ship with 3.7.0 only.

@michaelklishin michaelklishin merged commit 484414e into rabbitmq:master Feb 6, 2016
stream-iori pushed a commit to stream-iori/rabbitmq-java-client that referenced this pull request Mar 20, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants