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

SoftMainMixer.processAudioBuffers(): Wrong handling of stoppedMixers

    XMLWordPrintable

    Details

    • Subcomponent:
    • Resolved In Build:
      b19
    • CPU:
      x86_64
    • OS:
      windows_10

      Backports

        Description

        A DESCRIPTION OF THE PROBLEM :
        Using Eclipse and setting the problem severity of "Unlikely argument type for collection methods using 'Object'" to "Error" leads to the compile errors

        Description Resource Path Location Type
        Unlikely argument type SoftMainMixer.SoftChannelMixerContainer for contains(Object) on a Collection<ModelChannelMixer> SoftMainMixer.java /JDK1_8/src/share/classes/com/sun/media/sound line 632 Java Problem
        Unlikely argument type SoftMainMixer.SoftChannelMixerContainer for remove(Object) on a Collection<ModelChannelMixer> SoftMainMixer.java /JDK1_8/src/share/classes/com/sun/media/sound line 633 Java Problem

        The errors here belong to the sources of JDK 1.8 but https://github.com/openjdk/jdk/blob/135f20985258b736f6ddc34e443c9822ea9f52bb/src/java.desktop/share/classes/com/sun/media/sound/SoftMainMixer.java#L633-L637 shows that the same is the case for the most current sources.

        Instead of cmixer being used as argument in the call I assume that it should be cmixer.mixer


        FREQUENCY : always


          Attachments

            Issue Links

              Activity

                People

                Assignee:
                serb Sergey Bylokhov
                Reporter:
                webbuggrp Webbug Group
                Votes:
                0 Vote for this issue
                Watchers:
                6 Start watching this issue

                  Dates

                  Created:
                  Updated:
                  Resolved: