Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8156007

Refix: TestPolicy should extend the default security policy

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P3 P3
    • 9
    • 9
    • xml
    • b118

      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 in JDK-8155514, but not very good enough and missed some files.


            fyuan Frank Yuan (Inactive)
            fyuan Frank Yuan (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: