JCK-runtime-13fcs/tests/api/java_lang/Object/desc.html#Wait_long is failing.
This test calls the method wait(long) of class Object with longs that
are larger than Integer.MAX_VALUE. The wait does not occur. Changing
the input arg to (long)Integer.MAX_VALUE allows the failing test case to pass
and changing it to Integer.MAX_VALUE+1L makes it fail again. It looks
like somebody is assigning the input argument to a 32 bit int.
Source code, log file, html are attached. There is also a script that
will compile and run the test starting with the attached source code.
The test fails on all machines with all compiler switches.
Kestrel-solaris build 18.
madhura.dudhgaonkar@eng 2000-06-07
This test calls the method wait(long) of class Object with longs that
are larger than Integer.MAX_VALUE. The wait does not occur. Changing
the input arg to (long)Integer.MAX_VALUE allows the failing test case to pass
and changing it to Integer.MAX_VALUE+1L makes it fail again. It looks
like somebody is assigning the input argument to a 32 bit int.
Source code, log file, html are attached. There is also a script that
will compile and run the test starting with the attached source code.
The test fails on all machines with all compiler switches.
Kestrel-solaris build 18.
madhura.dudhgaonkar@eng 2000-06-07
- duplicates
-
JDK-4346406 wait does not wait for notify
-
- Closed
-