• Icon: Sub-task Sub-task
    • Resolution: Done
    • Icon: Major Major
    • None
    • None
    • OpenJDK8 -> OpenJDK11
    • None
    • Sprint 215 AMM, Sprint 217 AMM

      javax.security.auth.Policy has been deprecated since Java 1.4 and has now been removed. It should be replaced by the use of java.security.Policy and java.security.ProtectionDomain

      When
      a Java class uses javax.security.auth.Policy

      Perform
      add a hint to replace this with java.security.Policy, replacing policy.getPermissions(codeSource,subject) with policy.getPermissions(new ProtectionDomain(codeSource, null, null, new Principal[] { subject })

        1. ExamplePolicy.java
          0.4 kB
          Philip Cattanach
        2. java-removals-00030.png
          93 kB
          Karishma Punwatkar
        3. Screenshot from 2022-03-28 16-14-29.png
          59 kB
          Karishma Punwatkar

              rhn-support-kpunwatk Karishma Punwatkar
              rhn-engineering-ahughes Andrew Hughes
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: