Details
-
Bug
-
Status: Closed
-
Trivial
-
Resolution: Fixed
-
6.0M3
-
None
-
Ubuntu9
-
Patch Available
Description
GetOwnedMonitorInfo0101.cpp compile with gcc 4.4.1 fails with:
-compile.jvmti.lib.lnx:
[echo] File fullname: /tmp/infra/build/checkouts/vts/vm/src/test/vm/jvmti/funcs/GetOwnedMonitorInfo/GetOwnedMonitorInfo0101/GetOwnedMonitorInfo0101.cpp
[echo] File name(cpp): GetOwnedMonitorInfo0101
[exec] /tmp/infra/build/checkouts/vts/vm/src/test/vm/jvmti/funcs/GetOwnedMonitorInfo/GetOwnedMonitorInfo0101/GetOwnedMonitorInfo0101.cpp: In function "void Exception(jvmtiEnv*, JNIEnv*, _jobject*, _jmethodID*, jlocation, _jobject*, _jmethodID*, jlocation)":
[exec] /tmp/infra/build/checkouts/vts/vm/src/test/vm/jvmti/funcs/GetOwnedMonitorInfo/GetOwnedMonitorInfo0101/GetOwnedMonitorInfo0101.cpp:114: error: "strstr" was not declared in this scope
[exec] /tmp/infra/build/checkouts/vts/vm/src/test/vm/jvmti/funcs/GetOwnedMonitorInfo/GetOwnedMonitorInfo0101/GetOwnedMonitorInfo0101.cpp: In function "jint Agent_OnLoad(JavaVM*, char*, void*)":
[exec] /tmp/infra/build/checkouts/vts/vm/src/test/vm/jvmti/funcs/GetOwnedMonitorInfo/GetOwnedMonitorInfo0101/GetOwnedMonitorInfo0101.cpp:196: error: "memset" was not declared in this scope
[exec] Result: 1