8236582: (fc) FileChannel.map fails with InternalError when security manager enabled
chris.hegarty at oracle.com
Wed Jan 8 12:20:10 UTC 2020
> On 7 Jan 2020, at 19:35, Brian Burkhalter <brian.burkhalter 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
* @run main/othervm MapWithSecurityManager
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the nio-dev