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

Typo in the spec of javax.sound.sampled.AudioFormat.Encoding.toString()

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P5 P5
    • 9
    • None
    • client-libs
    • b124
    • generic
    • generic

      Example in the specification contains the typo:
      * variable (field) name. For example, {@code PCM_SIGNED.toString()}
      * returns the name "pcm_signed".

      Note that the pcm_signed is in lower-case, this was true long time ago, but since then the static constant was renamed and their values were changed to upper-case.

            serb Sergey Bylokhov
            serb Sergey Bylokhov
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: