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

State transitions in internal VirtualThread comment needs to be updated

XMLWordPrintable

    • b25
    • generic
    • generic

      A DESCRIPTION OF THE PROBLEM :
      The state fields are called WAIT and TIMED_WAIT, but in the documentation it is named WAITED and TIMED_WAITED.

      STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
      In the java.lang.VirtualThread class

      EXPECTED VERSUS ACTUAL BEHAVIOR :
      EXPECTED -
      Should be "WAIT" and "TIMED_WAIT"
      ACTUAL -
      Instead the documentation names it WAITED and TIMED_WAITED.

      ---------- BEGIN SOURCE ----------
      Not needed - refer to java.lang.VirtualThread class
      ---------- END SOURCE ----------

      CUSTOMER SUBMITTED WORKAROUND :
      Not needed

      FREQUENCY : always


            alanb Alan Bateman
            webbuggrp Webbug Group
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: