JDK-8289994 : Update TestNG security policies in jaxp tests
  • Type: Sub-task
  • Component: xml
  • Sub-Component: jaxp
  • Priority: P4
  • Status: Closed
  • Resolution: Duplicate
  • Submitted: 2022-07-08
  • Updated: 2022-08-13
  • Resolved: 2022-07-09
Related Reports
Duplicate :  
Description
TestNG updates have historically brought new system properties and they may require adjusting security policy files in some tests.

For example some JAXP tests seem to require

    addPermission(new PropertyPermission("testng.thread.affinity" "read"));

in JAXPPolicyManager.java with jtreg 7.
Comments
Follow up to https://bugs.openjdk.org/browse/JDK-8292182
13-08-2022

It seems that those required updates already added by https://bugs.openjdk.org/browse/JDK-8265019 -- there's another underlying reason why those permissions are not granted. Another bug will be filed for tackling that reason.
09-07-2022