You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@harmony.apache.org by "Andrew Zhang (JIRA)" <ji...@apache.org> on 2007/04/24 14:16:15 UTC
[jira] Created: (HARMONY-3743) [classlib][nio] Harmony doesn't
support to call FileLock#release by reflection way.
[classlib][nio] Harmony doesn't support to call FileLock#release by reflection way.
------------------------------------------------------------------------------------
Key: HARMONY-3743
URL: https://issues.apache.org/jira/browse/HARMONY-3743
Project: Harmony
Issue Type: Bug
Components: Classlib
Reporter: Andrew Zhang
Following test case reproduces the problem:
public void testRelease() throws Exception {
File f = File.createTempFile("nio", "tmp");
RandomAccessFile raf = new RandomAccessFile(f, "rw");
FileChannel fc = raf.getChannel();
FileLock lock = fc.lock();
Method releaseMethod = lock.getClass().getMethod("release",
(Class[]) null);
releaseMethod.invoke(lock, (Object[]) null);
}
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Closed: (HARMONY-3743) [classlib][nio][compatibility]
Harmony doesn't support to call FileLock#release by reflection.
Posted by "Tim Ellison (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HARMONY-3743?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Tim Ellison closed HARMONY-3743.
--------------------------------
Resolution: Invalid
Assignee: Tim Ellison
> [classlib][nio][compatibility] Harmony doesn't support to call FileLock#release by reflection.
> -----------------------------------------------------------------------------------------------
>
> Key: HARMONY-3743
> URL: https://issues.apache.org/jira/browse/HARMONY-3743
> Project: Harmony
> Issue Type: Bug
> Components: Classlib
> Reporter: Andrew Zhang
> Assigned To: Tim Ellison
>
> Following test case reproduces the problem:
> public void testRelease() throws Exception {
> File f = File.createTempFile("nio", "tmp");
> RandomAccessFile raf = new RandomAccessFile(f, "rw");
> FileChannel fc = raf.getChannel();
> FileLock lock = fc.lock();
> Method releaseMethod = lock.getClass().getMethod("release",
> (Class[]) null);
> releaseMethod.invoke(lock, (Object[]) null);
> }
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Updated: (HARMONY-3743) [classlib][nio][compatibility]
Harmony doesn't support to call FileLock#release by reflection way.
Posted by "Andrew Zhang (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HARMONY-3743?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Andrew Zhang updated HARMONY-3743:
----------------------------------
Summary: [classlib][nio][compatibility] Harmony doesn't support to call FileLock#release by reflection way. (was: [classlib][nio] Harmony doesn't support to call FileLock#release by reflection way. )
> [classlib][nio][compatibility] Harmony doesn't support to call FileLock#release by reflection way.
> ---------------------------------------------------------------------------------------------------
>
> Key: HARMONY-3743
> URL: https://issues.apache.org/jira/browse/HARMONY-3743
> Project: Harmony
> Issue Type: Bug
> Components: Classlib
> Reporter: Andrew Zhang
>
> Following test case reproduces the problem:
> public void testRelease() throws Exception {
> File f = File.createTempFile("nio", "tmp");
> RandomAccessFile raf = new RandomAccessFile(f, "rw");
> FileChannel fc = raf.getChannel();
> FileLock lock = fc.lock();
> Method releaseMethod = lock.getClass().getMethod("release",
> (Class[]) null);
> releaseMethod.invoke(lock, (Object[]) null);
> }
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Updated: (HARMONY-3743) [classlib][nio][compatibility]
Harmony doesn't support to call FileLock#release by reflection.
Posted by "Andrew Zhang (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HARMONY-3743?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Andrew Zhang updated HARMONY-3743:
----------------------------------
Summary: [classlib][nio][compatibility] Harmony doesn't support to call FileLock#release by reflection. (was: [classlib][nio][compatibility] Harmony doesn't support to call FileLock#release by reflection way. )
> [classlib][nio][compatibility] Harmony doesn't support to call FileLock#release by reflection.
> -----------------------------------------------------------------------------------------------
>
> Key: HARMONY-3743
> URL: https://issues.apache.org/jira/browse/HARMONY-3743
> Project: Harmony
> Issue Type: Bug
> Components: Classlib
> Reporter: Andrew Zhang
>
> Following test case reproduces the problem:
> public void testRelease() throws Exception {
> File f = File.createTempFile("nio", "tmp");
> RandomAccessFile raf = new RandomAccessFile(f, "rw");
> FileChannel fc = raf.getChannel();
> FileLock lock = fc.lock();
> Method releaseMethod = lock.getClass().getMethod("release",
> (Class[]) null);
> releaseMethod.invoke(lock, (Object[]) null);
> }
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.