src/share/vm/prims/jniCheck.cpp

Print this page

        

*** 1,7 **** /* ! * Copyright (c) 2001, 2009, 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,31 **** * or visit www.oracle.com if you need additional information or have any * questions. * */ ! # include "incls/_precompiled.incl" ! # include "incls/_jniCheck.cpp.incl" // Heap objects are allowed to be directly referenced only in VM code, // not in native code. --- 20,52 ---- * or visit www.oracle.com if you need additional information or have any * questions. * */ ! #include "precompiled.hpp" ! #include "classfile/systemDictionary.hpp" ! #include "classfile/vmSymbols.hpp" ! #include "oops/instanceKlass.hpp" ! #include "oops/oop.inline.hpp" ! #include "oops/symbolOop.hpp" ! #include "prims/jni.h" ! #include "prims/jniCheck.hpp" ! #include "prims/jvm_misc.hpp" ! #include "runtime/fieldDescriptor.hpp" ! #include "runtime/handles.hpp" ! #include "runtime/interfaceSupport.hpp" ! #include "runtime/jfieldIDWorkaround.hpp" ! #include "runtime/thread.hpp" ! #ifdef TARGET_ARCH_x86 ! # include "jniTypes_x86.hpp" ! #endif ! #ifdef TARGET_ARCH_sparc ! # include "jniTypes_sparc.hpp" ! #endif ! #ifdef TARGET_ARCH_zero ! # include "jniTypes_zero.hpp" ! #endif // Heap objects are allowed to be directly referenced only in VM code, // not in native code.