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

UBSAN: fix the left shift of negative value in klass.hpp, array_layout_helper()

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Unresolved
    • Icon: P4 P4
    • 25
    • None
    • hotspot
    • In Review

      The tag of the type is used in left shift op whose sign bit is always set, so evaluated as negative.

            azafari Afshin Zafari
            azafari Afshin Zafari
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: