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

Offset of union fields are not calculated correctly

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P2 P2
    • repo-panama
    • repo-panama
    • core-libs

      Giving a simple C union,

      union {
      short s,
      int i,
      long l
      }

      The address of s, i and l are expected to be the same.

            henryjen Henry Jen
            henryjen Henry Jen
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: