JAXP tests override with its test policy and grant with minimal permissions. Some JAXP tests may load extended charsets. Once jdk.charsets is deprivileged, permissions will be granted in the default security policy. JAXP tests should extend the default security policy. Another option is to augment TestPolicy to grant permissions for specific modules that the tests will load.
Made a fix inJDK-8155514, but not very good enough and missed some files.
Made a fix in
- blocks
-
JDK-8155513 Deprivilege jdk.charsets
- Resolved
- relates to
-
JDK-8156008 Need to to clean up the duplicated TestPolicy code in jaxp tests
- Closed
-
JDK-8155514 TestPolicy should extend the default security policy
- Resolved