Uploaded image for project: 'WildFly Core'
  1. WildFly Core
  2. WFCORE-5934

Fix DeletionCollisionTest's byteman rule file for proper method match at runtime

XMLWordPrintable

      In JDK 19 EA 22 new Virtual Threads feature have been introduced in JDK.
      This new feature introduced another Thread.sleep() method with Duration parameter.
      So there are two similar methods now:

      • Thread.sleep(long)
      • Thread.sleep(Duration)

      Because Byteman script provided value represents integer, Byteman runtime
      is unable to decide which one of these two methods to use.
      To ensure proper method selection, we need to ensure btm Thread.sleep() method
      value represents long and not int.

              ropalka Richard Opalka
              ropalka Richard Opalka
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: