langtools/src/jdk.compiler/share/classes/com/sun/tools/javap/ConstantWriter.java
changeset 26390 1d0902fe3ca0
parent 25874 83c19f00452c
--- a/langtools/src/jdk.compiler/share/classes/com/sun/tools/javap/ConstantWriter.java	Wed Sep 03 14:06:25 2014 -0700
+++ b/langtools/src/jdk.compiler/share/classes/com/sun/tools/javap/ConstantWriter.java	Wed Sep 03 14:19:39 2014 -0700
@@ -369,9 +369,21 @@
                     case '\r':
                         sb.append('\\').append('r');
                         break;
+                    case '\b':
+                        sb.append('\\').append('b');
+                        break;
+                    case '\f':
+                        sb.append('\\').append('f');
+                        break;
                     case '\"':
                         sb.append('\\').append('\"');
                         break;
+                    case '\'':
+                        sb.append('\\').append('\'');
+                        break;
+                    case '\\':
+                        sb.append('\\').append('\\');
+                        break;
                     default:
                         sb.append(c);
                 }