harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Li Jing Qin (JIRA)" <j...@apache.org>
Subject [jira] Updated: (HARMONY-6212) [classlib][luni] StringBuilder behavior affects the string got by the toString
Date Mon, 25 May 2009 04:51:45 GMT

     [ https://issues.apache.org/jira/browse/HARMONY-6212?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Li Jing Qin updated HARMONY-6212:
---------------------------------

    Attachment: HARMONY-6212.diff

Would anyone please try it?

> [classlib][luni] StringBuilder behavior affects the string got by the toString
> ------------------------------------------------------------------------------
>
>                 Key: HARMONY-6212
>                 URL: https://issues.apache.org/jira/browse/HARMONY-6212
>             Project: Harmony
>          Issue Type: Bug
>            Reporter: Li Jing Qin
>         Attachments: HARMONY-6212.diff
>
>
> We use share mode under the abstractStringBuilder and String, since we have changed some
thing in the model, there is some small bugs occurred then. Here is the one:
> StringBuilder desc = new StringBuilder();
> desc.append("abcde");
> String a = desc.toString();
> desc.delete(0, desc.length());
> desc.append("yy");
> System.out.println(a);
> We got "yycde" amazingly.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message