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

unpack.cpp fails to compile with statement has no effect [-Werror=unused-value]

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P4
    • Resolution: Fixed
    • Affects Version/s: 12
    • Fix Version/s: 12
    • Component/s: core-libs
    • Labels:
      None
    • Resolved In Build:
      b14

      Description

      There are 3 asserts in unpack.cpp which check only constants, and which the compiler rejects as 'has no effect'.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                rkennke Roman Kennke
                Reporter:
                rkennke Roman Kennke
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: