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

Use __attribute__((format...)) for printf-style methods

    XMLWordPrintable

    Details

    • Type: Enhancement
    • Status: Closed
    • Priority: P3
    • Resolution: Duplicate
    • Affects Version/s: hs25
    • Fix Version/s: 9
    • Component/s: hotspot

      Description

      This would help us by having the compiler catch errors in format strings.

      The drawback is that it requires us to cast all pointers in printf style arguments. See this email thread: http://mail.openjdk.java.net/pipermail/hotspot-runtime-dev/2013-December/010266.html

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              drchase David Chase (Inactive)
              Reporter:
              sla Staffan Larsen (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: