You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@harmony.apache.org by "Svetlana Samoilenko (JIRA)" <ji...@apache.org> on 2006/05/05 14:19:27 UTC

[jira] Created: (HARMONY-444) [classlib] Constructor java.io.File(null, File) sets wrong path

[classlib] Constructor java.io.File(null, File) sets wrong path
---------------------------------------------------------------

         Key: HARMONY-444
         URL: http://issues.apache.org/jira/browse/HARMONY-444
     Project: Harmony
        Type: Bug

  Components: Classlib  
    Reporter: Svetlana Samoilenko
    Priority: Minor


According to 1.5 specs  for java.io.File.getPath() method:  The resulting string should use the default name-separator character to separate the names in the name sequence.
On Harmony constructor java.io.File(null, File) sets path without  taking care of File.separator.


-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


[jira] Commented: (HARMONY-444) [classlib] Constructor java.io.File(null, File) sets wrong path

Posted by "Vladimir Strigun (JIRA)" <ji...@apache.org>.
    [ http://issues.apache.org/jira/browse/HARMONY-444?page=comments#action_12378028 ] 

Vladimir Strigun commented on HARMONY-444:
------------------------------------------

Looks like duplicate of Harmony-382

> [classlib] Constructor java.io.File(null, File) sets wrong path
> ---------------------------------------------------------------
>
>          Key: HARMONY-444
>          URL: http://issues.apache.org/jira/browse/HARMONY-444
>      Project: Harmony
>         Type: Bug

>   Components: Classlib
>     Reporter: Svetlana Samoilenko
>     Priority: Minor
>  Attachments: File.diffs
>
> According to 1.5 specs  for java.io.File.getPath() method:  The resulting string should use the default name-separator character to separate the names in the name sequence.
> On Harmony constructor java.io.File(null, File) sets path without  taking care of File.separator.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


[jira] Assigned: (HARMONY-444) [classlib] Constructor java.io.File(null, File) sets wrong path

Posted by "Mikhail Loenko (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/jira/browse/HARMONY-444?page=all ]

Mikhail Loenko reassigned HARMONY-444:
--------------------------------------

    Assign To: Mikhail Loenko

> [classlib] Constructor java.io.File(null, File) sets wrong path
> ---------------------------------------------------------------
>
>          Key: HARMONY-444
>          URL: http://issues.apache.org/jira/browse/HARMONY-444
>      Project: Harmony
>         Type: Bug

>   Components: Classlib
>     Reporter: Svetlana Samoilenko
>     Assignee: Mikhail Loenko
>     Priority: Minor
>  Attachments: File.diffs
>
> According to 1.5 specs  for java.io.File.getPath() method:  The resulting string should use the default name-separator character to separate the names in the name sequence.
> On Harmony constructor java.io.File(null, File) sets path without  taking care of File.separator.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


[jira] Updated: (HARMONY-444) [classlib] Constructor java.io.File(null, File) sets wrong path

Posted by "Svetlana Samoilenko (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/jira/browse/HARMONY-444?page=all ]

Svetlana Samoilenko updated HARMONY-444:
----------------------------------------

    Attachment: File.diffs

patch and test

> [classlib] Constructor java.io.File(null, File) sets wrong path
> ---------------------------------------------------------------
>
>          Key: HARMONY-444
>          URL: http://issues.apache.org/jira/browse/HARMONY-444
>      Project: Harmony
>         Type: Bug

>   Components: Classlib
>     Reporter: Svetlana Samoilenko
>     Priority: Minor
>  Attachments: File.diffs
>
> According to 1.5 specs  for java.io.File.getPath() method:  The resulting string should use the default name-separator character to separate the names in the name sequence.
> On Harmony constructor java.io.File(null, File) sets path without  taking care of File.separator.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


[jira] Commented: (HARMONY-444) [classlib] Constructor java.io.File(null, File) sets wrong path

Posted by "Svetlana Samoilenko (JIRA)" <ji...@apache.org>.
    [ http://issues.apache.org/jira/browse/HARMONY-444?page=comments#action_12411903 ] 

Svetlana Samoilenko commented on HARMONY-444:
---------------------------------------------

Mikhail,
Yes, the patch is duplicate. 
Thanks a lot for commoting my test.

> [classlib] Constructor java.io.File(null, File) sets wrong path
> ---------------------------------------------------------------
>
>          Key: HARMONY-444
>          URL: http://issues.apache.org/jira/browse/HARMONY-444
>      Project: Harmony
>         Type: Bug

>   Components: Classlib
>     Reporter: Svetlana Samoilenko
>     Assignee: Mikhail Loenko
>     Priority: Minor
>  Attachments: File.diffs
>
> According to 1.5 specs  for java.io.File.getPath() method:  The resulting string should use the default name-separator character to separate the names in the name sequence.
> On Harmony constructor java.io.File(null, File) sets path without  taking care of File.separator.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


[jira] Closed: (HARMONY-444) [classlib] Constructor java.io.File(null, File) sets wrong path

Posted by "Mikhail Loenko (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/jira/browse/HARMONY-444?page=all ]
     
Mikhail Loenko closed HARMONY-444:
----------------------------------


verified by Svetlana

> [classlib] Constructor java.io.File(null, File) sets wrong path
> ---------------------------------------------------------------
>
>          Key: HARMONY-444
>          URL: http://issues.apache.org/jira/browse/HARMONY-444
>      Project: Harmony
>         Type: Bug

>   Components: Classlib
>     Reporter: Svetlana Samoilenko
>     Assignee: Mikhail Loenko
>     Priority: Minor
>  Attachments: File.diffs
>
> According to 1.5 specs  for java.io.File.getPath() method:  The resulting string should use the default name-separator character to separate the names in the name sequence.
> On Harmony constructor java.io.File(null, File) sets path without  taking care of File.separator.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


[jira] Resolved: (HARMONY-444) [classlib] Constructor java.io.File(null, File) sets wrong path

Posted by "Mikhail Loenko (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/jira/browse/HARMONY-444?page=all ]
     
Mikhail Loenko resolved HARMONY-444:
------------------------------------

    Resolution: Fixed

The patch for the code is the same as path for HARMONY-382

Tests seem to differ so regression test was applied 
in revision 405705.

Svetlana, please verify that it's OK for you


> [classlib] Constructor java.io.File(null, File) sets wrong path
> ---------------------------------------------------------------
>
>          Key: HARMONY-444
>          URL: http://issues.apache.org/jira/browse/HARMONY-444
>      Project: Harmony
>         Type: Bug

>   Components: Classlib
>     Reporter: Svetlana Samoilenko
>     Assignee: Mikhail Loenko
>     Priority: Minor
>  Attachments: File.diffs
>
> According to 1.5 specs  for java.io.File.getPath() method:  The resulting string should use the default name-separator character to separate the names in the name sequence.
> On Harmony constructor java.io.File(null, File) sets path without  taking care of File.separator.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira