8236582: (fc) FileChannel.map fails with InternalError when security manager enabled

Brian Burkhalter brian.burkhalter at oracle.com
Wed Jan 8 16:44:32 UTC 2020

> On Jan 8, 2020, at 4:20 AM, Chris Hegarty <chris.hegarty at oracle.com> wrote:
>> So modified: http://cr.openjdk.java.net/~bpb/8236582/webrev.02/ <http://cr.openjdk.java.net/~bpb/8236582/webrev.02/>.
> The source changes look good.
> The test should be run in othervm mode, since it depends on triggering
> the loading of ExtendedMapMode when a security manager is present -
> which is not guaranteed to be the case as the test stands. For example,
> the test passes ( without the fix ) when I run it with all the other
> tests in test/jdk/java/nio/channels/FileChannel/ and `-conc:1 -agentvm`
> - since ExtendedMapMode is loaded from a previous test run in the same
> agent.
>   * @run main/othervm MapWithSecurityManager

Oops, already pushed before I saw this message. I guess I’ll open another issue to make the change to the test.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mail.openjdk.java.net/pipermail/nio-dev/attachments/20200108/2b875fab/attachment.htm>

More information about the nio-dev mailing list