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

[ubsan] left-shift issues in countnodebits

XMLWordPrintable

      source loc:
      src/hotspot/share/opto/countbitsnode.cpp:113:11

      compiler/c2/Test6956668 (runtime error: left shift of 1224736768 by 4 places cannot be represented in type 'int')

      compiler/codegen/Test6823354 (runtime error: left shift of negative value -1)

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

              Created:
              Updated: