harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alexei Fedotov (JIRA)" <j...@apache.org>
Subject [jira] Commented: (HARMONY-2261) [drlvm][jit][opt] java.awt.ScrollbarTest fails on Jitrino.OPT while passes on Jitrino.JET
Date Tue, 28 Nov 2006 23:29:26 GMT
    [ http://issues.apache.org/jira/browse/HARMONY-2261?page=comments#action_12454171 ] 
            
Alexei Fedotov commented on HARMONY-2261:
-----------------------------------------

IMHO, no separate regression test is needed for this issue - exisiting class library test
reproduces the problem. I believe one should create and publish an instruction how to run
class library tests with Jitrino.Opt. What do you think?

> [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: 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