src/share/vm/runtime/reflectionCompat.hpp

Print this page

        

*** 1,7 **** /* ! * Copyright (c) 2001, 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) 2001, 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,32 ---- * or visit www.oracle.com if you need additional information or have any * questions. * */ + #ifndef SHARE_VM_RUNTIME_REFLECTIONCOMPAT_HPP + #define SHARE_VM_RUNTIME_REFLECTIONCOMPAT_HPP + // During the development of the JDK 1.4 reflection implementation // based on dynamic bytecode generation, it was hoped that the bulk of // the native code for reflection could be removed. Unfortunately // there is currently a significant cost associated with loading the // stub classes which impacts startup time. Until this cost can be
*** 38,42 **** --- 41,47 ---- // could be dropped into earlier JDKs for comparative benchmarking.) //#ifndef PRODUCT # define SUPPORT_OLD_REFLECTION //#endif + + #endif // SHARE_VM_RUNTIME_REFLECTIONCOMPAT_HPP