-
Bug
-
Resolution: Duplicate
-
P3
-
None
-
5.0u34
-
generic
-
generic
Issue was found during testing of JDK 1.5.0_34 b01_j4b.
Behavior of jvmti function GetThreadInfo doesn't corresponds to specification:
http://download.oracle.com/javase/1.5.0/docs/guide/jvmti/jvmti.html#GetThreadInfo
As it mentioned in specification, GetThreadInfo should returns information for current thread in case when NULL was passed as pointer to thread. But it returns JVMTI_ERROR_INVALID_THREAD error.
Test nsk/jvmti/GetThreadInfo/thrinfo002 failed with next error:
[2011-11-21T07:11:06.53] Error expected: JVMTI_ERROR_NONE,
[2011-11-21T07:11:11.76] got: JVMTI_ERROR_INVALID_THREAD (10)
Full log: http://vice.russia.sun.com/results/1.5.0_34/b01_j4b/vm/oel5.6-x86-32_nsk.jvmti.testlist_01/ResultDir/thrinfo002/thrinfo002.log
Test also failed with JDK 1.5.0 FCS.
Issue was not found earlier because failed test was not work as specified. It was updated during testbase backporting.
Behavior of jvmti function GetThreadInfo doesn't corresponds to specification:
http://download.oracle.com/javase/1.5.0/docs/guide/jvmti/jvmti.html#GetThreadInfo
As it mentioned in specification, GetThreadInfo should returns information for current thread in case when NULL was passed as pointer to thread. But it returns JVMTI_ERROR_INVALID_THREAD error.
Test nsk/jvmti/GetThreadInfo/thrinfo002 failed with next error:
[2011-11-21T07:11:06.53] Error expected: JVMTI_ERROR_NONE,
[2011-11-21T07:11:11.76] got: JVMTI_ERROR_INVALID_THREAD (10)
Full log: http://vice.russia.sun.com/results/1.5.0_34/b01_j4b/vm/oel5.6-x86-32_nsk.jvmti.testlist_01/ResultDir/thrinfo002/thrinfo002.log
Test also failed with JDK 1.5.0 FCS.
Issue was not found earlier because failed test was not work as specified. It was updated during testbase backporting.
- duplicates
-
JDK-6294180 JVMTI: GetThreadInfo() doesn't work if passed thread is NULL
- Resolved