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

Render method of javax.swing.text.AbstractDocument uses 'currency' instead of 'concurrency'

XMLWordPrintable

    • master
    • generic
    • generic

      ADDITIONAL SYSTEM INFORMATION :
      Any system, any OS, online documentation for Java SE 8 at https://docs.oracle.com/javase/8. Also present in Java SE 24 documentation

      A DESCRIPTION OF THE PROBLEM :
      In javase/8/docs/api/javax/swing/text/AbstractDocument.html, the entry for the render function speaks of 'currency' where 'concurrency' is intended, which is obvious from the extended description of the feature. I.e. (in the 'Description' section):
      'This allows the model to be safely rendered in the presence of currency, if the model supports being updated asynchronously.'
      This very same phrase is also used in the extended documentation for the method.

      STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
      Access https://docs.oracle.com/en/java/javase/<any version since at least JDK 8>/docs/api/java.desktop/javax/swing/text/AbstractDocument.html, and lookup/choose 'render' from that document

      EXPECTED VERSUS ACTUAL BEHAVIOR :
      EXPECTED -
      In the Description, 'This allows the model to be safely rendered in the presence of concurrency, if the model supports being updated asynchronously.'
      ACTUAL -
      In the Description, 'This allows the model to be safely rendered in the presence of currency, if the model supports being updated asynchronously.'

            adev Anupam Dev
            webbuggrp Webbug Group
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: