Results for “java function syntax practice code example problem site:bugs.java.com error”
bugs.java.com
Bug ID: JDK-4684966 infinite loop in Win32GraphicsEnv.initDisplay...
There are 2 fixes that should be applied to our code to fix this and future problems: - trap the error and do something intelligent about it. We could and should at least set some default values for the rgb masks and exit the function cleanly without spinning in these loops.
bugs.java.com
Bug ID: JDK-8214976 Warn about uses of functions replaced for...
For functions which should never be called outside the implementation of the os replacement, we can use (for example). extern "C" int vsnprintf(char*, size_t, const char*, va_list) __attribute__((__deprecated__("use os::vsnprintf"))); and in the definition of os::vsnprintf...