8146632: Add descriptive error messages for removed non-product logging flags

Added table with removed non-product flags and error messages.

Reviewed-by: dholmes, coleenp, hseigel
This commit is contained in:
Max Ockner 2016-03-22 15:03:07 -04:00
parent d444e55969
commit dca64ad62d
3 changed files with 105 additions and 1 deletions

View file

@ -453,6 +453,10 @@ class Arguments : AllStatic {
// the version number when the flag became obsolete.
static bool is_obsolete_flag(const char* flag_name, JDK_Version* version);
#ifndef PRODUCT
static const char* removed_develop_logging_flag_name(const char* name);
#endif // PRODUCT
// Returns 1 if the flag is deprecated (and not yet obsolete or expired).
// In this case the 'version' buffer is filled in with the version number when
// the flag became deprecated.