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

JLONG_FORMAT_W incompatible with type jlong

    Details

    • Subcomponent:
    • Introduced In Version:
      13
    • Resolved In Build:
      b23
    • CPU:
      generic
    • OS:
      other

      Description

      JLONG_FORMAT_W is derived from INT64_FORMAT_W which uses the PRId64 macro from inttypes.h. For bsd, PRId64 translates into "lld". jlong, on the other hand, is typedef'ed as "long int". This causes the compiler to complain about incompatible types. On the other hand, JLONG_FORMAT seems compatible with type jlong.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                lucy Lucy Schmidt
                Reporter:
                lucy Lucy Schmidt
              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: