harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sean Qiu (JIRA)" <j...@apache.org>
Subject [jira] Closed: (HARMONY-5817) [classlib][nio] MappedByteBuffer.isLoaded() behaviors are platform dependent
Date Mon, 26 May 2008 09:01:55 GMT

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

Sean Qiu closed HARMONY-5817.

    Resolution: Fixed

This testcase will wrong in linux platform.
The spec does not define the exact behavior in different platfomr.

There is no guarantee for the return value of this method. It is just a hint.
So just remove this testcase.

Resolved in r660132.

> [classlib][nio] MappedByteBuffer.isLoaded() behaviors are platform dependent
> ----------------------------------------------------------------------------
>                 Key: HARMONY-5817
>                 URL: https://issues.apache.org/jira/browse/HARMONY-5817
>             Project: Harmony
>          Issue Type: Bug
>          Components: Classlib
>    Affects Versions: 5.0M6
>            Reporter: Sean Qiu
>            Assignee: Sean Qiu
>             Fix For: 5.0M6
>         Attachments: Harmony-5817.zip
> its behavior is platform dependent, and the spec does not define the specific behavior.
> The return value of is_load is just a hint, rather than a guarantee.
> In windows, MappedByteBuffer.isLoaded() will always return false since it does not support
this operation.
> While in linux, there exists corresponding api to support this functionality.
> Supply different testcases for each platform.

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

View raw message