harmony-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andrew Zhang" <zhanghuang...@gmail.com>
Subject Re: [classlib][nio][compatibility] Harmony doesn't support to call FileLock.release by reflection.
Date Tue, 24 Apr 2007 14:50:35 GMT
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.

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

Regards,
> Tim
>



-- 
Best regards,
Andrew Zhang

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message