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

      java.lang.Thread.stop(java.lang.Throwable) has been deprecated for a long time [0] and threw UnsupportedOperationException. In OpenJDK 11, it has been removed.

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

      Perform
      add a hint to replace this with a strategy based on signalling via a shared variable or calling java.lang.Thread.interrupt on the thread to notify it to stop

      [0] https://docs.oracle.com/javase/7/docs/technotes/guides/concurrency/threadPrimitiveDeprecation.html

        1. Methods in `java.lang.Thread` have been removed.png
          166 kB
          Karishma Punwatkar
        2. rule-java-removals-00000.png
          121 kB
          Karishma Punwatkar

              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: