--- old/src/share/vm/logging/logLevel.hpp 2015-09-15 11:20:07.654623507 +0200 +++ new/src/share/vm/logging/logLevel.hpp 2015-09-15 11:20:07.486623501 +0200 @@ -23,6 +23,8 @@ */ #ifndef SHARE_VM_LOGGING_LOGLEVEL_HPP #define SHARE_VM_LOGGING_LOGLEVEL_HPP + +#include "memory/allocation.hpp" #include "utilities/macros.hpp" // The list of log levels: @@ -54,7 +56,7 @@ LOG_LEVEL(Warning, warning) \ LOG_LEVEL(Error, error) -class LogLevel { +class LogLevel : public AllStatic { public: enum type { Off, @@ -81,4 +83,4 @@ typedef LogLevel::type LogLevelType; -#endif +#endif // SHARE_VM_LOGGING_LOGLEVEL_HPP