On Thu, 25 Nov 2021 00:29:36 GMT, Kevin Rushforth <k...@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

Marked as reviewed by jpereda (Committer).

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

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

Reply via email to