Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-4344078

Kestrel sol 18: Object.wait(long) doesn't wait when arg is > 32 bit.

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: P1 P1
    • None
    • 1.3.0
    • core-libs
    • None
    • generic
    • generic

      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

            bchapman Bruce Chapman
            mdudhgaosunw Madhura Dudhgaonkar (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: