equal
deleted
inserted
replaced
26 * @bug 8014477 |
26 * @bug 8014477 |
27 * @summary test String.contentEquals(StringBuffer) |
27 * @summary test String.contentEquals(StringBuffer) |
28 */ |
28 */ |
29 public class StringContentEqualsBug { |
29 public class StringContentEqualsBug { |
30 |
30 |
31 static abstract class Task extends Thread { |
31 abstract static class Task extends Thread { |
32 volatile StringBuffer sb; |
32 volatile StringBuffer sb; |
33 volatile Exception exception; |
33 volatile Exception exception; |
34 |
34 |
35 Task(StringBuffer sb) { |
35 Task(StringBuffer sb) { |
36 this.sb = sb; |
36 this.sb = sb; |