--- old/src/share/vm/prims/jniFastGetField.hpp 2010-10-28 14:00:21.000000000 +0200 +++ new/src/share/vm/prims/jniFastGetField.hpp 2010-10-28 14:00:21.000000000 +0200 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2004, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2004, 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,12 @@ * */ +#ifndef SHARE_VM_PRIMS_JNIFASTGETFIELD_HPP +#define SHARE_VM_PRIMS_JNIFASTGETFIELD_HPP + +#include "memory/allocation.hpp" +#include "prims/jvm_misc.hpp" + // Basic logic of a fast version of jni_GetField: // // (See safepoint.hpp for a description of _safepoint_counter) @@ -92,3 +98,5 @@ // for example, for debugging purpose, in which case we need the mapping also. static address find_slowcase_pc(address pc); }; + +#endif // SHARE_VM_PRIMS_JNIFASTGETFIELD_HPP