src/share/vm/runtime/reflectionUtils.hpp
Print this page
*** 1,7 ****
/*
! * Copyright (c) 1999, 2005, 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) 1999, 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
* under the terms of the GNU General Public License version 2 only, as
* published by the Free Software Foundation.
*** 20,29 ****
--- 20,41 ----
* or visit www.oracle.com if you need additional information or have any
* questions.
*
*/
+ #ifndef SHARE_VM_RUNTIME_REFLECTIONUTILS_HPP
+ #define SHARE_VM_RUNTIME_REFLECTIONUTILS_HPP
+
+ #include "memory/allocation.hpp"
+ #include "oops/instanceKlass.hpp"
+ #include "oops/objArrayOop.hpp"
+ #include "oops/oopsHierarchy.hpp"
+ #include "runtime/handles.inline.hpp"
+ #include "runtime/reflection.hpp"
+ #include "utilities/accessFlags.hpp"
+ #include "utilities/globalDefinitions.hpp"
+
// A KlassStream is an abstract stream for streaming over self, superclasses
// and (super)interfaces. Streaming is done in reverse order (subclasses first,
// interfaces last).
//
// for (KlassStream st(k, false, false); !st.eos(); st.next()) {
*** 207,211 ****
--- 219,225 ----
_index -= instanceKlass::next_offset;
}
}
}
};
+
+ #endif // SHARE_VM_RUNTIME_REFLECTIONUTILS_HPP