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

Test: MouseWheelEvent/InfiniteRecursion test receives more MouseWheelEvents than expected

XMLWordPrintable

    • b04
    • generic
    • generic, linux

        Testsuite name: regression; java/awt/event/MouseWheelEvent/InfiniteRecursion/InfiniteRecursion.java test
        JDK/JRE tested: build 1.6.0_21-ea-b04
        OS/architecture: Linux; reproduced also on Solaris
        Reproducible: Always
        Reproducible on machine: stt-52.russia; stt-23.russia; stt-73.russia
        Is it a Regression: Y
        Regression introduced in release/build: build 1.6.0_21-ea-b04
        Test run log location: attached; stt-52.russia, see below;
        Steps to reproduce: ssh to stt-52.russia; login stt-robot; password
        execute next commands:
        previous JDK
        [stt-robot@stt-52]$ /export/jdk/jdk1.6.0_21b03/bin/java -jar /net/vice/export/home0/regression/tools/jtest-latest/lib/jtreg.jar -testjdk:/export/jdk/jdk1.6.0_21b03 /net/vice/export/home0/regression/workspaces/160/1.6.0_21b04/j2se/test/java/awt/event/MouseWheelEvent/InfiniteRecursion/InfiniteRecursion.java
        Test results: passed: 1
        Report written to JTreport/report.html
        Results written to /net/vice/export/stt/newroot/net_homes/stt-52/JTwork

        current JDK
        [stt-robot@stt-52]$ /export/jdk/jdk1.6.0_21b04/bin/java -jar /net/vice/export/home0/regression/tools/jtest-latest/lib/jtreg.jar -testjdk:/export/jdk/jdk1.6.0_21b04 /net/vice/export/home0/regression/workspaces/160/1.6.0_21b04/j2se/test/java/awt/event/MouseWheelEvent/InfiniteRecursion/InfiniteRecursion.java
        Test results: failed: 1
        Report written to JTreport/report.html
        Results written to /net/vice/export/stt/newroot/net_homes/stt-52/JTwork
        Error: Some tests failed or other problems occurred.

        check results
        [stt-robot@stt-52]$ cat JTwork/java/awt/event/MouseWheelEvent/InfiniteRecursion/InfiniteRecursion.jtr
        ...
        Wheel moved on FRAME : java.awt.event.MouseWheelEvent[MOUSE_WHEEL,(100,109),absolute(100,134),button=0,clickCount=5,scrollType=WHEEL_UNIT_SCROLL,scrollAmount=3,wheelRotation=-1] on frame0
        The test failed: Expected events count: 5 Actual events count: 20
        The test is over, hit Ctl-C to stop Java VM
        ----------System.err:(14/883)----------
        java.lang.RuntimeException: Expected events count: 5 Actual events count: 20
                at test.java.awt.regtesthelpers.AbstractTest.fail(AbstractTest.java:60)
                at InfiniteRecursion.main(InfiniteRecursion.java:79)
                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:597)
                at com.sun.javatest.regtest.MainWrapper$MainThread.run(MainWrapper.java:96)
                at java.lang.Thread.run(Thread.java:619)

        JavaTest Message: Test threw exception: java.lang.RuntimeException: Expected events count: 5 Actual events count: 20
        JavaTest Message: shutting down test

        The same is related to the InfiniteRecursion_1 and InfiniteRecursion_2

              vikram Vikram Aroskar (Inactive)
              edrobitk Eugene Drobitko (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: