equal
deleted
inserted
replaced
46 |
46 |
47 String out = sw.toString(); |
47 String out = sw.toString(); |
48 System.out.println(out); |
48 System.out.println(out); |
49 |
49 |
50 for (String line: out.split("\n")) { |
50 for (String line: out.split("\n")) { |
51 String match = "[ \t]+[0-9]+:[ \t]+invokevirtual[ \t]+#[0-9]+; //Method \"\\[Ljava/lang/String;\".clone:\\(\\)Ljava/lang/Object;"; |
51 String match = "[ \t]+[0-9]+:[ \t]+invokevirtual[ \t]+#[0-9]+;[ \t]+// Method \"\\[Ljava/lang/String;\".clone:\\(\\)Ljava/lang/Object;"; |
52 if (line.matches(match)) |
52 if (line.matches(match)) |
53 return; |
53 return; |
54 } |
54 } |
55 throw new Error("expected string not found in javap output"); |
55 throw new Error("expected string not found in javap output"); |
56 } |
56 } |