mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-19 18:44:38 +02:00
8155948: Add message for CMS deprecation for Oracle builds
Reviewed-by: kbarrett, dholmes, coleenp, drwhite
This commit is contained in:
parent
7e084fd81f
commit
867c3bfaef
4 changed files with 76 additions and 14 deletions
|
@ -41,6 +41,14 @@ extern "C" {
|
|||
typedef jint (JNICALL *vfprintf_hook_t)(FILE *fp, const char *format, va_list args) ATTRIBUTE_PRINTF(2, 0);
|
||||
}
|
||||
|
||||
// Obsolete or deprecated -XX flag.
|
||||
struct SpecialFlag {
|
||||
const char* name;
|
||||
JDK_Version deprecated_in; // When the deprecation warning started (or "undefined").
|
||||
JDK_Version obsolete_in; // When the obsolete warning started (or "undefined").
|
||||
JDK_Version expired_in; // When the option expires (or "undefined").
|
||||
};
|
||||
|
||||
// PathString is used as:
|
||||
// - the underlying value for a SystemProperty
|
||||
// - the path portion of an --patch-module module/path pair
|
||||
|
@ -519,6 +527,8 @@ class Arguments : AllStatic {
|
|||
|
||||
static bool handle_deprecated_print_gc_flags();
|
||||
|
||||
static void handle_extra_cms_flags(const char* msg);
|
||||
|
||||
static jint parse_vm_init_args(const JavaVMInitArgs *java_tool_options_args,
|
||||
const JavaVMInitArgs *java_options_args,
|
||||
const JavaVMInitArgs *cmd_line_args);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue