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

BasicType and BasicTypeSize should refer to HotSpot values

    XMLWordPrintable

Details

    • Enhancement
    • Resolution: Fixed
    • P4
    • 10
    • None
    • hotspot
    • b36

    Description

      http://mail.openjdk.java.net/pipermail/serviceability-dev/2017-October/021965.html

      Enum values in BasicType and BasicTypeSize are declared as const values. However, it makes error prone when existing enum values change.
      They should refer to HotSpot values via VMStructs.

      I attach suggested fix to this ticket.
      This patch works fine on hotspot/jtreg/serviceability/sa jtreg tests.

      Attachments

        Activity

          People

            ysuenaga Yasumasa Suenaga
            ysuenaga Yasumasa Suenaga
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: