This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
see http://hg.openjdk.java.net/hsx/hotspot-main/hotspot/file/tip/src/share/vm/prims/jni.cpp There are several functions using a macro JNI_ENTRY(jobject,jni_FromReflectedField(JNIEnv *env, jobject field)) to create the first part of the function definition: jobject jni_FromReflectedField(JNIEnv *env, jobject field) { In some of these functions the code model does not recognize local variables. Method parameters work properly.
some details to have hostpot ready and configured for linux x64: check out hotspot from http://hg.openjdk.java.net/jdk7/hotspot/hotspot export ALT_BOOTDIR=/opt/jdk/latest start nb from command line which has ALT_BOOTDIR create project from existing sources using localhost with default GNU toolchain specify make subfolder as containting makefile specify build command as make LP64=1 jvmg HOTSPOT_BUILD_JOBS=8 and clean as make LP64=1 clean update source folder to be hostpot instead of hotspot/make
#define FOO void foo() { FOO int i; // unresolved i }
fixed: http://hg.netbeans.org/cnd-main/rev/8302cbf4080b
I reviewed the fix and it is safe and correct
integrated into releases_elif 8302cbf4080b transplanted to f57e4c212036
verified in Build oss-platform-build-66-on-20110921
verified in patch2 (NetBeans IDE 7.0.1 (Build 201109261118))