[prev in list] [next in list] [prev in thread] [next in thread] 

List:       openjdk-openjfx-dev
Subject:    Re: RFR: 8277457: AccessControlException: access denied ("java.net.NetPermission" "getCookieHandler"
From:       Kevin Rushforth <kcr () openjdk ! java ! net>
Date:       2021-11-30 12:12:22
Message-ID: -CgC_GDT_HA0EO-1OjmDiPUMm2kpK8YlespXjLro434=.9156a276-2c5a-4f4f-8293-be81de113c08 () github ! com
[Download RAW message or body]

On Thu, 25 Nov 2021 00:29:36 GMT, Kevin Rushforth <kcr@openjdk.org> wrote:

> > As indicated in the bug report, WebView needs to call to \
> > `CookieManager::getDefault` within a `doPrivileged` block so that it will work \
> > when a security manager is enabled. There are two calls in \
> > `com.sun.webkit.network.CookieJar` that are not wrapped in a `doPrivileged`. 
> > I added a manual test (since it requires loading a page over http/https which we \
> > can't do in our automated tests) based on the test program that was attached to \
> > JBS.
> 
> Kevin Rushforth has updated the pull request incrementally with one additional \
> commit since the last revision: 
> Address review feedback: use method reference instead of lambda

@aghaisas can you be the second reviewer on this?

-------------

PR: https://git.openjdk.java.net/jfx/pull/681


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic