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

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

    XMLWordPrintable

Details

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

    Description

      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.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: