< prev index next >
src/hotspot/share/services/diagnosticArgument.hpp
Print this page
rev 50590 : [mq]: jcmd-cleanups
rev 50591 : [mq]: 8204958-jcmd-cleanups-delta
*** 1,7 ****
/*
! * Copyright (c) 2012, 2014, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
* published by the Free Software Foundation.
--- 1,7 ----
/*
! * Copyright (c) 2012, 2018, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
* published by the Free Software Foundation.
*** 69,87 ****
bool _is_set;
const bool _is_mandatory;
bool _allow_multiple;
GenDCmdArgument(const char* name, const char* description, const char* type,
const char* default_string, bool mandatory)
! : _next(NULL)
! , _name(name)
! , _description(description)
! , _type(type)
! , _default_string(default_string)
! , _is_set(false)
! , _is_mandatory(mandatory)
! , _allow_multiple(false) {}
!
public:
const char* name() const { return _name; }
const char* description() const { return _description; }
const char* type() const { return _type; }
const char* default_string() const { return _default_string; }
--- 69,81 ----
bool _is_set;
const bool _is_mandatory;
bool _allow_multiple;
GenDCmdArgument(const char* name, const char* description, const char* type,
const char* default_string, bool mandatory)
! : _next(NULL), _name(name), _description(description), _type(type),
! _default_string(default_string), _is_set(false), _is_mandatory(mandatory),
! _allow_multiple(false) {}
public:
const char* name() const { return _name; }
const char* description() const { return _description; }
const char* type() const { return _type; }
const char* default_string() const { return _default_string; }
< prev index next >