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

"Tests that choice is releasing input capture when a modal dialog is shown" on Solaris machines fail

XMLWordPrintable

    • sparc
    • solaris

      jdk: 1.5.0u15
      test: regression test suite /java/awt/Dialog/ChoiceModalDialogTest/ChoiceModalDialogTest.java
       /*
        @test @(#)ChoiceModalDialogTest.java 1.1 05/03/22
        @bug 6213128
        @summary Tests that choice is releasing input capture when a modal
                 dialog is showm
        @author ###@###.###: area=awt.Dialog
        @run main ChoiceModalDialogTest
       */
      You can find it in attachment or here: /net/vice.russia/export/home0/regression/150/j2se/test/java/awt/Dialog/ChoiceModalDialogTest/ChoiceModalDialogTest.java
       
      tested platforms:
      win: It passed on winXP, win Vista
      linux: It passed on RHEL4AS, Suse10, SLES10
      solaris: It failed on Solaris 9(x86), Solaris 10 (sun4u), Solaris 11(x86)
      It failed on 1.5.0u11 too with the same result.


      You can see jtr files for this at attachment.
      There is a part of jtr work file:
      ...
      ----------messages:(3/107)----------
      command: build ChoiceModalDialogTest
      reason: Named class compiled on demand
      elapsed time (seconds): 22.642
      result: Passed. Build successful

      #section:compile
      ----------messages:(3/246)----------
      command: compile /net/vice.russia/export/stt/newroot/regression/workspaces/150/5.0u15-b01/j2se/test/java/awt/Dialog/ChoiceModalDialogTest/ChoiceModalDialogTest.java
      reason: .class file out of date or does not exist
      elapsed time (seconds): 22.247
      ----------System.out:(0/0)----------
      ----------System.err:(0/0)----------
      result: Passed. Compilation successful

      #section:main
      ----------messages:(3/130)----------
      command: main ChoiceModalDialogTest
      reason: User specified action: run main ChoiceModalDialogTest
      elapsed time (seconds): 41.972
      ----------System.out:(0/0)----------
      ----------System.err:(15/834)----------
      java.lang.RuntimeException: Test FAILED
      at ChoiceModalDialogTest.fail(ChoiceModalDialogTest.java:251)
      at ChoiceModalDialogTest.init(ChoiceModalDialogTest.java:146)
      at ChoiceModalDialogTest.main(ChoiceModalDialogTest.java:181)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:585)
      at com.sun.javatest.regtest.MainWrapper$MainThread.run(MainWrapper.java:96)
      at java.lang.Thread.run(Thread.java:595)

      JavaTest Message: Test threw exception: java.lang.RuntimeException: Test FAILED
      JavaTest Message: shutting down test

      STATUS:Failed.`main' threw exception: java.lang.RuntimeException: Test FAILED
      result: Failed. Execution failed: `main' threw exception: java.lang.RuntimeException: Test FAILED


      test result: Failed. Execution failed: `main' threw exception: java.lang.RuntimeException: Test FAILED

            Unassigned Unassigned
            ikobzaresunw Ivan Kobzarev (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: