diff --git a/java/client/src/org/openqa/selenium/remote/http/Contents.java b/java/client/src/org/openqa/selenium/remote/http/Contents.java
index <HASH>..<HASH> 100644
--- a/java/client/src/org/openqa/selenium/remote/http/Contents.java
+++ b/java/client/src/org/openqa/selenium/remote/http/Contents.java
@@ -144,8 +144,7 @@ public class Contents {
             } finally {
               try {
                 this.fos.close();
-              } catch (IOException e) {
-                throw new UncheckedIOException(e);
+              } catch (IOException ignore) {
               }
             }
           }
[java] Throwing from finally clause can hide the original exception that is more important, so let's just ignore this second-class exception