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

      The methods java.lang.Thread.destroy() and java.lang.Thread.stop(Throwable) are two early Java Thread methods that have been deprecated for most of Java's lifetime. In the case of destroy(), it was never even implemented and just throws NoSuchMethodError. stop(Throwable) in OpenJDK 8 currently just throws an UnsupportedOperationException.

      When
      a Java class uses java.lang.Thread.destroy() or java.lang.Thread.stop(Throwable)

      Perform
      add a hint to remove this call, which would have only thrown an exception before Java 11 anyway.

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

              Created:
              Updated:
              Resolved: