Mercurial > hg > truffle
comparison src/share/vm/runtime/globals_ext.hpp @ 5947:80fe40862b02
7144328: Improper commandlines for -XX:+-UnlockCommercialFeatures require proper warning/error messages
Summary: Provide custom error messages for locked commercial feature options which are not first unlocked.
Reviewed-by: dcubed, jcoomes, kamg
Contributed-by: james.melvin@oracle.com
author | jmelvin |
---|---|
date | Tue, 20 Mar 2012 16:46:39 -0400 |
parents | 6c995c08526c |
children |
comparison
equal
deleted
inserted
replaced
5946:3d7ea1dbe0de | 5947:80fe40862b02 |
---|---|
1 /* | 1 /* |
2 * Copyright (c) 2011 Oracle and/or its affiliates. All rights reserved. | 2 * Copyright (c) 2011, 2012, Oracle and/or its affiliates. All rights reserved. |
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. | 3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
4 * | 4 * |
5 * This code is free software; you can redistribute it and/or modify it | 5 * This code is free software; you can redistribute it and/or modify it |
6 * under the terms of the GNU General Public License version 2 only, as | 6 * under the terms of the GNU General Public License version 2 only, as |
7 * published by the Free Software Foundation. | 7 * published by the Free Software Foundation. |
59 | 59 |
60 inline bool Flag::is_external_ext() const { | 60 inline bool Flag::is_external_ext() const { |
61 return false; | 61 return false; |
62 } | 62 } |
63 | 63 |
64 inline void Flag::get_locked_message_ext(char* buf, int buflen) const { | |
65 assert(buf != NULL, "Buffer cannot be NULL"); | |
66 buf[0] = '\0'; | |
67 } | |
68 | |
64 #endif // SHARE_VM_RUNTIME_GLOBALS_EXT_HPP | 69 #endif // SHARE_VM_RUNTIME_GLOBALS_EXT_HPP |