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

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

XMLWordPrintable

      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

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

              Created:
              Updated:
              Resolved: