< prev index next >
src/share/vm/runtime/arguments.hpp
Print this page
rev 8803 : [mq]: 8066821.rev6
rev 8804 : [mq]: 8066821.rev7
@@ -421,25 +421,25 @@
short* methodsNum, short* methodsMax, char*** methods, bool** allClasses
);
// Returns true if the flag is obsolete and fits into the range specified
// for being ignored. In the case the 'version' buffer is filled in with
- // the version number when the flag became obsolete. Otherwise the flag has
- // expired and should be ignored.
- static bool is_newly_obsolete(const char* flag_name, JDK_Version* version);
+ // the version number when the flag became obsolete.
+ static bool is_obsolete_flag(const char* flag_name, JDK_Version* version);
// Returns 1 if the flag is deprecated and jdk version is in the range specified.
// In this case the 'version' buffer is filled in with the version number when
// the flag became deprecated.
// Returns -1 if the flag is deprecated and has expired (should be ignored).
// Returns 0 if the flag is not deprecated.
static int is_deprecated_flag(const char* flag_name, JDK_Version* version);
- // Return the real name for the flag passed on the command line.
+ // Return the real name for the flag passed on the command line (either an alias name or "flag_name").
static const char* real_flag_name(const char *flag_name);
// Return the "real" name for option arg if arg is an alias, and print a warning if arg is deprecated.
+ // Return NULL if the arg has expired.
static const char* handle_aliases_and_deprecation(const char* arg, bool warn);
static short CompileOnlyClassesNum;
static short CompileOnlyClassesMax;
static char** CompileOnlyClasses;
< prev index next >