You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@harmony.apache.org by "Mikhail Markov (JIRA)" <ji...@apache.org> on 2007/06/15 19:33:26 UTC
[jira] Commented: (HARMONY-3656) [classlib][luni] File.mkdir does
not support unicode
[ https://issues.apache.org/jira/browse/HARMONY-3656?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12505319 ]
Mikhail Markov commented on HARMONY-3656:
-----------------------------------------
After new charsets integration 3307 issue was resolved, but this one still remains - i've just checked.
So, it seems that we still need to fix this one.
I've tried Kelvin's enhanced patch and it fixes the problem (and the problem described in H-3783 due to which the previous patch was reverted does not appear) and I'm +1 for commiting it. Sorry for confusion and stopping the patch integration.
> [classlib][luni] File.mkdir does not support unicode
> ----------------------------------------------------
>
> Key: HARMONY-3656
> URL: https://issues.apache.org/jira/browse/HARMONY-3656
> Project: Harmony
> Issue Type: Bug
> Components: Classlib
> Environment: Windows XP
> Reporter: Kelvin Ye
> Assignee: Paulex Yang
> Attachments: harmony-3656.zip
>
>
> The following code can successfully create the dir on RI, but fail on Harmony.
> Code:
> public class test1 {
> public static void main(String[] args) {
> String base = System.getProperty("user.dir");
> String ss = "dir\u3400";
> try {
> File dir = new File(base, ss);
> dir.deleteOnExit();
> if (dir.mkdir() && dir.exists()
> && dir.getCanonicalPath().equals(base + File.separator + ss)) {
> System.out.println("Create Successfully.");
> }
> else {
> System.out.println("Create Failed.");
> }
> } catch (IOException e) {
> }
> }
> }
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.