-
Bug
-
Resolution: Fixed
-
P4
-
1.3.1_07
-
10
-
sparc
-
solaris_8
The licnesee found the strange behavior in 1.3.1_07.
The Object#wait( long timeout) resumes without waiting time-out.
This issue is sensitive to environment, I will mention the configration
before reproducing process.
CONFIGRATION:
- OS : Solaris 8 ( patch rev(libthread) is 108827-14 or older)
- JRE: 1.3.1_07
Note:
to use /usr/lib/lwp
REPRODUCE:
1) Compile the attached a.java in 1.3.1_07
2) Invoke "env LD_LIBRARY_PATH=/usr/lib/lwp java a 3"
Otherwise,
% setenv LD_LIBRARY_PATH /usr/lib/lwp
% java a 3
EXPECTED BEHAVIOR:
Runtime.exec 0
Process.waitFor 0
Process.destroy 0
Runtime.exec 1
Process.waitFor 1
Process.destroy 1
Runtime.exec 2
Process.waitFor 2
Process.destroy 2
ACTUAL BEHAVIOR :
Waited: 27
Runtime.exec 0
Process.waitFor 0
Process.destroy 0
Waited: 36
Runtime.exec 1
Process.waitFor 1
Process.destroy 1
Waited: 39
Runtime.exec 2
Process.waitFor 2
Process.destroy 2
NOTE:
This issue does not occur in 1.4.X.
Details, please see the commnet section.
==============================================================================
The Object#wait( long timeout) resumes without waiting time-out.
This issue is sensitive to environment, I will mention the configration
before reproducing process.
CONFIGRATION:
- OS : Solaris 8 ( patch rev(libthread) is 108827-14 or older)
- JRE: 1.3.1_07
Note:
to use /usr/lib/lwp
REPRODUCE:
1) Compile the attached a.java in 1.3.1_07
2) Invoke "env LD_LIBRARY_PATH=/usr/lib/lwp java a 3"
Otherwise,
% setenv LD_LIBRARY_PATH /usr/lib/lwp
% java a 3
EXPECTED BEHAVIOR:
Runtime.exec 0
Process.waitFor 0
Process.destroy 0
Runtime.exec 1
Process.waitFor 1
Process.destroy 1
Runtime.exec 2
Process.waitFor 2
Process.destroy 2
ACTUAL BEHAVIOR :
Waited: 27
Runtime.exec 0
Process.waitFor 0
Process.destroy 0
Waited: 36
Runtime.exec 1
Process.waitFor 1
Process.destroy 1
Waited: 39
Runtime.exec 2
Process.waitFor 2
Process.destroy 2
NOTE:
This issue does not occur in 1.4.X.
Details, please see the commnet section.
==============================================================================
- relates to
-
JDK-6691507 test hs/runtime/4860981 failed sometimes on Solaris 9
- Closed