langtools/src/jdk.jdeps/share/classes/com/sun/tools/javap/ClassWriter.java
changeset 39919 3d3573afc062
parent 36526 3b41f1c69604
child 42407 f3702cff2933
equal deleted inserted replaced
39918:00696f150132 39919:3d3573afc062
   806         sb.append("\"");
   806         sb.append("\"");
   807         return sb.toString();
   807         return sb.toString();
   808     }
   808     }
   809 
   809 
   810     private String esc(char c, char quote) {
   810     private String esc(char c, char quote) {
   811         if (32 <= c && c <= 126 && c != quote)
   811         if (32 <= c && c <= 126 && c != quote && c != '\\')
   812             return String.valueOf(c);
   812             return String.valueOf(c);
   813         else switch (c) {
   813         else switch (c) {
   814             case '\b': return "\\b";
   814             case '\b': return "\\b";
   815             case '\n': return "\\n";
   815             case '\n': return "\\n";
   816             case '\t': return "\\t";
   816             case '\t': return "\\t";