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

Compile problem on ARM after JDK-8043070

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P4 P4
    • 10
    • 10
    • hotspot
    • None
    • b36
    • aarch64

      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.

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

              Created:
              Updated:
              Resolved: