jdk/test/java/lang/String/StringContentEqualsBug.java
changeset 32649 2ee9017c7597
parent 17698 ab37c47ff886
equal deleted inserted replaced
32648:1fa861caf840 32649:2ee9017c7597
    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;