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

Implicit narrowing in MacOSX java.desktop jsound

    XMLWordPrintable

    Details

    • Subcomponent:
    • Resolved In Build:
      b16
    • CPU:
      generic
    • OS:
      os_x

      Backports

        Description

        The MacOSX version of the jsound library in java.desktop gets an implicit narrowing warning when compiled for C++11/14, resulting in a build failure. The problem is in PORT_GetControls, where the channel number (declared as int) is used in the initializer for an AudioObjectPropertyAddress (where unsigned int is needed). The resulting implicit narrowing is forbidden by C++11 and later.

          Attachments

            Issue Links

              Activity

                People

                Assignee:
                kbarrett Kim Barrett
                Reporter:
                kbarrett Kim Barrett
                Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                  Dates

                  Created:
                  Updated:
                  Resolved: