--- a/hotspot/src/share/vm/prims/jvmtiRedefineClasses.hpp Tue Nov 23 15:01:43 2010 -0500
+++ b/hotspot/src/share/vm/prims/jvmtiRedefineClasses.hpp Tue Nov 23 13:22:55 2010 -0800
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2003, 2006, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2003, 2010, 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
@@ -22,6 +22,17 @@
*
*/
+#ifndef SHARE_VM_PRIMS_JVMTIREDEFINECLASSES_HPP
+#define SHARE_VM_PRIMS_JVMTIREDEFINECLASSES_HPP
+
+#include "jvmtifiles/jvmtiEnv.hpp"
+#include "memory/oopFactory.hpp"
+#include "memory/resourceArea.hpp"
+#include "oops/objArrayKlass.hpp"
+#include "oops/objArrayOop.hpp"
+#include "prims/jvmtiRedefineClassesTrace.hpp"
+#include "runtime/vm_operations.hpp"
+
// Introduction:
//
// The RedefineClasses() API is used to change the definition of one or
@@ -487,3 +498,5 @@
// and redefine implementation
static bool is_modifiable_class(oop klass_mirror);
};
+
+#endif // SHARE_VM_PRIMS_JVMTIREDEFINECLASSES_HPP