Uploaded image for project: 'Derby'
  1. Derby
  2. DERBY-4974

InterruptResilienceTest fails on Solaris with Sun VMs prior to 1.6

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 10.8.1.2
    • 10.8.1.2
    • Test
    • None
    • Known fix

    Description

      The current test works on Solaris for Sun JDK 1.6 (and 1.7). For IBM VMs it is currently skipped, due to DERBY-4463.

      On Solaris with Sun JDK 1.4 and 1.5 it fails. For JDK 1.5 minor release 22 and higher, it can be made to work by supplying the non-interruptible IO option " -XX:-UseVMInterruptibleIO".

      Since on Solaris with Java 1.6, normal IO is still interruptible, it may be plain luck that it works there, so the test should be skipped for Solaris unless this option is used.

      On Solaris with Java 1.7, which reverses the default, and IO is not interruptible, the option is not necessary.

      Attachments

        1. derby-4974.diff
          3 kB
          Dag H. Wanvik
        2. derby-4974.stat
          0.2 kB
          Dag H. Wanvik

        Issue Links

          Activity

            People

              dagw Dag H. Wanvik
              dagw Dag H. Wanvik
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: