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

Implicit narrowing in MacOSX java.desktop jsound

    XMLWordPrintable

Details

    • b16
    • generic
    • 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

                kbarrett Kim Barrett
                kbarrett Kim Barrett
                Votes:
                0 Vote for this issue
                Watchers:
                5 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved: