diff --git a/drivers/java/convert_tests.py b/drivers/java/convert_tests.py
index <HASH>..<HASH> 100755
--- a/drivers/java/convert_tests.py
+++ b/drivers/java/convert_tests.py
@@ -260,9 +260,12 @@ def escape_string(s, out):
             # byte to use \x instead of \u . Java doesn't accept \x so
             # we have to expand it back out.
             rpr = '\\u00' + rpr[2:]
+        elif rpr == '"':
+            rpr = r'\"'
         out.write(rpr)
     out.write('"')
 
+
 def render_bytes(s, out):
     try:
         out.write("new byte[]{")
@@ -281,8 +284,6 @@ def render_bytes(s, out):
         raise
 
 
-
-
 def attr_matches(path, node):
     '''Helper function. Several places need to know if they are an
     attribute of some root object'''
re-escape double quotes.

Whoops. Broke this when I fixed \u escapes