Derby
  1. Derby
  2. DERBY-4974

InterruptResilienceTest fails on Solaris with Sun VMs prior to 1.6

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 10.8.1.2
    • Fix Version/s: 10.8.1.2
    • Component/s: Test
    • Labels:
      None
    • Issue & fix info:
      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.

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

        Issue Links

          Activity

          Hide
          Dag H. Wanvik added a comment -

          Committed patch as svn 1061988, resolving.

          Show
          Dag H. Wanvik added a comment - Committed patch as svn 1061988, resolving.
          Hide
          Knut Anders Hatlen added a comment -

          [bulk update] Close all resolved issues that haven't been updated for more than one year.

          Show
          Knut Anders Hatlen added a comment - [bulk update] Close all resolved issues that haven't been updated for more than one year.

            People

            • Assignee:
              Dag H. Wanvik
              Reporter:
              Dag H. Wanvik
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development