harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Egor Pasko (JIRA)" <j...@apache.org>
Subject [jira] Updated: (HARMONY-2261) [drlvm][jit][opt] java.awt.ScrollbarTest fails on Jitrino.OPT while passes on Jitrino.JET
Date Tue, 12 Dec 2006 07:05:23 GMT
     [ http://issues.apache.org/jira/browse/HARMONY-2261?page=all ]

Egor Pasko updated HARMONY-2261:
--------------------------------

    Attachment: 0001-HARMONY-2261-regression-test-ver2.txt

Alexei Fedotov wrote:
> Let me summarize - you add a regression test first, then a committer continues looking
into this problem. Is it correct?

yes, you are right! here is the patch for regression test. To see how it works:
* apply HARMONY-2565 fix for regression tests infrastructure
* apply this patch (0001-HARMONY-2261-regression-test-ver2)
* edit the file build/make/targets/reg.test.run.xml commenting out failed tests (now H788,
H0000, H1694 fail for me)
* run regression tests with "./build.sh reg.test"
* see the difference when applying the fix to this test :)
* report any problems

> [drlvm][jit][opt] java.awt.ScrollbarTest fails on Jitrino.OPT while passes on Jitrino.JET
> -----------------------------------------------------------------------------------------
>
>                 Key: HARMONY-2261
>                 URL: http://issues.apache.org/jira/browse/HARMONY-2261
>             Project: Harmony
>          Issue Type: Bug
>          Components: DRLVM
>         Environment: Linux SUSE9 gcc 3.3.3 / ia32
>            Reporter: Egor Pasko
>         Assigned To: Alexey Varlamov
>         Attachments: 0001-HARMONY-2261-fix-RCE-is-aware-of-integer-overflows-comments-fixed.txt,
0001-HARMONY-2261-regression-test-ver2.txt, patch.diff, Test.java
>
>
> shell> $HARMONY -Xem:jet -Xbootclasspath/a:$classlib/depends/jars/junit_3.8.2/junit.jar:$classlib/modules/awt/bin/test:$classlib/deploy/build/test/support.jar
junit.textui.TestRunner java.awt.ScrollbarTest
> .............................
> Time: 0.266
> OK (29 tests)
> shell> $HARMONY -Xem:opt -Xbootclasspath/a:$classlib/depends/jars/junit_3.8.2/junit.jar:$classlib/modules/awt/bin/test:$classlib/deploy/build/test/support.jar
junit.textui.TestRunner java.awt.ScrollbarTest
> ..........F..F..............F...
> Time: 0.961
> There were 3 failures:
> 1) testSetMinimum(java.awt.ScrollbarTest)junit.framework.AssertionFailedError: expected:<-11>
but was:<-2147483648>
>         at java.awt.ScrollbarTest.checkScrollbar(ScrollbarTest.java:46)
>         at java.awt.ScrollbarTest.checkScrollbar(ScrollbarTest.java:66)
>         at java.awt.ScrollbarTest.testSetMinimum(ScrollbarTest.java:170)
>         at java.lang.reflect.VMReflection.invokeMethod(Native Method)
> 2) testSetMaximum(java.awt.ScrollbarTest)junit.framework.AssertionFailedError: expected:<10>
but was:<-2147483549>
>         at java.awt.ScrollbarTest.checkScrollbar(ScrollbarTest.java:47)
>         at java.awt.ScrollbarTest.checkScrollbar(ScrollbarTest.java:66)
>         at java.awt.ScrollbarTest.testSetMaximum(ScrollbarTest.java:197)
>         at java.lang.reflect.VMReflection.invokeMethod(Native Method)
> 3) testSetValues(java.awt.ScrollbarTest)junit.framework.AssertionFailedError: expected:<-201>
but was:<-2147483648>
>         at java.awt.ScrollbarTest.checkScrollbar(ScrollbarTest.java:46)
>         at java.awt.ScrollbarTest.checkScrollbar(ScrollbarTest.java:66)
>         at java.awt.ScrollbarTest.testSetValues(ScrollbarTest.java:303)
>         at java.lang.reflect.VMReflection.invokeMethod(Native Method)
> FAILURES!!!
> Tests run: 29,  Failures: 3,  Errors: 0

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message