roblem Description : headline/jvm_tests tests are failing possibily due to the C header file contains some changes, which cause the native
compilation fail
Tested_Java_Release : 1.6.0
Tested_Build : B25
Results Location : /net/cady/export5/results/mustang/b24/security/goodruns/6.0-security-Sol10AMD_c2-2005-02-23-19-32-05-0935
Operating System : Solaris Sparc 8 / SuSE 9.1
Test cases :
headline/jvm_tests/DefineClass
headline/jvm_tests/LoadClass0
headline/jvm_tests/find_class_from_class
Error messages
"/export/jdk/b25/solaris-sparc/jdk1.6.0/include/jni.h", line 120: syntax error before or at: /
"/export/jdk/b25/solaris-sparc/jdk1.6.0/include/jni.h", line 120: undefined or not a type: Return
"/export/jdk/b25/solaris-sparc/jdk1.6.0/include/jni.h", line 120: undefined or not a type: values
"/export/jdk/b25/solaris-sparc/jdk1.6.0/include/jni.h", line 120: undefined or not a type: from
"/export/jdk/b25/solaris-sparc/jdk1.6.0/include/jni.h", line 121: undefined or not a type: jobjectRefType
"/export/jdk/b25/solaris-sparc/jdk1.6.0/include/jni.h", line 121: warning: only "register" valid as formal parameter stor
age class
"/export/jdk/b25/solaris-sparc/jdk1.6.0/include/jni.h", line 121: warning: dubious enum declaration; use tag only: _jobje
ctType
"/export/jdk/b25/solaris-sparc/jdk1.6.0/include/jni.h", line 162: warning: only "register" valid as formal parameter stor
age class
"/export/jdk/b25/solaris-sparc/jdk1.6.0/include/jni.h", line 162: warning: dubious struct declaration; use tag only: <unn
amed>
"/export/jdk/b25/solaris-sparc/jdk1.6.0/include/jni.h", line 172: warning: dubious tag declaration: struct JNINativeInter
face_
"/export/jdk/b25/solaris-sparc/jdk1.6.0/include/jni.h", line 174: warning: dubious tag declaration: struct JNIEnv_
"/export/jdk/b25/solaris-sparc/jdk1.6.0/include/jni.h", line 179: warning: only "register" valid as formal parameter stor
age class
"/export/jdk/b25/solaris-sparc/jdk1.6.0/include/jni.h", line 186: warning: dubious tag declaration: struct JNIInvokeInter
face_
"/export/jdk/b25/solaris-sparc/jdk1.6.0/include/jni.h", line 188: warning: dubious tag declaration: struct JavaVM_
"/export/jdk/b25/solaris-sparc/jdk1.6.0/include/jni.h", line 193: warning: only "register" valid as formal parameter stor
age class
###@###.### 2005-03-03 01:29:00 GMT
compilation fail
Tested_Java_Release : 1.6.0
Tested_Build : B25
Results Location : /net/cady/export5/results/mustang/b24/security/goodruns/6.0-security-Sol10AMD_c2-2005-02-23-19-32-05-0935
Operating System : Solaris Sparc 8 / SuSE 9.1
Test cases :
headline/jvm_tests/DefineClass
headline/jvm_tests/LoadClass0
headline/jvm_tests/find_class_from_class
Error messages
"/export/jdk/b25/solaris-sparc/jdk1.6.0/include/jni.h", line 120: syntax error before or at: /
"/export/jdk/b25/solaris-sparc/jdk1.6.0/include/jni.h", line 120: undefined or not a type: Return
"/export/jdk/b25/solaris-sparc/jdk1.6.0/include/jni.h", line 120: undefined or not a type: values
"/export/jdk/b25/solaris-sparc/jdk1.6.0/include/jni.h", line 120: undefined or not a type: from
"/export/jdk/b25/solaris-sparc/jdk1.6.0/include/jni.h", line 121: undefined or not a type: jobjectRefType
"/export/jdk/b25/solaris-sparc/jdk1.6.0/include/jni.h", line 121: warning: only "register" valid as formal parameter stor
age class
"/export/jdk/b25/solaris-sparc/jdk1.6.0/include/jni.h", line 121: warning: dubious enum declaration; use tag only: _jobje
ctType
"/export/jdk/b25/solaris-sparc/jdk1.6.0/include/jni.h", line 162: warning: only "register" valid as formal parameter stor
age class
"/export/jdk/b25/solaris-sparc/jdk1.6.0/include/jni.h", line 162: warning: dubious struct declaration; use tag only: <unn
amed>
"/export/jdk/b25/solaris-sparc/jdk1.6.0/include/jni.h", line 172: warning: dubious tag declaration: struct JNINativeInter
face_
"/export/jdk/b25/solaris-sparc/jdk1.6.0/include/jni.h", line 174: warning: dubious tag declaration: struct JNIEnv_
"/export/jdk/b25/solaris-sparc/jdk1.6.0/include/jni.h", line 179: warning: only "register" valid as formal parameter stor
age class
"/export/jdk/b25/solaris-sparc/jdk1.6.0/include/jni.h", line 186: warning: dubious tag declaration: struct JNIInvokeInter
face_
"/export/jdk/b25/solaris-sparc/jdk1.6.0/include/jni.h", line 188: warning: dubious tag declaration: struct JavaVM_
"/export/jdk/b25/solaris-sparc/jdk1.6.0/include/jni.h", line 193: warning: only "register" valid as formal parameter stor
age class
###@###.### 2005-03-03 01:29:00 GMT
- duplicates
-
JDK-6236634 jni.h uses C++ // comments in C (also jmm.h)
-
- Resolved
-