You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@harmony.apache.org by "Regis Xu (JIRA)" <ji...@apache.org> on 2009/03/11 09:46:50 UTC

[jira] Updated: (HARMONY-6117) [classlib] do not use File.getCanonicalPath in FilePermission

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

Regis Xu updated HARMONY-6117:
------------------------------

    Attachment: FilePermisson.diff

this patch is just a prototype, just tested on Windows, the value for Linux is still unknown.
It didn't deal with win32 short name of path and network driver.

comments/suggestions are welcome.

> [classlib] do not use File.getCanonicalPath in FilePermission
> -------------------------------------------------------------
>
>                 Key: HARMONY-6117
>                 URL: https://issues.apache.org/jira/browse/HARMONY-6117
>             Project: Harmony
>          Issue Type: Sub-task
>          Components: Classlib
>    Affects Versions: 5.0M8
>            Reporter: Regis Xu
>         Attachments: FilePermisson.diff
>
>
> File.getCanonicalPath is very slow in Harmony, avoid to use it will significant improve performance when SecurityManager is installed.

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