[ 
https://issues.apache.org/jira/browse/DERBY-6287?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14211854#comment-14211854
 ] 

Mamta A. Satoor commented on DERBY-6287:
----------------------------------------

I am looking into backporting this to 10.10 because DERBY-6503 has been 
identified as a candidate for 10.10 backport but the changes for DERBY-6503 are 
conflicting with changes that went in for DERBY-6287. If there is an issue with 
backporting DERBY-6287 to 10.10, please let me know but from the description of 
this improvement, it seems like it should be ok.

> Don't use reflection to call Java 6 methods in FileUtil
> -------------------------------------------------------
>
>                 Key: DERBY-6287
>                 URL: https://issues.apache.org/jira/browse/DERBY-6287
>             Project: Derby
>          Issue Type: Improvement
>          Components: Services
>    Affects Versions: 10.11.1.1
>            Reporter: Knut Anders Hatlen
>            Assignee: Knut Anders Hatlen
>            Priority: Minor
>             Fix For: 10.11.1.1
>
>         Attachments: derby-6287-1a.diff
>
>
> The FileUtil class uses reflection to call the following java.io.File methods:
>   setWritable(boolean, boolean)
>   setReadable(boolean, boolean)
>   setExecutable(boolean, boolean)
> Reflection was used because the methods were introduced in Java 6, and the 
> code had to run on older platforms. Now Java 6 is the lowest supported 
> platform, so we can call the methods directly.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to