The Version table provides details related to the release that this issue/RFE will be addressed.
Unresolved : Release in which this issue/RFE will be addressed. Resolved: Release in which this issue/RFE has been resolved. Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.
JVMFlag::printError is a printf-style variadic function, added as part of JDK-8133564. The declaration needs an ATTRIBUTE_PRINTF decorator.
Comments
It seems to be far more common to put the attribute at the end of the declaration, e.g.
static void printError(bool verbose, const char* msg, ...) ATTRIBUTE_PRINTF(2, 3);
The logging component seems to be very nearly the only place where the attribute is put before the declaration.
29-05-2018
After reading up on this, I believe it should be:
ATTRIBUTE_PRINTF(2, 3)
static void printError(bool verbose, const char* msg, ...);
Based on the existing usage pattern of ATTRIBUTE_PRINTF in hotspot I believe the function:
static void printError(bool verbose, const char* msg, ...);
needs to be declared as:
ATTRIBUTE_PRINTF(3, 4)
static void printError(bool verbose, const char* msg, ...);
but I don't understand yet, the significance of the arguments "3,4" to ATTRIBUTE_PRINTF