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

Compile problem on ARM after JDK-8043070

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P4
    • Resolution: Fixed
    • Affects Version/s: 10
    • Fix Version/s: 10
    • Component/s: hotspot
    • Labels:
      None
    • Subcomponent:
    • Resolved In Build:
      b36
    • CPU:
      aarch64

      Description

      On ARM char is unsigned by default, which causes a warning:

      /export/boris/openjdk/jdk/src/hotspot/share/code/nmethod.hpp: In member function ‘bool nmethod::is_not_installed() const’:
      /export/boris/openjdk/jdk/src/hotspot/share/code/nmethod.hpp:319:67: error: comparison is always false due to limited range of data type [-Werror=type-limits]
         bool is_not_installed() const { return _state == not_installed; }

      A possible solution would be to declare nmethod::_state signed explicitly.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              iveresov Igor Veresov
              Reporter:
              iveresov Igor Veresov
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: