harmony-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tim Ellison <t.p.elli...@gmail.com>
Subject Re: [classlib][nio][compatibility] Harmony doesn't support to call FileLock.release by reflection.
Date Tue, 24 Apr 2007 15:07:31 GMT
Andrew Zhang wrote:
> On 4/24/07, Tim Ellison <t.p.ellison@gmail.com> wrote:
>>
>> Andrew Zhang wrote:
>> > On 4/24/07, Tim Ellison <t.p.ellison@gmail.com> wrote:
>> Hmm. Can you fix the app to include a "getSuperclass()" to bring it up
>> to the public FileLock type?
>> e.g.
>>   lock.getClass().getSuperclass().getMethod("release", (Class[]) null);
>>
>> (for extra credit, they should walk up until they reach the right type
>> and not assume it is a direct subclass).
> 
> 
> fixed.  using Class.forName("java.nio.channels.FileChannel") to get the
> class.

Good.

> Tim, would you please help close Harmony-3743, although I can close it (our
> jira access bug? :)).

Done.

Regards,
Tim

Mime
View raw message